I want to create a User Control,that contains two textboxes & button.Can anybody tell me how to create user control with events??

goto Project --> add New Item -->add web user control

We can create events and accessing toolbox same as normal .aspx page.

Hey frnds, I want to create a user control - textbox that accepts only numbers. I want to ask that can we use JS in userControl. If yes,then show me the example.

I have one more confusion,as suppose i want to create textbox that acceps numbers-It is user Control or Custom Control.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.