Related Combos Selected Value

4 posts, 0 answers
  1. Cush
    Cush avatar
    88 posts
    Member since:
    Apr 2010

    Posted 24 Jun 2011 Link to this post

    Hi All

    I have three related combo boxes,
    The second one of the three is load on demand where the user can type in custom text to search for records,
    They all work fine on Initial load client side,
    However when the user edits the second box and types in their desired value (the first box has loaded and has a value) it fails because it is always getting the value 0 from the first box?
    The first box is not load on demand.
    I am trying to obtain the value of the first box server side in the items requested event of the second.

    something = RadComboBox.SelectedValue

    I have tested my theory by replacing the selected value of the first combo with a static value in the code behind and everything works fine.
    All three boxes are in the edit form of a rad grid.

    Any advice would be most appriciated

    Best Regards

    Cush
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 30 Jun 2011 Link to this post

    Hi Cush,

    Try to set the MarkFirstMatch property of the first RadComboBox to true, so that the item that is loaded in the first RadComboBox can be selected and not null as it is in your case. If it does not help we will need a simple runnable project with the reproduced issue so we can see how you bind the controls and inspect what is causing the problem.  

    Regards,
    Kate
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Cush
    Cush avatar
    88 posts
    Member since:
    Apr 2010

    Posted 01 Jul 2011 Link to this post

    Hi Kate

    Thanks for getting back to me.
    I have tried you suggested solution, however it does not solve my problem!
    It is still showing the selected value as zero, I will try to put together a runnable example as soon as i can but i am a bit pressed for time at present.

    Many Thanks

    Best Regards

    Cush
  4. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 04 Jul 2011 Link to this post

    Hi Cush,

    Please take your time for setting up the project. I would suggest that you open a support ticket and send it there, since you can attach the zip file in it. We will be glad to help you when you are ready with it the project. 

    Kind regards,
    Kate
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top