AJAX :: HTMLEditor Description Image Path?
May 14, 2010
How do you deal with images in the HTML Editor from the Ajax Toolkit? I didn't find a way to define the image directory or something to set a relative default path.
Since the Editor is normally in a different subdirectory than the content pages will be displayed afterwards.
Also, there is no option to include images somehow, no?
View 2 Replies
Similar Messages:
Mar 23, 2010
I need to add image tag to AjaxControlToolkit.HTMLEditor???
View 4 Replies
Feb 20, 2011
I am using SlideShowExtender and I am using a Slideservice webservice located also in root folder. It works fine. My image folder is in ROOT FOLDER. But I have member webpage folders and a general web pages folder. Now, when I click on webpages of any of these folders, the slideshowextender stops working because it looks for my IMAGE folder in those Webpage Folders. I know this happens because I can see it trying to download the image from that URL which DOESNT EXIST(looking for my image folder in webpage folders).
How do I make a relative URL for the images so that the slideshowextender still POINTS to the ROOT FOLDER of images and displays images at all times.
I cannot make the slideshowextender work when I am logged into the system.
View 4 Replies
Jan 30, 2011
<asp:FormView ID="FormView1" runat="server" DataKeyNames="productnum"
DataSourceID="EDS_Product">
<ItemTemplate>
<div class="ContentHead"><%# Eval("name") %></div><br />
<table border="0">
<tr><td style="vertical-align: top;">
<img src='images/big/<%# Eval("image") %>' border="0" alt='<%# Eval("name") %>' /></td>
<td style="vertical-align: top"><%# Eval("description") %>
<br /><br /><br /></td></tr></table>
<span class="price"><b>Your Price:</b> <%# Eval("price", "{0:c}")%><br /><span class="number"><b>Number:</b> <%# Eval("number") %>
</span><br /><a href='AddToCart.aspx?productnum=<%# Eval("productnum") %>'>
<span class="ProductListItem"><b>Add To Cart<b></font></span></a>
</ItemTemplate>
</asp:FormView
this is from the product details page and the description goes in a straight line always - i want to make the description a box and have lenght of 30 characters every line -- i want to modify the description not to be in a straight line
View 3 Replies
Jun 26, 2012
I want to display modalpopup the description using datalist, yesterday i asked same question for image ...
View 1 Replies
Sep 14, 2012
My user uploads image and Description from Control Panel now I've to show those Images and their description on my page like [URL] .....
Here is my table structure.
ImagePath
ImageDescription
I store images in one folder. Now I've to fetch Images from folder according to table and show it tabular. In 3 rows and columns.
View 1 Replies
Feb 25, 2010
I am working on a project in asp.net c#. I need to implement horizontal scrolling content slider having image title & description in the home page.
View 1 Replies
Oct 1, 2010
I know how to display an image in gridview from image path in database. Now, I want to display an image in an asp.net image control from image path in database. Can anyone point me to a tutorial? I haven't been able to find one that explains how to do it when I don't know what the image path will be. The images are in the root folder.
View 35 Replies
Feb 7, 2011
i want the following in 1 div. say <div="topdiv">: i want to display on aspx page one image and its description fetched from database. i want to provide a next button at the side of it, onclick of this the next image and descriptn must be displayed without page being refreshed. i have another div (<div="divbottom"> which displays other information..
View 1 Replies
Dec 6, 2012
I have div In my page that in this div I put image control
<div id="DLogos">
<asp:Image ID="imglogo" runat="server" CssClass="ILogos" /> </div>
according to below code
<div id="Dart1_I1" visible='<%# !string.IsNullOrEmpty(Eval("image1").ToString())%>'>
If in database was image it show div and if there wasn't any image it didn't show div but above code is for div that I put in datalistnow I want do some thing like that for Div that I don't put it in datalist I should write code for that in behindecode page but I don't know How I can do it?behind code
SqlCommand _cmd = new SqlCommand("storeinfo1", _cn);
_cmd.CommandType = CommandType.StoredProcedure;
_cmd.Parameters.AddWithValue("@behcode", data);
_cn.Open();
SqlDataReader _dr = _cmd.ExecuteReader();
while (_dr.Read())
[code]....
View 1 Replies
Jan 12, 2013
<asp:ImageField DataImageUrlField="photo" > <ItemStyle Width="50px" Height ="50px"
HorizontalAlign="Center" VerticalAlign="Middle" ></ItemStyle>
</asp:ImageField>
i need to display image from database in gridview. i have the above html and a select query executed from code behind which displays the image.
i am storing the image path in the database table and image in a folder.
Queries related to above
1. image size not able to set
2. the gridview image column will display image if the column data is not blank. but if its blank i have 2 default images male image and female image
so if the field is blank i need to display one of the default images depending on the gender selected
3. if the image is clicked it should show enlarged image as popup
View 1 Replies
Dec 3, 2010
I'm using AJAX Control Toolkit HTMLEditor.
I have a sample Microsoft Word document which has several paragraphs.
When I click the button "Paste from MS Word (with cleanup)" on the Editor, <br/> is inserted as the HTML instead of <p></p> i.e. HTML paragraphs.
I would like the MS Word paragraphs to retain their meaning and have a <p> instead of <br />.
(By the way, they are kept if I do a standard Paste, but then a lot of other obscure characters are inserted into the HTML)
View 2 Replies
Nov 22, 2015
I Have a Image Tags In My Web Application. I Upload The Image Path and stored In Database. How To Retrieve the Image Path Into Images Tags Using Database in Asp.Net..
View 1 Replies
Apr 6, 2012
How to create image slide show where image path/url comes form database, using asp .net c#..
View 1 Replies
Oct 29, 2010
I just downlaoded the Apr. 12, 2010 released version and I did not see the HTMLEditor? Where and how do I get that?
View 16 Replies
Aug 22, 2010
I'm looking into using the HTMLEditor from the toolkit. I know its open source which isn't the problem. The problem is that I don't want to have my program to be open source but would like to use the editor. The source code I'd like to be paid for where the compiled version (the dlls and aspx pages) will be free to download. Is it possible to do that?
View 1 Replies
May 4, 2010
I have a master page, aspx page, user control
I use HTMLEditor in the user control like this:
<HTMLEditor:Editor runat="server" ID="Editor" Height="300px" AutoFocus="true" Width="100%" />
in the code behind file
i use ((AjaxToolkitHtmlEditor.Editor)SettingsFormView.FindControl("Editor1")).Content. I got NULLReference Exception.
Also i use Editor editor = Page.FindControl("Editor") as Editor; still get null
my user control code is below:
<table width="100%"; style=" word-break:break-all">
<tr>
<td style="height:auto">
<HTMLEditor:Editor runat="server" ID="Editor" Height="300px" AutoFocus="true" Width="100%" />
<br />
<asp:ImageButton ID="add" runat="server" onclick="add_Click" ImageUrl="~/images/OK.gif" />
</td>
</tr>
</table>
View 1 Replies
Jan 2, 2010
I am using the Html Editor Ajax Control Toolkit for. Net 3.5 and I need as a va text being typed and reach the lateral borders of the editor for him to play next line and do not let avontade type and add a scroll horizoltal.In short without horizontal scroll
View 4 Replies
Apr 3, 2010
I know this issue has been up here before, but I could not find any answer for it.Is there anyway to add a custom button / control (dropdown or whatever) for H1, H2 tags to use with the HTMLEditor.Where can I add such funtionality? Is it possible to use some custom overriding i a separate .cs class.Please provide some example how to do this.
View 2 Replies
Aug 2, 2010
I have a databound asp.net ajax HTMLEditor. I think I must be misunderstanding the page events but basically:
The editor is databound on page_load (works fine).
I edit the contents of the control a bit.
I press my asp:button to retrieve the new content, but the content has not changed.
So:
[Code]....
Does not reflect my new value, but just gives me the old value from when the page loaded.
View 2 Replies
Feb 14, 2011
I have used two image tag in one i use relative path but in other absolute the image with absolute pat is not shown.
here is code
[code]....
View 1 Replies
Jan 19, 2010
I have a few issues with the HTMLEditor control.
First, if I type an e-mail address into the HTMLEditor control, it automatically reformats the e-mail address into a link (underlined w/ blue font). How can I disable this feature?
Second, is there a way to prevent pasting into the HTMLEditor? I successfully got Internet Explorer to throw errors when I copied & pasted the entire page, HTMLEditor and all, into the HTMLEditor control. Since the page already contained a PageRequestManager, the data I pasted into HTMLEditor contained its own code for a PageRequestManager. As a result, unsurprisingly, I got the following IE error:
Error: Sys.InvalidOperationException: The PageRequestManager cannot be initialized more than once.
Is there a way for me to prevent these strange situations from occurring?
View 4 Replies
Feb 28, 2011
I'm using HtmlEditor, could i get text which i selected in the HtmlEditor ? Does anyone have any good suggestions as to how to do this?
View 3 Replies
May 5, 2010
I've been having some real trouble with the HTMLEditor.Essentially, I would like the editor to display an entry of a SQL database, so that the user can edit the entry and update the entry.So, here is the aspx snippet:
[Code]....
This works great. The problem comes when I want to update the entry back to the database. When I press my asp:button, I use this to find out what my new value is
View 2 Replies
May 4, 2010
I tried to use the Paste from Ms word button in the tool bar of htmlEditor to paste text. The htmleditor to manage to clean up the MS tags in the html markup. However, it also removes all the font sizes, setting them all to be a default font size.
View 1 Replies