Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Adding columns dynamically to data grid
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Roger Frei, post: 2931529"] Hi! Thanks a lot for your answer. I tried your suggestion. Firstly, I put the code in the PreInit event. The problem there is that the grid is null at this time.. :-( Then I tried it with the PreLoad event. Same result as before when the code was in the Load method. :-( It has something to do with the "CreateCellTempate" method. It is only called if (isPostBack == false). It doesn't matter if I recreate the column after every potsback or not. This method is called just once! Is this somehow related with the databinding of the grid? Any ideas? :-) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Adding columns dynamically to data grid
Top