Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Hide the toolbar of HTMLEditorExtender?

$
0
0

I tried replying here:

http://forums.asp.net/t/1979205.aspx?How+to+remove+Toolbar+Of+HtmlEditorExtender+

I am able to include a button on my page to hide it manually, however I just want it disabled permanently. Is this possible? I tried the following:

<script type="text/javascript" language="javascript">$(".ajax__html_editor_extender_buttoncontainer").hide();</script>

But this does not work. I then tried this:

<input id="Button2" type="button" value="Hide" /><script type="text/javascript" language="javascript">$("#Button2").click(function () {$(".ajax__html_editor_extender_buttoncontainer").hide();
});$("#Button2").click();</script>

and this also doesn't work, although an alert placed inside the click handler seems to work just fine. inspecting the page source i'm noticing the toolbar object in question is nowhere to be ctrl+f'd -- 

other thoughts:

-the extender is inside an updatepanel, inside a user control. (.ascx)

any thoughts?

thanks in advance :D


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>