Combobox selected index Change with validation

2 posts, 0 answers
  1. Amit
    Amit avatar
    88 posts
    Member since:
    Sep 2010

    Posted 28 Oct 2010 Link to this post

    hey everyone,

    I have a radcombobox & 3 textboxes.on page load radcombobox is visible,and first textbox is not.On combobox selected index change event of combobox,i fill other 2 text boxes for address and phoneNo.I have validated each 4 controls with required field validator,And added a validation summmary.I have added a button of new user where onClick radcombobox is invisible and textbox is visible.

    Now,if i fill values for new user that is all through 3 textBoxes i got validation error for combobox "please select an item".And if i am using combobox then my selected index change from codebehind is not fired.Validation asks for "filling address and Phone no."

    What to do?...

    Thanks
    Amit

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 02 Nov 2010 Link to this post

    Hello Amit,

    Why don't you supply one Item to the RadComboBox just in this case so that the validation works?

    Greetings,
    Simon
    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
Back to Top