AJAX :: HTML Editor Inside Grid As Editing Option

Jul 11, 2010

Is there anyway i can place a HTML Editor inside the gridview´s edit template? I tried this on the top:

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
TagPrefix="cc1" %>

And my template field for the text (which was suppose to be with HTML):

[Code]....

I tried to place the HTML Editor inside the Gridview and it didnt work.

View 3 Replies


Similar Messages:

AJAX :: UpdatePanel Not Working When Html Editor Is Inside

Feb 2, 2011

Really the title explains it. When i have an HTML Editor (from the AJAX Control Toolkit) inside an UpdatePanel, i get the error message: "Microsoft JScript runtime error: Invalid set operation on read-only property"

I was looking online and it appears it's because the editor uses javascript - is there any workaround for this?

My markup is pretty straight forward:

<%@
Page
Title=""
Language="VB"
MasterPageFile="~/Site.master"
AutoEventWireup="false"
CodeFile="post.aspx.vb"
Inherits="post"
%>
<%@
Register
Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit"
TagPrefix="asp"
%>
<%@
Register
assembly="AjaxControlToolkit"
namespace="AjaxControlToolkit.HTMLEditor"
tagprefix="cc1"
%>
<asp:Content
ID="Content1"
ContentPlaceHolderID="HeadContent"
Runat="Server">
<link
rel="stylesheet"
href="../Styles/post.css"
/>
</asp:Content>
<asp:Content
ID="Content2"
ContentPlaceHolderID="MainContent"
Runat="Server">
<table
style="width:100%"><tr><td
valign="top"
style="text-align:left"><asp:Label
ID="forumNav"
runat="server"
Text="Label"
Font-Names="Calibri"
Font-Size="Small"
ForeColor="#333333"></asp:Label></td><td
valign="top"
style="text-align:right;"><asp:Hyperlink
ID="replyButton"
NavigateUrl="reply.aspx?postID="
runat="server"
Text="Reply"
CssClass="replyButton"></asp:HyperLink></td></tr></table>
<asp:Panel
ID="postContent"
runat="server">
</asp:Panel>
<asp:UpdatePanel
ID="ReplyPanel"
runat="server"
ChildrenAsTriggers="false"
UpdateMode="Conditional">
<ContentTemplate>
<center>
<asp:Label
ID="Label1"
runat="server"
Text=""></asp:Label>
</center>
<br
/>
<asp:Panel
ID="Panel1"
runat="server">
Reply:
<cc1:Editor
ID="Editor1"
runat="server"
/>
<center>
<asp:Button
ID="Button1"
runat="server"
Text="Post
Reply"
/>
</center>
</asp:Panel>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger
ControlID="Button1"
EventName="Click"
/>
</Triggers>
</asp:UpdatePanel>
<asp:UpdateProgress
ID="ReplyProgress"
runat="server"
AssociatedUpdatePanelID="ReplyPanel"
>
<ProgressTemplate>
<center>
<asp:Image
ID="loading"
runat="server"
ImageUrl="~/Images/ajax-loader
(1).gif"/>
Sending reply...</center>
</ProgressTemplate>
</asp:UpdateProgress>
</asp:Content>
 

View 2 Replies

AJAX :: Why CollapsiblePanelExtender Crashes Every HTML Editor Used Inside It

Mar 28, 2010

Why CollapsiblePanelExtender crashes every HTML editor used inside it

View 1 Replies

AJAX :: Embed Youtube Inside Ajax Html Editor?

Aug 20, 2010

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 ?

View 3 Replies

AJAX :: Html Editor Inside A FormView Loses The Layout (css Mistake?)

Mar 5, 2010

This is my mistake: If I put an AJAX Editor INSIDE a FormView it loses the layout (I see all the icons button disordered and the Editor without background). If I simultaneously put an Editor inside a FormView and externally in the page both works fine and I see both in the right way. I repeat: with another Editor in the page the Editor inside the FormView works fine!!

I think it may depend on the css, so I have tried to modify the "DesignPanelCssPath" and the "DocumentCssPath" of the Editor inside the FormView, but nothing has changed.

View 3 Replies

AJAX :: HTML Editor - Change The Output Generation Properties Of The HTML Editor?

Jun 22, 2010

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.

View 2 Replies

AJAX :: Display HTML Editor Created Text Outside Of The Editor?

Jan 26, 2010

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.

View 3 Replies

AJAX :: Editing Image Inside DetailsView Inside UpdatePanel?

Oct 4, 2010

I'm trying to add and edit an image which is located in a detailsview which is inside an UpdatePanel. After I read relevant topics in the forum I installed the Ajax Control Toolkit. Below is my source code. When I used it only for insert new image it worked great. The problem caused when I tried to implement it on the Edit mode, i.e. when I tried to edit the image and upload a different image. Unfortunately it didn't work as I hoped. Nothing happend and the image hasn't been changed. I also tried to change the IDs (AsyncFileUpload ID) to be the same in both places but it didn't work either.

