Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i was create some controls in one page, These same controls needed to another one page
how to use? Please explain me?
for example 3 textbox used in default.aspx page these same controls, i want use to another one page of default11.aspx page.
Posted
Comments
Bojjaiah 24-Feb-12 1:11am    
you can make a WebUserControl.ascx it can use multiple page

example use below link
http://www.codeproject.com/Articles/16803/Embedded-UserControls-Revisited
Varun Sareen 24-Feb-12 1:16am    
user controls is the solution

Have a look on UserControl.ascx. the controls you need to use repeatedly in multiple pages, you need to create a UserControl of them and Register that new created UserControl in the pages where require to use them.

for more information on UserControls See this link
 
Share this answer
 
Comments
Tech Code Freak 24-Feb-12 1:46am    
5up!
 
Share this answer
 
Comments
Tech Code Freak 24-Feb-12 1:46am    
5up!
Varun Sareen 24-Feb-12 1:54am    
thanks
If you are trying to display the same controls with the same configuration then just try to make WebUserControl.. A simple tutorial for this exercise you can find here[^].
Go through that..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900