|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SortCommand event does not fire when ViewState is disabledi have a custom datagrid with the viewstate turned off. i plan on caching
the datasource and handling this myself rather than using viewstate. when the viewstate is disabled my SortCommand event handler never gets fired. This is by design. you need to rehook all events on page load
-- Show quoteHide quoteRegards, Alvin Bruney [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET available at www.lulu.com/owc _________________________ "ae" <a*@discussions.microsoft.com> wrote in message news:A08C86BB-F5D6-4ABB-80C8-CD5326B7F7BF@microsoft.com... >i have a custom datagrid with the viewstate turned off. i plan on caching > the datasource and handling this myself rather than using viewstate. when > the viewstate is disabled my SortCommand event handler never gets fired. i know how to do this in c#, but i'm not sure how this is done in vb.net.
also, do you know how i'd do this from within the custom control itself? Show quoteHide quote "Alvin Bruney [ASP.NET MVP]" wrote: > This is by design. you need to rehook all events on page load > > -- > Regards, > Alvin Bruney > [Shameless Author Plug] > The Microsoft Office Web Components Black Book with .NET > available at www.lulu.com/owc > _________________________ > > > "ae" <a*@discussions.microsoft.com> wrote in message > news:A08C86BB-F5D6-4ABB-80C8-CD5326B7F7BF@microsoft.com... > >i have a custom datagrid with the viewstate turned off. i plan on caching > > the datasource and handling this myself rather than using viewstate. when > > the viewstate is disabled my SortCommand event handler never gets fired. > > > Hello,
Can anyone please forward me the code for the Custom Datagrid with ViewState disabled.I am working on something like this.I would appreciate your help.my email address is venu***@yahoo.com Thanks Show quoteHide quote > i have a custom datagrid with the viewstate turned off. i plan on caching > the datasource and handling this myself rather than using viewstate. when > the viewstate is disabled my SortCommand event handler never gets fired. User submitted from AEWNET (http://www.aewnet.com/)
Render method?
GridView column reordering Stop my window from jumping Highlight the datalist row Datalist Edit button created in ITemplate class HtmlInputFile during postback.. RequiredFieldValidator Question adding a new row to the repeater control Div tag to display/ hide a control ....please help Button click event not firing on production IIS server? |
|||||||||||||||||||||||