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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:02:13+00:00 2026-05-14T19:02:13+00:00

How could I keep the focus on a combobox of a cell inside a

  • 0

How could I keep the focus on a combobox of a cell inside a datagrid in edit mode; even when I drag a textbox inside a scroll viewer to drag & drop.

This is the behaviour I need: The user start to edit a cell by double clicking, and a combobox is showed, then the user could drag and drop some text (one of the texboxes inside the scroll viewer) to the combobox I mentioned.

The issue is: when I click on one those textboxes to drag & drop, I lose the focus of the datagrid, and I can’t drop it to the cell (the combobox), because I lose the edit mode (it’s not a combobox anymore, the datagrid is on query mode).

How can I achieve the behaviour I need? Please help.

Thanks.

  • 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-05-14T19:02:13+00:00Added an answer on May 14, 2026 at 7:02 pm

    I solve my issue in the following way:

    Instead of trying not to lose the focus of the cell of the datagrid that is being edited, I added the event of drag & drop to the querying mode of the grid; besides, I also found out that it makes more sense and it’s more useful, cause the user won’t have to double click the cell first (to enter the edit mode) and then drag the field. Simplifying the UI for the client.

    If somebody is interested, I used the drag & drop manager from CodePlex to implement that behaviour on my Silverlight 3.0 app:

    Silverlight Drag & Drop Manager

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

Sidebar

Related Questions

Could you suggest the best way to keep focus on a particular input field
How could I resize an image and still keep it's aspect ratio? This is
Is there a way that I could keep my application completely private, and only
How could I keep the keypad visible, or display the keypad for the next
I am a beginning programmer but I was wondering how I could keep track
could L1/L2 cache line each cache multiple copies of the main memory data word?
Could someone who is familiar with webkit please explain or point me in the
Could you let me know how can I change font size of button caption
Could you share your frequently used tricks to search the web for programming related
Could someone please explain when would I want to use delegation instead of inheritance?

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.