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

[Solved] Combobox Selected default text from data

0 Answers 22 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rajkumar
Top achievements
Rank 1
Rajkumar asked on 26 Mar 2012, 12:08 PM

Sir,
 I have created a mvc razor(VS2010) page like formview.. It has controls like combobox, textbox and datepicker etc. In Combobox controls, i have default value and text.
Eg:
     @( Html.Telerik().ComboBox()
                .Name("drpAssetType")
                .Items(item =>
                {
                    item.Add().Text("").Value("");
                    item.Add().Text("Amortizing").Value("A");
                    item.Add().Text("Revolving").Value("R");
                })


I can't get the selected value while fetching the value from database. Can you please give me the solution?

Regards,
Raj..


Tags
ComboBox
Asked by
Rajkumar
Top achievements
Rank 1
Share this question
or