How to create a custom control

Posted by Shivamthinks under ASP.NET on 6/19/2012 | Points: 10 | Views : 1133 | Status : [Member] | Replies : 3
I want to create a custom control which is having one dropdown list and on textbox.
I don't know how to create a custom control.

Please reply.

Thanks.




Responses

Posted by: Rajkatie on: 6/20/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Kindly refer following links
http://msdn.microsoft.com/en-us/library/aa728786%28v=vs.71%29.aspx

Rajesh Patel
.Net Trainer(M.C.S.A | MCT)
Brainbench (Asp.Net 4.5 and C# 5.0)

Shivamthinks, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hitesh.Hirpara on: 6/20/2012 [Member] Starter | Points: 25

Up
0
Down
Customer control means user control
Steps
1) Add .ascx file in use solution.
2) add the code u wish to display (drop down list and textbox) events also
3)register user control in page in which u want to used that control.
4)call that control in source and code behind

Shivamthinks, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 6/22/2012 [Member] Bronze | Points: 25

Login to post response