I have a set of WebUserControls on a web page (these are defined at design time and loaded with data at run time).
The WebUserControl has a GridView in it which has a RowCommand event set (again at design time).
When I first run my web page (which has the data loaded into the UserControl's GridViews according to the user selection) and press a button in the GridView - the RowCommand does not fire.
However when I click the button for the second time, this event (RowCommand) then fires correctly.
Why does the event not work on the first run on the page?
Any advice would be appreciated.
Thanks.
Steve
The WebUserControl has a GridView in it which has a RowCommand event set (again at design time).
When I first run my web page (which has the data loaded into the UserControl's GridViews according to the user selection) and press a button in the GridView - the RowCommand does not fire.
However when I click the button for the second time, this event (RowCommand) then fires correctly.
Why does the event not work on the first run on the page?
Any advice would be appreciated.
Thanks.
Steve