Hello!
I have a LinkButton inside a RadAjaxPanel that needs to change some properties when ajax postback occurs. CssClass changes but not OnClientClick and Tooltip. So originally I set the properties like this:
When someone clicks a submit button inside the RadAjaxPanel the code behind tries to change the properties like this:
Now the CssClass updates but the OnClientClick and Tooltip properties do not. Why do they not update and what can I do to make it work?
Hope you understand what I'm asking. Any help would be appreciated.
Regards,
Markus
I have a LinkButton inside a RadAjaxPanel that needs to change some properties when ajax postback occurs. CssClass changes but not OnClientClick and Tooltip. So originally I set the properties like this:
lbtButton.CssClass = "Class1" |
lbtButton.ToolTip = "First Text" |
lbtButton.OnClientClick = "DoThis" |
When someone clicks a submit button inside the RadAjaxPanel the code behind tries to change the properties like this:
lbtButton.CssClass = "Class2" |
lbtButton.ToolTip = "Second Text" |
lbtButton.OnClientClick = "DoThat" |
Now the CssClass updates but the OnClientClick and Tooltip properties do not. Why do they not update and what can I do to make it work?
Hope you understand what I'm asking. Any help would be appreciated.
Regards,
Markus