.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Implement a Web User Control in Web form using 2 steps

Posted By:Prasanti Prusty       Posted Date: December 20, 2009    Points: 10    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

We can implement a Web User Control in form using 2 steps.

Step 1 : Add a "<%@ Register %>" tag in your aspx page.

<%@ Register TagPrefix="UC" TagName="UserControl" src="~/WebUserControl.ascx" %>

Step 2 : Write the following code on Body part .


At the time of execution it'll include the page deatils as well as Web User Control Codes also.


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend