Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 25th, 2005, 11:29 AM
Registered User
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datagrid in a User control


    I have the following structure on a signle page:

|--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.

Similar Threads
Thread Thread Starter Forum Replies Last Post
User COntrol Datagrid inside datagrid rodmcleay ASP.NET 1.0 and 1.1 Professional 3 April 14th, 2007 10:11 AM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Help! Custom Server Control using User Control diehard ASP.NET 1.0 and 1.1 Professional 2 January 4th, 2006 12:33 PM
User Control for datagrid paging mike_remember ASP.NET 1.0 and 1.1 Professional 0 December 29th, 2005 08:59 AM
user control within datagrid lily611 General .NET 1 March 30th, 2005 07:53 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.