RADComboBox Selected Value To RadUpload.

2 posts, 0 answers
  1. Carl
    Carl avatar
    1 posts
    Member since:
    May 2011

    Posted 06 Jun 2011 Link to this post

    How would I take the selected value from RADComboBox and pass it as a parameter to the upload handler for RADUpload? I have looked at the help section and see how to pass parameters but not from another RADControl. I need to pass pertinent information about the file(s) being uploaded and store that in our database to be used in conjunction with our document repository.

    Thanks in advance for your help.
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 09 Jun 2011 Link to this post

    Hi Carl,

    Its fine that you have found how to pass the parameters in the documentation. So the rest is easy, if the ComboBox (for instance x:named "combo") and the RadUpload are placed in one xaml page you can get the selected ComboBoxItem with
    this.combo.Selecteditem as RadComboBoxItem
    in the event handler from which you wish to pass parameters. Please feel free to ask if you find difficulties in implementing this.

    Best wishes,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top