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

Description field is missing in New Rad Combobox

3 Answers 23 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
ankool
Top achievements
Rank 1
ankool asked on 06 Nov 2008, 04:03 PM
Hi,

I am using rad combobox in several pages of my website. I have updated all of its instances in my code after getting the latest version of Rad Combobox.
But earlier i was making use of description field in the combobox:
    

        <

 

radC:RadComboBox ID="combPayment" runat="server" Description="PAYMENT_TABLE" MarkFirstMatch="true"

 

 

            AllowCustomText="False" ExpandEffect="Fade" Height="150px" NoWrap="True" Width="200px"

 

 

            TabIndex="4" >

 

        </radC:RadComboBox>

And the new version doesn't have any description field.
This field contains the name of the database table, used to fill the comboboxes.
Now i don't want to add dynamic attributes to combobox , So is there any other field that i can use or any other way ?


Thanks

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 06 Nov 2008, 04:07 PM
Hello ankool,

RadComboBox never had a Description property. I suggest you use the DataSource property to achieve your goal.

Also you can review our DataBinding example.

Sincerely yours,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
ankool
Top achievements
Rank 1
answered on 06 Nov 2008, 04:17 PM
Hi Rosi,

The previous version of RAD Combobox did have the DESCRIPTION field. I have like 100 comboboxes and all are making use of that field for about a year or so.

This field simply contains a name, don't take it wrong as a datasource name and then databinding. I just need a field, which can contain any name, excluding text, value and tootip fields.

Thanks
0
Atanas Korchev
Telerik team
answered on 06 Nov 2008, 04:57 PM
Hi ankool,

You can use a custom attribute instead:

RadComboBox1.Attributes["MyValue"] = "some_value";

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
ankool
Top achievements
Rank 1
Answers by
Rosi
Telerik team
ankool
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or