I have a master page site. On one web form I am using rad toolbar. I am using Javascript to try and create a click handler for a spell check.
I am using the <%RadToolBar1.ClientID%> to access the Rad Tool bar. However it does not seem to work. (The toolbar is NOT on the master page)
I am using the <%RadToolBar1.ClientID%> to access the Rad Tool bar. However it does not seem to work. (The toolbar is NOT on the master page)
<telerik:RadCodeBlock ID=rcb2 runat=server>
<script language=javascript>
var toolb = <%=RadToolBar1.ClientID %>;
toolb.attachEvent(
"OnClientClick","click_handler");
function
click_handler(sender, e)
{
if(sender.CommandName == "spell")
{
SpellCheck()
return false;
}
}
</script>
</telerik:RadCodeBlock>