Create custom controls in asp.net, DOT NET Programming

How can we create custom controls in ASP.NET?

The User controls are created using .ASCX in ASP.NET. After that .ASCX file is created you need two things in order to that the ASCX can be used in the project:

1) Register the ASCX control in page using the <%@ Register directive. Example <%@ Register tagprefix="Accounting" Tagname="footer" Src="Footer.ascx" %>

2) Now to use the above accounting footer in page you can use the below directive.

Posted Date: 9/22/2012 3:35:08 AM | Location : United States







Related Discussions:- Create custom controls in asp.net, Assignment Help, Ask Question on Create custom controls in asp.net, Get Answer, Expert's Help, Create custom controls in asp.net Discussions

Write discussion on Create custom controls in asp.net
Your posts are moderated
Related Questions
Difference between Panel and Group Box classes? Panel & Group box both can used as container for other controls like radio buttons & check box. the difference in panel & group

What is fill factor? The 'fill factor' option describes how full SQL Server will make each index page. When there is no free space to insert a new row on the index page, the SQ


Consuming a web service with SOAP on c# .NET Project Description: I need to consume a web service with SOAP. I have xml file and some description. I need it to be done

Looking to build FIFA coins selling and buying website Project Description: I would like a website made for FIFA 14 TEAM. What this website will do is having automatically bu

Develop Outlook Add-In for all versions I need simple code for Outlook(express,2003,2007,2010,2013) Add-In with functionality to repeatedly send CC to the specified email(s), th

HWID Spoofed for Windows 7, 8 x64 Project Description: I require a simple program that will spoof my hardware id. I could be able to write the id to spoof to in the program a

What is a class? A class describes all the attributes of objects, as well as the methods that execute the behaviour of member objects. It is a comprehensive data type, which sh

Compute Average of 3 numbers - C# Program I didn't know the exact code for computing average of integer number. Can anybody suggest me the correct way for find out the average

The Performance of the viewstate varies depending on the type of server control to which it is applied. The Text Box, Label,   RadioButton,CheckBox, and HyperLink are server contro