Hello, i have a few questions.
My scenario is as follows:
I have a MasterPage with AjaxManager. The content page uses AjaxManagerProxy.
In the content page, I have a method that loads controls in a panel.
This method is OK. It loads the controls correctly and i can handle the events inside it normally. The configurations for LoadingPanels also are OK.
My question is about some behaviors I could not identify, and I don't know if there is something I'm missing with configurations or if the behavior is normal and I should handle it other way.
The thing is, the control dynamically loaded contains a RadGrid. When I press a button it loads data in this grid.
Right after that, if I refresh the page (F5) the control is loaded (because of the methods of dynamic loading) but the data on the grid is not there.
Shouldn't the data be there since the ViewState is enabled? I know there is the event NeedDataSource on the grid, I'm handling it already but maybe i'm not seeing something.
I realized something too, when pressing F5 it doesn't behaves like a postback, even after I just pressed a button that executed a postback. I mean, normally when I press a button it runs a postback and if I refresh the page it tries the same postback (prompting onthe browser if I want to repeat that) but in this case it doesn't show.
I would like some help with this. I'll try to shorten the code and post it later.
Thanks
My scenario is as follows:
I have a MasterPage with AjaxManager. The content page uses AjaxManagerProxy.
In the content page, I have a method that loads controls in a panel.
This method is OK. It loads the controls correctly and i can handle the events inside it normally. The configurations for LoadingPanels also are OK.
My question is about some behaviors I could not identify, and I don't know if there is something I'm missing with configurations or if the behavior is normal and I should handle it other way.
The thing is, the control dynamically loaded contains a RadGrid. When I press a button it loads data in this grid.
Right after that, if I refresh the page (F5) the control is loaded (because of the methods of dynamic loading) but the data on the grid is not there.
Shouldn't the data be there since the ViewState is enabled? I know there is the event NeedDataSource on the grid, I'm handling it already but maybe i'm not seeing something.
I realized something too, when pressing F5 it doesn't behaves like a postback, even after I just pressed a button that executed a postback. I mean, normally when I press a button it runs a postback and if I refresh the page it tries the same postback (prompting onthe browser if I want to repeat that) but in this case it doesn't show.
I would like some help with this. I'll try to shorten the code and post it later.
Thanks