I have a asp.net textbox with ajax html ajax htmleditor extender in by deafault all toolbars will come if we write tollbars tag inside htmleditor extender by using this we can show the toolbars what ever we want but i want to hide entire toolbars. please help me
Please go through the following link showing how to hide some of the buttons with wrapper of it. You can use it for hiding all or displaying some of them.
http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs
http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/htmleditorextender/htmleditorextender.aspx
Dont use the title property for
<ajaxToolkit: /> within toolbar <Toolbar>
Thankyou
Use the css or jquery
.ajax__html_editor_extender_buttoncontainer { display : none !important }
- See more at: http://www.dotnetlines.com/forum/tabid/86/forumid/6/threadid/142/scope/posts/Default.aspx
Related
Page.ClientScript.RegisterStartupScript(this.GetType(), "Alert", "JavaScript:alert('MY Message')", true);
Above code shows message box on top of the page , but I want it to the center of the page.
Alert boxes by default open at the center. Look at #Tomzan's comment, you are probably getting it at the top for just Chrome.
As far as I know it's not possible to make any modifications to that. If you want a custom alert box look into using jQuery ui. It'll allow you to put a messagebox wherever you want.
jQuery ui dialog box
The alert('message') is dialog box shown by browser, with very little to no control over its positioning.
Instead you can use jquery ui dialog to show your message. There are 'n' number of jquery plugins which are available to show the alert messages.
And of course you can control the positioning dialogs of these custom dialogs.
http://jqueryui.com/dialog/
http://needim.github.io/noty/
http://jquery-plugins.net/tag/alert-box
I am doing a design screen for my customers and i use jquery sortable portlets.
i put the html editor each column.When u write something into the editor then drag drop the portlets the editor's content is disappearing.After droping it,i change the active mode of editor to preview and design,then i see that content is there.How can i solve this problem ?
I play now a little with the jquery sortable portlets and I notice that its not just move the position of each div, but redesign the full struct of the divs on each drag-drop.
This is mean that is probably copy/paste the inside div on every moving action.
Now your editor is initialize what its show, and from the moment that the portless is move the div content to other possition, the initialize from the editor is lost.
To gain it again I suggest to reinitialize the editor after any drag-drop.
i have a image menu within my asp.net website. i want to include an easy solution for hoverover functionality. for example, menu item one would dispay 1.jpg on page load and hover1.jpg when a user hovers their mouse over the image. thanks for any support.
You can do this easily via javascript :
http://www.webdevelopersnotes.com/tutorials/javascript/javascript_image_change_functions.php3
I'm using the Ajax Control Toolkit's ModalPopupExtender. It works great but when I add a user control to the panel it is set to display, the modal popup is displayed with a black box over it.
This is how it looks like:
Is anyone familiar with the problem? Is there a workaround?
Thanks,
Shay.
Take a look at this post:
http://forums.asp.net/p/991583/1288989.aspx
Try setting drop shadow to false and then make sure your DOCTYPE is XHTML. If that doesn't fix it then definitely post your code and I'm sure somebody can figure it out.
In my flex app I have custom tooltips on buttons that hide and show based on user context.
The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should not show the tooltips.
For some reason all tooltips are showing.
Is there a way to detect if a button is not in current view, like on a un-selected tab?
If you gave us some code I could check this out, but would this work?
if(button.parent.visible) { showTip(button);}
Instead of custom coding for each button, make use your tabnavigator's creation policy is set to "auto".
Check this link for more details
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html