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

OnCheckedChanged does not always fire

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jean-Marc
Top achievements
Rank 1
Jean-Marc asked on 22 Aug 2012, 01:18 PM
OnCheckedChanged event fires in any case but when I de-check the very last flag still on.
Is it known?
Thank you

<
telerik:GridTemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="CheckBoxSet" AutoPostBack="True"  OnCheckedChanged="RadGridScheduler_CheckChanged" runat="server" />                                                                   
 </ItemTemplate>                                                               
<HeaderStyle Width="30px" />
</telerik:GridTemplateColumn>
 
 
    Protected Sub RadGridScheduler_CheckChanged(ByVal sender As Object, ByVal e As EventArgs)
        Try
            'here
        Catch ex As Exception
            Call LogManager.WriteToErrorLog(errorPath, ClassName, System.Reflection.MethodBase.GetCurrentMethod.Name.ToString(), ex, Err)
        End Try
    End Sub

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 24 Aug 2012, 11:05 AM
Hi Jean-Marc,

I have created a sample RadGrid web site to test the described behavior. On my side everything works as expected and the last checkbox successfully fires checked server-side event like the rest of the checkboxes. Please check out the attached application and try to distinguish the crucial differences between our projects.

All the best,
Eyup
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.
mike
Top achievements
Rank 1
commented on 27 Mar 2022, 11:40 PM

nothing attached
Doncho
Telerik team
commented on 30 Mar 2022, 12:29 PM

Hi Mike,

I have attached a sample with RadGrid and CheckBox inside a TemplateColum so you can test the behavior discussed in this thread. You will need to add the Telerik.Web.UI.dll in the bin folder to be able to run the project.

Please let me know if any questions come up.

Tags
Grid
Asked by
Jean-Marc
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or