Re: Expand and collapse detail editing

"Shawn Wildermuth (MVP)" <[email protected]> Wed, 7 Nov 2007 04:36:26 -0500
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
You might want to look at the ASP.NET AJAX Accordian Control.  It might fit
just right.

Thanks,

Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker

The Silverlight Tour is coming to a city near you!


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Brady Kelly
Sent: Wednesday, November 07, 2007 4:11 AM
To: [email protected]
Subject: [DOTNET-WEB] Expand and collapse detail editing

I have a Repeater control that hosts simple User List rows of system users.
Each row has an Edit icon, which the user clicks to open a User Details edit
page.  I have been told to remove the separate details page, and create a
detail edit section that expands or collapses on demand, without leaving the
base User List page.  How do I go about this?



My first idea is to include an edit control on the item template of the
Repeater, and simply use styling to hide the edit control until the edit
icon is clicked.  Then I set the display to a visible, and the edit control
handles all the edit functionality itself.  Is this the correct approach,
how could I improve on this, and what pitfalls await me?


===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com