Hi Friends ,
i want to add new attribute to ajaxmanager with serverside programming , and get value of attribute with javascript .
i used this code :
add att :
get att :
this code(above) work good for other control , by example : RadCombo , Button , ... but does not work with ajaxmanager , and always i have null value in this code :
how can i fix it and get attribute of ajaxmanager with JS without problem ?
Thanks
peyman
i want to add new attribute to ajaxmanager with serverside programming , and get value of attribute with javascript .
i used this code :
add att :
RadAjaxManager1.Attributes.Add("AjaxMode", "BlackScreen"); |
get att :
if(eventArgs.get_eventTargetElement().getAttribute('AjaxMode') == 'BlackScreen') |
{ |
GrayBackGroundFadeIn(); |
} |
else |
{ |
SimpleAjaxLoaderFadeIn(); |
} |
} |
this code(above) work good for other control , by example : RadCombo , Button , ... but does not work with ajaxmanager , and always i have null value in this code :
eventArgs.get_eventTargetElement().getAttribute('AjaxMode') |
how can i fix it and get attribute of ajaxmanager with JS without problem ?
Thanks
peyman