Click here to Skip to main content
12,819,248 members (31,404 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Ajax
Hi All,

I am using Web application with Ajax HTML Editor.

How to upload Image in Html Editor.

plz help


Posted 26-Dec-12 21:03pm
Updated 27-Dec-12 0:35am
AANIL DHAKAD 20-Jun-13 2:14am
I am also facing same problem with Ajax tool HTML Editor
Have any solution Please Help
mukesh_panth 20-Jun-13 7:35am
use client side script ......
<script type="text/javascript">
function addIMAGE_LOGO()
var editor = $find("Editor2");
var editPanel = editor.get_editPanel();
var designPanel = editPanel.get_activePanel();
designPanel.insertHTML('<img alt="" src="Images/Logo.jpg" style="width: 40px" />');

and use this server side code in page_load event....

btnAddImage.Attributes.Add("onclick", "addIMAGE_LOGO()");

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170308.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100