A
archana
Hi all,
i am having one user control. what i want is to add javascript which
will gets called on button click of user control.
but user control is not working if i add javascript in user control..
but if i add javascript in page in which i am adding user control then
that javascript is executed properly.
i tested by displaying alert message in javascript. can anyone tell
me how will i add javascript in user control.
and one more thing controls present in user control, can't be access
directly in javascript. i checked viewsource of page what i found is
for controls of user control 'ctl' get prefixed. can nyone tell me
reason behind this?
any how will i get this id of controls of user control?
please help me asap.
thanks in advance
i am having one user control. what i want is to add javascript which
will gets called on button click of user control.
but user control is not working if i add javascript in user control..
but if i add javascript in page in which i am adding user control then
that javascript is executed properly.
i tested by displaying alert message in javascript. can anyone tell
me how will i add javascript in user control.
and one more thing controls present in user control, can't be access
directly in javascript. i checked viewsource of page what i found is
for controls of user control 'ctl' get prefixed. can nyone tell me
reason behind this?
any how will i get this id of controls of user control?
please help me asap.
thanks in advance