Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8736647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:21:07+00:00 2026-06-13T10:21:07+00:00

I added Htmleditorextender to my webapplication but i am not able to set path

  • 0

I added Htmleditorextender to my webapplication but i am not able to set path of where on the server the image will be uploaded i dont know how to set that path and configure image uploader, now when i try to upload and add image to editor in IE-10 it stops working and freezes showing no progress in upload and in firefox it finishes uploading to 100% but image is not uploaded to debug server and not shown in editor how can i configure this image facility. please help my project is pending.

this is my code.

protected void ajaxFileUpload_OnUploadComplete(object sender,  AjaxControlToolkit.AjaxFileUploadEventArgs e)
    {
        hee.AjaxFileUpload.SaveAs(@"~\Container\temp\" + e.FileName);
        e.PostedUrl = Page.ResolveUrl(@"~\Container\temp\" + e.FileName);
    }

aspx code:

<asp:TextBox
    ID="txtComments"
    TextMode="MultiLine"
    Columns="100"
    Rows="40"
    Runat="server" />
<ajaxToolkit:HtmlEditorExtender ID="hee" OnImageUploadComplete="ajaxFileUpload_OnUploadComplete" TargetControlID="txtComments" DisplaySourceTab="true" EnableSanitization="true" Runat="server" >
    <Toolbar> 
            <ajaxToolkit:Undo />
            <ajaxToolkit:Redo />
            <ajaxToolkit:Bold />
            <ajaxToolkit:Italic />
            <ajaxToolkit:Underline />
            <ajaxToolkit:StrikeThrough />
            <ajaxToolkit:Subscript />
            <ajaxToolkit:Superscript />
            <ajaxToolkit:JustifyLeft />
            <ajaxToolkit:JustifyCenter />
            <ajaxToolkit:JustifyRight />
            <ajaxToolkit:JustifyFull />
            <ajaxToolkit:InsertOrderedList />
            <ajaxToolkit:InsertUnorderedList />
            <ajaxToolkit:CreateLink />
            <ajaxToolkit:UnLink />
            <ajaxToolkit:RemoveFormat />
            <ajaxToolkit:SelectAll />
            <ajaxToolkit:UnSelect />
            <ajaxToolkit:Delete />
            <ajaxToolkit:Cut />
            <ajaxToolkit:Copy />
            <ajaxToolkit:Paste />
            <ajaxToolkit:BackgroundColorSelector />
            <ajaxToolkit:ForeColorSelector />
            <ajaxToolkit:FontNameSelector />
            <ajaxToolkit:FontSizeSelector />
            <ajaxToolkit:Indent />
            <ajaxToolkit:Outdent />
            <ajaxToolkit:InsertHorizontalRule />
            <ajaxToolkit:HorizontalSeparator />
            <ajaxToolkit:InsertImage />
        </Toolbar>
    </ajaxToolkit:HtmlEditorExtender>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:21:08+00:00Added an answer on June 13, 2026 at 10:21 am

    It seems that you are not using the double backslash for the path:

    protected void ajaxFileUpload_OnUploadComplete(object sender,  AjaxControlToolkit.AjaxFileUploadEventArgs e)
    {
        hee.AjaxFileUpload.SaveAs(@"~\\Container\\temp\\" + e.FileName);
        e.PostedUrl = Page.ResolveUrl(@"~\\Container\\temp\\" + e.FileName);
    }
    

    I hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Added an image from android market. I would like to know how can we
I added image to the resource in Form and set it as background Image
Today I added HtmlEditorExtender to my asp.net web application everything works fine but i
I added a hoverboard on my site that flips over to reveal more text.
I added an event handler to the WebClient's DownloadProgressChanged event, but it never seems
I added a user control in my MyDashboards.aspx page; <uc:dlUC ID=dashboardListUserControl runat=server OnInit=ConfigureDashboardList />
I added this in my dbcontext. It is supposed to create the database but
I added this code to the head but when I try to post something
I added a new identity column, and I need to update it so that
i added this line.but it gives error.how to import it? import org.andengine.opengl.texture.atlas.TextureAtlas;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.