Home All Groups Group Topic Archive Search About

SortCommand event does not fire when ViewState is disabled

Author
30 Mar 2005 5:47 PM
ae
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.

Author
30 Mar 2005 8:26 PM
Alvin Bruney [ASP.NET MVP]
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
_________________________


Show quoteHide quote
"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.
Are all your drivers up to date? click for free checkup

Author
31 Mar 2005 3:31 PM
ae
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.
>
>
>
Author
8 Apr 2005 6:41 PM
venuprs
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/)

Bookmark and Share

Post Thread options