datagrid enableViewState question

M

Mortar

i would like my datagrids to be both sortable and pageable. All the
examples i have found so far use methods which require the datagrid's
enableViewState method set to true. This can be bad if the datagrid is
holding lots and lots of data.

is it possible to change the link on the datagrid header column links
somehow? I would basically like these links to call a custom
javascript function instead of doing a postback. In the javascript
function I would set a hidden text field the value of the sorting
column, then submit the form.

am i missing something? is there a better way of doing this?
 
A

Alvin Bruney [MVP - ASP.NET]

one of the MVP's (ashok - ASP.NET MVP) wrote a sortable datagrid using
strictly client side a while back. see if you have any luck googling for it.
he also made the source code available

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 
R

Robert Smith

examples i have found so far use methods which require the datagrid's
enableViewState method set to true. This can be bad if the datagrid is
holding lots and lots of data.

is it possible to change the link on the datagrid header column links
somehow? I would basically like these links to call a custom
javascript function instead of doing a postback. In the javascript


....
 
M

Mortar

was there a response in this somewhere?



examples i have found so far use methods which require the datagrid's
enableViewState method set to true. This can be bad if the datagrid is
holding lots and lots of data.

is it possible to change the link on the datagrid header column links
somehow? I would basically like these links to call a custom
javascript function instead of doing a postback. In the javascript


...



_______________________________________________________________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,096
Latest member
ThurmanCre

Latest Threads

Top