|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Gridview controls added programmatically does not appear laterIm implementing a gridview to render some controls depending of the databound conditions, in some cases are textboxes in another cases are dropdownlists, the grid seems to be working well, in the page appears the controls and let me put or choose values in them, but when a I fire a submit button and try to iterate into the gridview rows, the controls dissappears also I check into the page source and they are gone too! (Im newbie on this control as you can see, lol) any ideas of how can i get these controls? thanks in advance KMILO environment used: Framework v.2.0 windows xp sql 2003 db ajax updatepanel KMILO napisa³(a):
Show quoteHide quote > Hello everyone, True, I have the same issue.> > Im implementing a gridview to render some controls depending of the > databound conditions, in some cases are textboxes in another cases are > dropdownlists, the grid seems to be working well, in the page appears the > controls and let me put or choose values in them, but when a I fire a submit > button and try to iterate into the gridview rows, the controls dissappears > also I check into the page source and they are gone too! (Im newbie on this > control as you can see, lol) any ideas of how can i get these controls? > > thanks in advance > > KMILO > > environment used: > Framework v.2.0 > windows xp > sql 2003 db > ajax updatepanel > > > Whats the solution ??? I Resolved this problem by doing GridViewInstance.DataBind() on every postback, but this causes that data i typed into rows dissapear. Of course data dissapears, because gridview rebinds all values to their default values which are simply empty... im creating controls dynamically in gridview using rowdatabound event... any suggestion ?
New gridview question/problem.....
Menu - Eliminate The Triangular Arror pointer thing - How to do it? Web page size html text encoding problem Problems with Flash in WebBrowser Programmatically modifying the controls in FormView's PagerTemplate Gridview only displays 3 columns of 11 column dataset Page seems to be remembering HttpSessionState dropdown SelectedIndexChanged not working on IE 3rd Party Upload Control |
|||||||||||||||||||||||