AJAX :: How To Display Image In Ajax Editor Control
May 6, 2010i 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 Repliesi 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 RepliesI 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.
I want to upload image through fileupload toolbox and display it in image control.
The image control should get the path from fileupload and should display the image.
I have done it with following code attached
HTML Markup-
<asp:FileUpload ID="FileUpload1" runat="server"
style="top: 256px; left: 533px; position: absolute; height: 23px; width: 217px" ForeColor="White" />
<asp:Button ID="btnset" runat="server" Font-Bold="False" Font-Names="Times New Roman" Font-Size="Medium" style="top: 309px; left: 605px; position: absolute; height: 26px; width: 81px" Text="Set Photo " />
<asp:Image ID="Image2" runat="server" style="top: 66px; left: 568px; position: absolute; height: 152px; width: 136px" BorderColor="#CCCCFF" BorderStyle="Ridge" />
VB Code-
Protected Sub btnset_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnset.Click
Image2.ImageUrl = FileUpload1.FileName
End Sub
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]...
In ajax Editor control how to delete the bottom toolbar..
where should we get the Editor.css file ?
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]....
using Editor control of ajax toolkit control is uneditable.I know its reason but do not know how to solve that.In the top of the html page we have this text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
written whenever we open a aspx page.But due to some reason i do not have to use that text, so i have deleted that.That's why my editor is uneditable.When i take those text that editor is editable.So, how that editor can be editable without taking those text ?
i added ajax editor control in my webappliaction, when enter some text in editor control and submit into database then i have to clear entered text in the editor control. what to do ?
and also i dont need top toolbar of editor control. what to do?
i am using a content editor (WYSIWYGEditor) which provide by innova studio.I wonder how can i use a ajax control validator to validate it when it is empty value in the editor.
<asp:RequiredFieldValidator ValidationGroup="vgAlbumSetting" Display="None" runat="server"
SetFocusOnError="true" ID="rfvPhotoPerRow" ControlToValidate="txtPhotoPerRow"
ErrorMessage="<b>Required Field Missing</b><br />Total photo per row is required." />[code]....
how can i use a requiredfield validator to validate when it is empty value? i dont wish to use the backend code to do validation coz it will refresh the page.
I want to know that how to dispay the all images from the folder available on ftp to the web page.
Ex :
There are 5 folder are available on FTP site. If I want to access the folder A with all images. How it it possible ? The Image should display on slider.
is there a way to add a button to the editor that allows the user either to upload his image or submit a url for it,
View 2 RepliesUpload One Image . Uploaded Image Text(Character) Display to Text Box . If I Insert ASPFORUMS Logo Image Display To Textbox  ASPFORUMS.
View 1 RepliesI have Uploaded my website where I have made a Forum/Blog...
and to insert post I have used HTML text Editor...
But I cannot understand How to insert Images in it...
I can insert it by giving url of any image in src value.
But if image is not available on nt and I want to insert it from my computer then how will i insert it.
I'm also trying to implement a custom button on the toolbar, and have it working, sort of. I took the sample code and modified it so I only insert one button, to insert an image from a list in a database. I renamed the class from the original to CustomHTMLEditor and removed a few of the properties and methods I won't be needing. All this works 99%. The control is shown in the design and in my web page and the inserting of the image all works 100%, but there is an error in the designer : Unknown server tag 'customEditors:CustomHTMLEditor'.
Because of this, I cannot reference the control in code at all and thus not get the Content when the page is posted back.
Here are my two files in the App_Code folder:
From HTMLEditor.Samples.cs:
[Code]....
From HTMLEditor.CustomButtonsAndPopups.cs
[Code]....
how i can create insert image button for my html editor?
View 2 RepliesI am using the HTML Editor with a database, which works fine. All the instructions I find show the output on the same page as the Editor - which to me doesn't make much sense... at least not for how I want to use it. I believe I need to use the Literal control, but I can't find a clear example.
If I have Editor1 on page "edit.aspx" which submits the content to database db.mdb, using fields "id" and "fldContent", how can I display the content on another page "view.aspx"?
Image Button in Datalist it ItemTemplate and Image Button Click Call Editor(Ajax)
View 1 RepliesWhen trying to use the editor control i'm getting the following error:
Value cannot be null or empty.
Parameter name: elementID
Here's my HTML:
[code]....
I'm using asp.net 4 with ajax control toolkit for version 4.
I believe the error is talking about the routing I have. Is there something special I have to do if I want to use the toolkit and custom routing?
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 RepliesI 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 RepliesI have installed VWD2010
created a new website (Build Target 3.5)
I then made a reference to the AjaxControlToolkit.dll where it created a new Bin folder and added a whole load of folders below plus the dll file apprears.I've also installed the AJAX tool bar where all the Ajax controls are available.
Then on a new page I added the Editor control which rendered the page as the following
[Code]....
[Code]....
[Code]....
I put an Ajax Control Toolkit's HTML Editor in one view page but I have no idea how to access its contents!
View 9 RepliesI want to change the default view of Html Editor in asp.net using language as vb but i don't have any idea how to do it. Can any one tell me how to do it.
View 1 RepliesI have VS2005 with AJAX control kit installed. I would like to use the AJAX HTML Editor Control, but I don't see it in the controls list How to add it to the controls list?
View 4 RepliesI want to Gets Content or Text of Editor control in client. How can me it?
View 1 Replies