all groups > asp.net building controls > april 2007 >
You're in the

asp.net building controls

group:

User controls


User controls KK
4/6/2007 4:31:26 AM
asp.net building controls:
Hi !
I am trying to build a search control that you can see its image at the link.
The idea is the plus sign will create another line of the search tool and the minus will remove it from the page.

http://www.flickr.com/photos/42308986@N00/448212173/

Which way I should do that easily? A User Control ? or ? With the user control how will a user control create itself again?
Please help

From http://www.developmentnow.com/g/10_0_0_0_0_0/dotnet-framework-aspnet-buildingcontrols.htm

Posted via DevelopmentNow.com Groups
Re: User controls MasterGaurav (www.edujini-labs.com)
5/1/2007 9:48:35 PM
[quoted text, click to view]

Let each row be WebControl.
Use Repeater control with a custom ITemplate implementation... and then use
it as the ItemTemplate.

See http://msdn2.microsoft.com/en-us/library/0e39s2ck.aspx for a small but
decent example.


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------

AddThis Social Bookmark Button