This is a migrated thread and some comments may be shown as answers.

Postback not allways fired (Example+Scenario included)

6 Answers 75 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 02 May 2012, 11:09 AM

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

6 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 May 2012, 12:05 PM
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.
0
Frank
Top achievements
Rank 1
answered on 03 May 2012, 11:19 AM
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
0
Helen
Telerik team
answered on 04 May 2012, 08:45 AM
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.
0
Brete
Top achievements
Rank 1
answered on 06 May 2012, 11:42 PM
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 



0
Kate
Telerik team
answered on 09 May 2012, 08:59 AM
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.
0
Frank
Top achievements
Rank 1
answered on 11 Jun 2012, 08:09 AM
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
Tags
ComboBox
Asked by
Frank
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Frank
Top achievements
Rank 1
Helen
Telerik team
Brete
Top achievements
Rank 1
Kate
Telerik team
Share this question
or