0

i have a custom control which consists of html select and html inputtext

and i want to define the events for that custom control running at server in

c# page ?

i wan to write code for that custom control click event in c# page?

can any one help me in that.

1 Answer 1

1

Here are some tutorials and articles please go through them:

Creating Composite Custom Control

Custom and User Controls (O'Reilly Programming ASP.Net)

MSDN Article: Creating Custom ASP.Net Server Control

EDIT:- Please read this thread at asp.net forums about problems with htmlselect. The OnServerChange event is described in details in this MSDN article

If possible please consider using ASP.net DropDownList.

Sign up to request clarification or add additional context in comments.

1 Comment

i have created custom composite control it's functionlity is to filter the htmlselectbox based on the characters in htmlinputbox . it works well,and when the control is applied to application ,i am not able to describe event for onserverchange event for html selectbox in c#, and i am able to fire onclick event for that control in javascript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.