Datagrid in a User control

A

anonymous

Hello,

I have the following structure on a signle page:

DG1
|--Nested NDG1 (in a usercontrol)
|--Nested NDG2 (in another usercontrol)

Now I am trying to sort the first nested datagrid (NDG1),
but the viewstate is somehow not maintained, though the
viewstate is enabled for the main dg (DG1) and the for
nested dg (NDG1). The sortexpression is stored in the
Viewstate. Each time when I sort and do a response.write
on the viewstate then it shows me the same sort
expression. Any Idea why the viewstate is not maintained
here and how I can get this working?

Any help or suggestion is very very appreciated.
 

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,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top