C
chrispragash
Hello All,
This may be a silly question to ask - but for some reason I am unable
to get this to work! I have a server control that renders a Label and a
linkbutton, and I have a Javascript (which is registered using
RegisterClientScriptBlock) which has a client function for the OnClick
of the linkButton. All i am trying to set is a value on the label when
the user clicks on the linkButton. I know the javascript onclick is
being called (tested it using an Alert call) and the script does not
throw any errors, but does not set any values of the label either. In
the javascript I set the value using IdOfLabel.value='Text' and it
dosent seem to work! Any thoughts or suggestions would be helpful.
Thanks in advance
Regards,
Chris
This may be a silly question to ask - but for some reason I am unable
to get this to work! I have a server control that renders a Label and a
linkbutton, and I have a Javascript (which is registered using
RegisterClientScriptBlock) which has a client function for the OnClick
of the linkButton. All i am trying to set is a value on the label when
the user clicks on the linkButton. I know the javascript onclick is
being called (tested it using an Alert call) and the script does not
throw any errors, but does not set any values of the label either. In
the javascript I set the value using IdOfLabel.value='Text' and it
dosent seem to work! Any thoughts or suggestions would be helpful.
Thanks in advance
Regards,
Chris