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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:31:33+00:00 2026-06-10T03:31:33+00:00

I have dialog which consist of two user controls bind to their models. I

  • 0

I have dialog which consist of two user controls bind to their models.

Dialog with user controls

I want to enable user to pick a data point on the chart control from the UserControl1.

I can get the data point on mouse down event of chart control and wan to fill the associated textbox with that value. I am unable to identify the best approach to pass that value back to the UserControl1. Also how will I identify which button has made the call to pick the data point. Note I have to do the same in an MVVM friendly manner.

  • 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-10T03:31:35+00:00Added an answer on June 10, 2026 at 3:31 am

    Its not really about UserControl, more about ViewModels. I suggest your chart Model (which I guess should be a “ViewModel”) could raise an event passing the data point as parameter.

    To identify which button has made the call, you can memorise it in your UserControl Model (again, ViewModel).

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

Sidebar

Related Questions

So I have a dialog in which the user inputs data, here it is
I have a dialog which is used to create 2 sets of data which
I have an MFC dialog in which there are two radio buttons. I have
I have a dialog application in which I want to have clickable menu items
I have a jQuery Dialog which initializes hotkeys as follows: <script type=text/javascript> $(document).bind('keydown', '<%=(i+1)%>',function
I have a Jquery Dialog box which I want to open as soon as
Suppose I have a dialog which is opened from java file . I want
I have a modal dialog which has a form. When a user clicks the
I have a jQuery dialog which loads an external php page. All is working
hello all I have a small dialog which I created dynamically, which has a

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.