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

Unecessary ComboBox Postback

5 Answers 36 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 2
Andy asked on 15 Jun 2012, 04:10 PM
This is somewhat obscure, and perhaps the behavior is by design for some reason, but a RadComboBox with CheckBoxes and AutoPostBack enabled in addition to an EmptyMessage posts back to the server when the dropdown menu is closed and no items are checked or unchecked (i.e. the menu is opened and closed with no additional interaction).  

<telerik:RadComboBox ID="rcbItems" runat="server" CheckBoxes="true" AutoPostBack="true"
    Width="175" Height="300" EmptyMessage="Select an Item">
</telerik:RadComboBox>

Removing either the EmptyMessage or the CheckBoxes will eliminate the postback.  Can anyone explain this behavior?

5 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 18 Jun 2012, 01:45 PM
Hi Andy,

This is rather strange. I have tested the described behavior locally, but I was unable to replicate the misbehavior.  Take a look at the following video to see the result of my testing: http://screencast.com/t/gvgbVT9Xfr2w.

Could you specify the version of RadControls for ASP.NET AJAX that you use in your application? Also, if the problem can be isolated please send us a sample project illustrating the troubled behavior, via support ticket, so we will be able to troubleshoot the issues locally.

Greetings,
Ivana
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
Andy
Top achievements
Rank 2
answered on 18 Jun 2012, 01:59 PM
Hi Ivana,

I'm using 2012.2.607.35.

I've narrowed it down a bit more.  This behavior only occurs if there are no items in the combobox.  

Give it a try and let me know if you still need a sample project.
0
Accepted
Ivana
Telerik team
answered on 19 Jun 2012, 10:34 AM
Hello Andy,

Thanks for the detailed information. Yes, I was able to replicate the described behavior locally, indeed. I have noticed, however, that this happens only in .NET framework 3.5 and only with the version you have specified: 2012.2.607.35.

I have tested the same scenario with version 2012.2.619.35 where no post back is made upon drop-down list closing. Attached is the same I have been tested locally as well as the trial version of the above mentioned internal build. I encourage you to take a look at it and test it at your end.

Let me know how it goes.

Regards,
Ivana
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
Andy
Top achievements
Rank 2
answered on 19 Jun 2012, 11:17 AM
If the issue is fixed in your internal build then I presume that it will be included in the next patch or release. Thanks for checking it out for me.
0
Ivana
Telerik team
answered on 19 Jun 2012, 12:36 PM
Hello Andy,

Yes, your presumptions are correct -- the fix will be included in the next major release of RadControls for ASP.NET AJAX.

Greetings,
Ivana
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.
Tags
ComboBox
Asked by
Andy
Top achievements
Rank 2
Answers by
Ivana
Telerik team
Andy
Top achievements
Rank 2
Share this question
or