Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.buildingcontrols
How to fire a client event from a composite control
Shawn Jackson
7/3/2007 11:45:00 AM
hi,
i have a composite control that contains a textbox. I want the
programmer that uses my control to be able to write a javascript
function to handle the onchange event of the textbox.
How can I do that ?
Thank you
*** Sent via Developersdex
http://www.develop...
***
1 Answer
Sergey Poberezovskiy
7/4/2007 4:26:00 AM
0
Provide a public property OnClientTextChange as string and then in PreRender
event add this to your internal textbox' onchange attribute
"Joe Abou Jaoude" wrote:
>
>
> hi,
> i have a composite control that contains a textbox. I want the
> programmer that uses my control to be able to write a javascript
> function to handle the onchange event of the textbox.
>
> How can I do that ?
> Thank you
>
>
> *** Sent via Developersdex
http://www.develop...
***
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to fire a client event from a composite control
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password