Description field is missing in New Rad Combobox

4 posts, 0 answers
  1. ankool
    ankool avatar
    50 posts
    Member since:
    Apr 2007

    Posted 06 Nov 2008 Link to this post

    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

  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 06 Nov 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ankool
    ankool avatar
    50 posts
    Member since:
    Apr 2007

    Posted 06 Nov 2008 Link to this post

    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
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 06 Nov 2008 Link to this post

    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.
Back to Top