This is a migrated thread and some comments may be shown as answers.

Dropdown box and radUpload

5 Answers 85 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ronak
Top achievements
Rank 1
Ronak asked on 30 Jul 2012, 03:42 PM
Hi Telerik team i was wondering if i can use Dropdown box instead of text box as per your example in RadUpload as i want to build form where user can add/remove item and i want ot have dropdown where user can select options.

Please advise 

Thanks 
Ronak

5 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 02 Aug 2012, 07:25 AM
Hello Ronak,

I am not quite sure which example of the RadUpload you meant. In case that the sample is the Additional Fields demo, please review the following code library - it shows how to use drop down in similar context.

Regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ronak
Top achievements
Rank 1
answered on 03 Aug 2012, 12:27 PM
Thanks for code will give it try

ROnak
0
Ronak
Top achievements
Rank 1
answered on 20 Aug 2012, 08:56 PM
Thanks for working sample but in my case i have dropdown with Text and Value lets say Text = XYZ and Value=2 so using getFieldValue gives me 2 but how can i get XYZ from FileUpload.

Please advise 

Thanks 
ROnak
0
Peter Filipov
Telerik team
answered on 23 Aug 2012, 10:27 AM
Hello Ronak,

Straight to the question. It is not possible to get the text of an option. When the select element is submitted only its value is available on the server. If you want to have both you could set the value property as follow e.g. <option value="XYZ,2">XYZ</option>.

Kind regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ronak
Top achievements
Rank 1
answered on 23 Aug 2012, 11:48 AM
Thanks Peter i did figure out how to do it.i am sharing my knowledge if anyone want to achieve samething.what we end of doing is we create hidden input control along with dropdown and onchange event of dropdown we set value in hidden field and read hidden field in code behind.its working like charm.

Thanks 
Ronak
Tags
Upload (Obsolete)
Asked by
Ronak
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Ronak
Top achievements
Rank 1
Share this question
or