I am looking to place a radbutton which will open a radWindow from the marker tooltip. I cannot seem to get this to work.
I am setting the tooltip from the code behind which works great except for this one thing. The radbutton will not even show up. I can use a basic HTML <a href> tag and that will show up but no server controls.
the following shows the code that I am using
TEMPLATE = TEMPLATE + "<button type=\"button\" onclick=\"function openRWdrillDown(){ alert('test test');}\" name=\"" + city + "\">View Details</button>";
//<telerik:RadButton ID=\"btnDetails\" runat=\"server\" OnClientClicked=\"openRWdrillDown\" CommandArgument=\"" + city.Replace(' ', '@') + "\" Text=\"View Details\" ButtonType=\"LinkButton\" />
mark.TooltipSettings.Content = TEMPLATE;
any guide as to how to get this to work either JavaScript or server side.
I am setting the tooltip from the code behind which works great except for this one thing. The radbutton will not even show up. I can use a basic HTML <a href> tag and that will show up but no server controls.
the following shows the code that I am using
TEMPLATE = TEMPLATE + "<button type=\"button\" onclick=\"function openRWdrillDown(){ alert('test test');}\" name=\"" + city + "\">View Details</button>";
//<telerik:RadButton ID=\"btnDetails\" runat=\"server\" OnClientClicked=\"openRWdrillDown\" CommandArgument=\"" + city.Replace(' ', '@') + "\" Text=\"View Details\" ButtonType=\"LinkButton\" />
mark.TooltipSettings.Content = TEMPLATE;
any guide as to how to get this to work either JavaScript or server side.