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

Postback fails if Checkboxes = true

2 Answers 63 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 08 Nov 2011, 12:18 AM
Hi

This is the markup for 2 Rad combo boxes with Checkboes enabled

<td><telerik:RadComboBox ID="ddlCustomer" Runat="server" Width="245px" EnableEmbeddedSkins="false" Skin="Activity" CheckBoxes="true" AutoPostBack="true"></telerik:RadComboBox></td>

<td><telerik:RadComboBox ID="ddlLocation" Runat="server" Width="185px" EnableEmbeddedSkins="false" Skin="Activity" CheckBoxes="true" AutoPostBack="true"></telerik:RadComboBox></td>


These checkboxes are passed back to be parameters a data class to populate a Rad Grid.
In the Radgrid I have a column

<telerik:GridTemplateColumn HeaderText="Arrival" SortExpression="LocationArrival" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" AllowFiltering="false" UniqueName="LocationArrival">

<ItemTemplate>

 

<asp:CheckBox ID="chkLocationArrival" runat="server" AutoPostBack="True" OnCheckedChanged="chkLocationArrival_CheckedChanged"/>              

</ItemTemplate>

</telerik:GridTemplateColumn>

If the Checkboxes = true is enabled the postbask fails and the chkLocationArrival_CheckedChanged never runs.

Whats going on

Andy

2 Answers, 1 is accepted

Sort by
0
Andy Green
Top achievements
Rank 2
answered on 08 Nov 2011, 09:25 AM
Hi Guys

I think I've found a bug, and I don't say this lightly.

With reference to the above problem, if you take off the Autopostback=true, it still wont postback porperly, but.... if you add the emptymessage = "Click to select" the postback works properly.
I'm using 2011.2.915.35 version of the controls
Andy
0
Dimitar Terziev
Telerik team
answered on 10 Nov 2011, 01:36 PM
Hi Andy,

Since you have opened a support ticket regarding this problem, my suggestion is to continue the discussing there.

Best wishes,
Dimitar Terziev
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 Green
Top achievements
Rank 2
Answers by
Andy Green
Top achievements
Rank 2
Dimitar Terziev
Telerik team
Share this question
or