Dear all,
I'm building my own control to display images. I want to link it to a slidder control. I need to attach the client side event OnClientValueChange from javascript on my control behavior. unfortunattely I do not manage to attach to the event. Nothing happen when the event is triggered. What is the real name of the event in javascript and is it an event of the RasSplitter div element?
this is the javascript code used when my imagedisplay client behavior class is initialized
Event declaration
On the client side the slidder id hteml element is
<div style="WIDTH: 200px; DISPLAY: none" id="RadSlider1" class="radslider RadSlider_Default horizontal " _events="[object Object]" control="[object Object]">
How can I find the events of this element?
Any help would be appreciated.
I'm building my own control to display images. I want to link it to a slidder control. I need to attach the client side event OnClientValueChange from javascript on my control behavior. unfortunattely I do not manage to attach to the event. Nothing happen when the event is triggered. What is the real name of the event in javascript and is it an event of the RasSplitter div element?
this is the javascript code used when my imagedisplay client behavior class is initialized
Event declaration
this
._slidder$delegates = {
onclientvaluechange: Function.createDelegate(
this, this._onSlidderChange)
}
Event initialization
if
(this._slidderId) {
this._slidder = $get(this._slidderId);
// Attach change handler to parent
Sys.Debug.
assert(this._slidder != null, 'Slidder Control cannot be found');
if (this._slidder) {
$addHandlers(
this._slidder, this._slidder$delegates, this);
}
}
Event handler_onSlidderChange:
function(sender, eventArgs) {
alert(
'test');
},
Everything happens fine but the event "onclientvaluechange" of my slidder defined by the slidder id is never triggered....On the client side the slidder id hteml element is
<div style="WIDTH: 200px; DISPLAY: none" id="RadSlider1" class="radslider RadSlider_Default horizontal " _events="[object Object]" control="[object Object]">
How can I find the events of this element?
Any help would be appreciated.