Hello,
we`ve just updated our webapplication from NetAdvantage 2003/3 to 2007/1 in the .NET Framework 1.1 Visual Studio 2003.
We now that this version upgrade is a little bit late, but it seems to work nevertheless.
The problem is, that we change the value of some controls in the PageIndexChanged event. With the old NetAdvantage, this event was fired after the Page_Load event. Now, it is fired before.
The disadvantage is, that the control properties we want to change in the PageIndexChanged event are set back to their old values in the Page_Load.
Is there any possibility to fire PageIndexChanged after Page_Load?
Kind Regards ,
Denny
Since I couldn't find any answer and nobody answer my solution was to remove the infragistics ultrawebgrid, that worked like a charm!
I am facing the same problem but when I add the InitializeDataSource event (empty), the page load is executed first but the PageIndexChanged is not even invoke!!, do I need to add code to the InitializeDataSource? I don't want to change it's behavior, I only want the load to be executed before the PageIndexChanged
This is a little bit of a hack, but if you handle the grid's InitializeDataSource event the PageIndexChanged event will fire after Page_Load.This isn't very intuitive, but the reason the grid works like that is because in certain situations it needs to make sure that it has the rows before processing the information sent back from the postback.
You'll need to hook up the InitializeDataSource because it's not supported at design time.