AJAX :: Adding A Menu To Th Editor?
Feb 27, 2010Is it possible to add a dropdown to the editor with the stanard html tags of H1, 2, 3 etc and P which turns hightlighted text into those formats?
View 1 RepliesIs it possible to add a dropdown to the editor with the stanard html tags of H1, 2, 3 etc and P which turns hightlighted text into those formats?
View 1 Replieshow I could add a styles drop down to the Ajax Editor? I've created CSS styles (such as H1, H2, etc), but how can I add these as options for the user to select from the editor?
View 4 RepliesI tried something like this: It does not work.
HeaderTemplate >
<div >
<a href="#">Summary reports</a> [code]...Is there a better way to do this?
I have placed an aspx menu control on my master page with orientation as Horizontal. Below is HTML markup.
HTML Code:
<asp:Menu ID="mnuMedChem" runat="server" Orientation="Horizontal" Width="100%" OnMenuItemClick="mnuMedChem_MenuItemClick">
<DynamicHoverStyle CssClass="DynamicHover" />
<DynamicMenuItemStyle CssClass="DynamicMenuItem" />
[Code]....
I have tried populating the menus from my database by using the
Code:
mnuMedChem.Items.Add
and
Code:
mnuMedChem.FindControl(value).ChildItems.Add
The menu items and the childs are populating correctly but then the menu is not being displayed on the menu control.
I have an Editor control on my page and the user can go in use it hit save and that all works.
In another part of the page I have a simple dropdown to select a note and view it. When you push view it loads the text which was entered in via the editor control.
If the user used an order or unordered list. The text shows up but not the list part.
So if they did this:
Example
ThisAnd this
What is displaying is
Example
This
And This
Without the bullets. Same for the numbers.
I have it going to a literal control which should render the html, but it doesn't.
web-based so it can be used by users and hopefully using the class SQLSiteMapProvider which allows for saving sitemap in a SQL Database instead of XML.
View 1 RepliesI went through the documentation and looked at the asp.net/webmatrix pages but could not find a RichTextEditor.
Is there one built into WebMatrix or can I just use the AjaxToolkit Html Editor or another 3rd party editor?
i have integrated the template into the tiny using the following code
template_templates: [Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
{ title: "red", src: "Template/redyellow/Website/about.html" },
{  title: "Law", src: "Template/Law/index.html" },Â
{Â Â title: "Business", src: "Template/Blue_Business/index.html"Â Â },Â
{  title: "asubtleorange", src: "Template/asubtleorange/index.html" },Â
{  title:" 110100013",  src: "Template/110100013/index.html"  } ]
But I need it with file upload control... like the image is added with tiny editor using the following code
 if (FileUpload1.HasFile) { Â
string FileName = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);Â
FilePath = "editor_image/" + FileName;Â Â Â
FileUpload1.SaveAs(Server.MapPath(FilePath));Â
editor.Text += string.Format("<img src = '{0}' alt = '{1}'/>", FilePath, FileName);Â
}
like the above code i need to add the html/style sheet template.
I was wondering if there was an easy way to change the output generation properties of the HTML editor.
I need to change it from the current XHTML standard (spans, etc) to legacy styles; <b>, <u>, <i>, etc.
How about adding a helper that will create a simple HTML editor, like the one I am using to write this post? That would be completely awesome, and would just about make this good little tool a GREAT tool.
View 4 RepliesI am trying to add insert Anchor component to the FreeTextBox editor.Also, I see in the .net cpmponet there is a Microsoft Office Component BookmarK. How can I add it and use it.Either of the two will work for me.
View 2 RepliesHow to center the menuitems and highlight the selected menuitem in menu control in asp.net?
<asp:Menu ID="maspageMenu" runat="server" BackColor="#2D2D30" Width="100%" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="1.4em" Font-Strikeout="True" Font-Underline="True" ForeColor="#009933" Orientation="Horizontal" StaticSubMenuIndent="10px" BorderStyle="Groove">
<DynamicHoverStyle BackColor="#18624F" ForeColor="White" />
<DynamicMenuItemStyle BackColor="White" HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="White" BorderStyle="Double" />
[CODE]...
I need a help in creating a vertical oriented Menu control with dynamic url's set in there Navigate Url property.Also i need to set the menu items as enable/disable in two different modes say edit/new.
I am trying to develop menu usings the hover menu extender. I have nested menus - in other words, if some items in the drop down menu (hover) have menu items that are displayed next to it (using another hover menu extender control). I am trying to keep the original menu displayed when the sub menu is displayed, but with no luck. I have tried using animation, but that doesn't seem to work.
View 9 RepliesI have a menu control, as well as view. How to attach the view inside the menu?
[Code]....
How to map the menu item with the view?
How to do the menu item change event in javascript? I dont want to do a server side code to change the menu item. How to do the menu item change event in javascript?
I'm trying to add a text-only item to a databound menu control. So far all I'm capable of doing is adding more links, but no text. My goal is to have a leading item be part of the menu but not a link. I want it to be displayed as text...
I've tried adding items to the menu.items collection, but this adds links.
I've tried adding items to the menu.controls collection, but this doesn't get picked up at all, just ignored.
i have used ajax control toolkit masked editor extender.i want to remove "_" from masking pattern and want to replace it with space. for ex. want " - - " instead of this
<
asp:MaskedEditExtender
ID="MEETxbPhone"
TargetControlID="txbPhone"
Mask="999-999-9999"
[code]...
I wonder if there is anyway to actually add a HTML element before or/and after the actuall <a>-element thats rendered by the Menu control. For instance I whould like my out put HTML to look like
[Code]....
I need to have a siteMapeNode for a menu control to only show up during development.
The following node would be in the web.sitemap file.
[Code]....
I can either put this node in my web.sitemap file and remove it in release builds.
Or Add the node in debug builds.
Probably done in PreInit or Page_load events.
would like to ask about how can I insert a menu bar in a Web site that is created in visual studio 2010.
My toolbox seems to not have a menu tool inside.
Is there a way to drop a menu in my page like I drop a button?
In ajax Editor control how to delete the bottom toolbar..
where should we get the Editor.css file ?
When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution [URL]
My question is where do I find the DesignPanel.pre.js ?
I want to customize the ajax editor control in my Web application .I followed the following tutorial:
http://www.asp.net/ajax/tutorials/how-do-i-use-the-html-editor-control--cs
but I get the error
"the type or namespace mycontrols could not be found"...
App_Code:
[Code]....
I am trying to write a customized Ajax HTML editor control and since noone knows how to resolve the problems I am having with including my source file SimpleEditor.cs inside my asp.net web application (refer to thread: [URL] I would like to know if I can compile the custom control into a .dll file and then somehow try using that inside my project. To start with I am creating a very simple editor with very little changes. Once I get it to work then I can move forward with putting in the rest of the customization. By the way in case anyone is interested I am trying to accomplish two things with my custom editor.
1 I want to reduce the buttons to just a few basic buttons.
2. I want to add a custom button to allow the user to insert a picture.
Below is the code I have in my SimpleEditor.cs file:
[Code]....
i m working on ajax editor control, here i want to display image in ajax editor control is there any way to display image in this control ?
View 1 Replies