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 8143451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:07:38+00:00 2026-06-06T13:07:38+00:00

I have a simple page. One Rich Text Box bound to a test table

  • 0

I have a simple page. One Rich Text Box bound to a test table in my database.

I have turned the EnableAutoDragDrop to true.

Everything works great, the contents of the box are saved and able to pull back up when asked for.

My issue is dropping image into the RTB. If I drag them directly from the file manager (any type of image file) then I get an Icon with the file name that shows up, not the actual image.

If I open up Word and drop the image into Word, then drag it into the RTB then the image shows just fine.

I guess I dont understand the mechanics of the process between the file manager and word and my RTB. Can anyone elighten me?

  • 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-06T13:07:40+00:00Added an answer on June 6, 2026 at 1:07 pm

    The drag event can contain multiple format types that are determined by the source of the drag event. When I drag an image (.png) from a the file system to a C# control, I get this set of available formats (note you can get these from DragEventArgs.Data.GetFormats())

    Shell IDList Array
    Shell Object Offsets
    DragImageBits
    DragContext
    InShellDragLoop
    FileDrop
    FileNameW
    FileName
    

    Now when I drag that same image on to word, and then to my C# control, I get this list of formats :

    Woozle
    Object Descriptor
    Rich Text Format
    HTML Format
    System.String
    UnicodeText
    Text
    EnhancedMetafile
    MetaFilePict
    Embed Source
    

    It is entirely up to the target control to determine how to handle the drag data, and which format(s) to use. MS Word may take the format FileNameW, which is just the path to the file dropped, and read the image. While the RichTextBox probably takes the FileNameW and gets its icon.

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

Sidebar

Related Questions

I have a simple page layout with two divs--one on top, and one on
I have an Asp .net page like this simple one http://issamsoft.com/app2/page1.aspx and I want
I have a simple ASP page with databound grid (bound to an object source).
I've been asked to create a simple calculations page that will have simple text
I have this simple ASP.NET page here: <%@ Page Language=C# AutoEventWireup=true CodeBehind=Tree.aspx.cs Inherits=CoconutTree.One %>
I have a very simple test page at http://student.cqu.edu.au/s0147794/ . It has an og:url
I have a simple rich:panel . I would like it to behave like one
I have a very simple one page website that has a input field in
I created a simple page with one button, then on the click event have
So I have simple html web page with one div with id=toFill on it.

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.