combobox lose selected valeu and bound items after page postback

2 posts, 0 answers
  1. Charles
    Charles avatar
    3 posts
    Member since:
    Jul 2013

    Posted 14 Apr 2015 Link to this post


    I create a visual web part in SharePoint 2013 and use the combobox control in the web part . I bind the combobox when page load (if (!this.Page.IsPostBack)), the issue is when I select a value in the combobox and click a button(check) to filter a gird, it works well, but after a while such as 20 minuets later, when I click the button(check) again, and the page postback, but the combobox is blank and lose bound items and selected value .

    Can any body tell me how can I retain the selected value and the bound items after a postback ? By the way, it happens I open the page and leave it some times later(20-30 minuets).

    Thank you!

  2. Ivan Danchev
    Ivan Danchev avatar
    788 posts

    Posted 16 Apr 2015 Link to this post

    Hi Charles,

    1. Is it possible that the session has expired?
    2. Can you look into the java script console and see if there are any errors?
    3. You can handle the OnClientItemRequestFailed event and see if it gets fired due to an error during the items loading.
    4. If your RadComboBox is ajaxified you can remove the Ajax controls and check if this fixes the issues.

    Ivan Danchev

    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft R3 2016 release webinar banner
Back to Top