Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Sort Event does not fire when EnableViewState =false for data grid

Reply
Thread Tools

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

 
 
=?Utf-8?B?VmlkZHM=?=
Guest
Posts: n/a
 
      10-09-2007
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
 
 
 
 
=?Utf-8?B?SklHTkVTSA==?=
Guest
Posts: n/a
 
      10-09-2007
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:

> 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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ImageButton event doesn't fire but Button event does suzanne.boyle@gmail.com ASP .Net 4 06-13-2007 09:19 PM
Data Grid Paging Prev button does not fire the PageIndexChanged ev Mike Lashbrook ASP .Net Web Controls 0 07-16-2004 11:50 PM
Data grid pageing with EnableViewState = False turned on Brian Henry ASP .Net 7 07-15-2004 05:39 PM
EnableViewState="False" Does not take effect? kai ASP .Net 9 04-14-2004 02:44 AM
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. Navin ASP General 1 09-09-2003 07:16 AM



Advertisments