Markus
1/15/2003 6:36:00 PM
Yall-
I'm trying to create a custom web control for a date picker. I'm wanting to
pop up the date picker via javascript as opposed to doing it on the server.
All I see for now on how to write out the control is in the Render function.
And RegisterCLientScriptBlock doens't work from within a class that's not
inheriting Page. So basically , if I write out javascript in the Render
function and the user adds more than one of this datepicker to the page, it
writes out the same javascript duplicate times.
Does anyone know how to do this or a good place to look at how to use
javascript with a custom web control?
thanks!