HighTechTalks DotNet Forums  

Sort Event does not fire when EnableViewState =false for data grid

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Sort Event does not fire when EnableViewState =false for data grid in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Vidds
 
Posts: n/a

Default Sort Event does not fire when EnableViewState =false for data grid - 10-09-2007 , 07:40 AM






Hi All,

I am not able to get the sort event when i EnableViewState =false for data
grid.
Is there any relation betwn those two.Please comment.
How can I get through this problem?

Thanks in advance.

Regards,
Vidds


Reply With Quote
  #2  
Old   
JIGNESH
 
Posts: n/a

Default RE: Sort Event does not fire when EnableViewState =false for data grid - 10-09-2007 , 08:15 AM






EnableViewState="False" is the silent killer, since most of controls
internally uses ViewState, disabling it will cause issues.

If you don't have EnableViewstate enabled you have to handle paging in code
since ASP.NET can't track the state of the current page

Regards
JIGNESH

"Vidds" wrote:

Quote:
Hi All,

I am not able to get the sort event when i EnableViewState =false for data
grid.
Is there any relation betwn those two.Please comment.
How can I get through this problem?

Thanks in advance.

Regards,
Vidds


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.