The source code:

<asp:DetailsView ID="dvMovie" runat="server" Height="50px" Width="695px"
AutoGenerateRows="False" DataSourceID="sdsMovieById"
BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" [code].....

View 2 Replies

WebMatrix :: Rich Text Editor / Use the AjaxToolkit Html Editor or Another 3rd Party Editor?

Jul 16, 2010

I 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?

View 4 Replies

AJAX :: How To Use HTML Editor

Mar 23, 2010

I'm trying to update my web site with the HTMLEditor control for Blog posting. I really need to know what my web.config changes need to be too. I get this error:Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

[code]...

View 7 Replies

How To Get Value (non Html) From Ajax Html Editor

Jul 17, 2010

get text (non html/ not formatted) from ajax text editor in asp.net i am using vs 2008.

i am using AjaxControlToolkit.HTMLEditor

you can see same kind of at : ajax HtmlEditor

View 2 Replies

AJAX :: How To Use Editor With HTML Content

Sep 24, 2010

I have a AJAX editor and I want to put the HTML content in a database and I want to get the HTML data from the database to put in the HTML editor, in HTML mode.

So I do:

Editor1.ActiveMode = AjaxControlToolkit.HTMLEditor.ActiveModeType.Html;

View 9 Replies

AJAX :: How To Add HTML Editor At The Top Of The Page

Feb 1, 2011

I am using VB.NET and implementing AJAX HTMLEditor, I want to remove some of the unused button from the HTMLEditor. I did use the Lite HTMLEditor by adding HTMLEditor.Samples.VB in App_Code folder.And add the following at the top of the page

<%@ Register
TagPrefix="customEditors"
Namespace="AjaxControlToolkit.HTMLEditor.Samples" %>

View 3 Replies

AJAX :: Can Use HTML Editor Control

Mar 3, 2010

how to use the html editor control in ajax. i want to be able to use it to submit a written text to a database or send an email from my webpage.

View 1 Replies

AJAX :: HTML Editor In FrameWork 2.0?

Jan 26, 2010

How can I create a control that ables me to edit the text area with html commands like "bold" and etc. ???

We have it in ajax control tool kit just for 3.5 framework but for the others version like 2.0 we don't have this control...so how can I do some thing like that ?

View 3 Replies

AJAX :: HTML Editor Different Languages?

Feb 5, 2010

I use the HTML editor to capture a users post. It saves to an Access database and is displayed on our intranet. In english it works fine but we have users who post in spanish. Any special Spanish characture with accents (Such as à ) do not get stored and redisplayed properly. Once saved to the db it appears as a black diamond with a question mark in it. When it's displayed on the web page it shows just a square box. I use server.htmlencode and decode if that helps. I can switch to HTML text view and put in the escape codes, but it's not an efficient way of expecting my users to work.

View 2 Replies

AJAX :: Use The HTML Editor Control In MVC?

Apr 6, 2010

I need the client side only version of the HTML Editor (if it exsists) and if it does, can someone show me a basic example, or point me to one?

View 3 Replies

AJAX :: HTML Editor Customization?

Sep 8, 2010

to customize HTML editor. I've seen that it is possible to change the buttons, etc., but is it possible to remove the parts of the menu in it? To be precise I would like to remove font selector and color selector, but I don't know how.

View 2 Replies

AJAX :: Add Smiles To Html Editor?

May 24, 2010

I use HTML Editor Ajax. But it does't include smileys. How can I add smiles?

View 1 Replies

AJAX :: Set HTML Editor Readonly?

Feb 23, 2010

How can i set HtmlEditor ReadOnly ?

View 2 Replies

AJAX :: Can Compile A Custom Ajax HTML Editor Into A Dll

May 14, 2010

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]....

View 1 Replies

AJAX :: HTML Editor Doesn't Work In IE7.0

Jan 5, 2010

I had used HTML editor in my application but it doesnt ork in IE7.0 works fine in IE8.0 chrome,safari .

View 4 Replies

AJAX :: Html Editor Can't Take Line Break?

Apr 1, 2010

i have tried to just type carriage return and nothing else into a html editor of the toolkit , its content property has nothing.

How can i save single carriage return from the edior?

View 1 Replies

AJAX :: How To Insert Html Editor Contents Into Sql

Jun 28, 2010

This is the codes that i used for my aspx.vb page.

Imports System.Data.SqlClient

View 2 Replies

AJAX :: Html Editor - How To Customize The Toolbars

May 29, 2010

i'm trying to cut out alot of the controls in my html editors toolbar

following this post [URL] and have ran my test app, the editor doesn't change the toolbar

is there something you have to do on the page to pickup the override subs?

i'm using 40412 (.NET 4.0) ajaxtoolkit

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved