November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
boy I wish you could edit posts.. "...CommandArgument will be empty when the event is fired..."
Hi there,
I have created a dynamic content control that displays a list of items. I am trying to enable paging but I am not having any luck.
The issue seems to be that each time the page is loaded the dynamic content control is just re-rendered from scratch.
For example, when I initially load the control I set the CommandArgument for the "Next" button to "2". When I click the "Next" button, though, the "GetControl" method will spit out a brand new user control and the CommandArgument will enpty when the event fired.
Also, on an even stranger note, if I disable one of these paging linkbuttons it is still enabled when the form loads. I am baffled as to why I can bind a datagrid but not disable a linkbutton.
Is it possible to have a dynamic content control respond to postbacks? Am I completely missing something?
I'm happy to post any code if it would be helpful. I am using a User Control to render the content.
Thanks