Postback not allways fired (Example+Scenario included)

7 posts, 0 answers
  1. Frank
    Frank avatar
    24 posts
    Member since:
    Nov 2010

    Posted 02 May 2012 Link to this post

    Find enclosed an example website where the autopostback of a RadComboBox isn’t fired anymore after a couple of times. Most of the time it works, but when you follow this scenario it stops working:

     

    Select items 1, 2 and 3 of the first ComboBox and wait for postback

    Deselect items 2 and 3 and wait for postback

    Select items 2 and 3 again => No postback anymore

     

    Could anyone explain me why this is, if it can be solved by us, or if it is a bug ?

     

    We’re using Telerik version 2011.2.915.40

    Link to demo project:
    http://www.gildebt.nl/ComboBox.rar

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 02 May 2012 Link to this post

    Hi Frank,

    I tried to reproduce the issue in telerik version 2011, 2, 915, 35. The SelectedIndexChanged event fired as expected in the telerik version 2012, 1, 215, 35. Please try upgrading to the latest version.

    Thanks,
    Princy.
  3. Frank
    Frank avatar
    24 posts
    Member since:
    Nov 2010

    Posted 03 May 2012 Link to this post

    Thanks for your quick answer.
    I will try the latest version as soon as we have renewed our licence.

    Do you know if this has been fixed in 2011.3 1305 aswell ?

    Thanks,
    Frank
  4. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 04 May 2012 Link to this post

    Hello Frank,

    We tested your project with Telerik.Web.UI version 2011.3.1305.40 and it works fine.

    Greetings,
    Helen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Brete
    Brete avatar
    33 posts
    Member since:
    Feb 2008

    Posted 06 May 2012 Link to this post

    I had a similar problem with Postbacks and RadComboBox(s) where more than one radcombobox had check boxes were present.  To replicate the problem I needed two or more radcombobox with check boxes all set to AutoPostBack on a Ajax page.   

    First Combo with Check boxes , the AutoPostBack always worked correctly, page.IsPostBack always true when the page posted.  Second combo box without checkboxes would  post correctly when the page posted.  Third combobox with checkboxes would, the majority of the time always, set Page.IsPostBack to false and double post the page.  First with Page.IsPostBack = false then Page.IsPostBack = true.  It caused me a headache as I had the database tied to the page resetting on Page.IsPostBack = false.  It also added a page to the history, like it was posting\navigating to a new page. 
     
    I programmed around it by turning AutoPostBack to false on the third RadComboBox and manually generating a AjaxRequest in the  DropDownClosed event on the client side. 

    I tested it both with a RadAjaxpanel and a RadAjaxManager.  It is tied to the Checkboxs, if I turned off the Checkboxes within the third RadComboBox the page would also post correctly.    The version of the controls I am usings is 2012.1.411.40 



  6. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 09 May 2012 Link to this post

    Hi Brete,

    Can you please open a support ticket and attach a simple runnable project that we can test locally and help you out since the information provided is not sufficient to replicate the issue?

    All the best,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Frank
    Frank avatar
    24 posts
    Member since:
    Nov 2010

    Posted 11 Jun 2012 Link to this post

    Hi,

    We just updated our version to 2012 and I would like to confirm the issue hasn't occured anymore since that update.

    Thanks,
    Frank
Back to Top