Form refresh when using RadComboBox with checkbox inside

2 posts, 0 answers
  1. johnson lim
    johnson lim avatar
    72 posts
    Member since:
    Feb 2010

    Posted 05 Jun 2012 Link to this post

    I have a RadComboBox with 5 checkbox inside.When user click on the checkbox, my program will perform some business logic checking and feedback to user.

    However the problem i face is, everytime user click on the checkbox, the whole page will refresh and all the gui need to reload again.
    Even I have set not to refresh the whole page when user click on the checkbox. Below is my code.
    <ajax:RadAjaxManager ID="RadAjaxManager1" EnableAJAX="true" runat="server">
          <ClientEvents OnRequestStart="onRequestStart" />
           <ajax:AjaxSetting AjaxControlID="chkPoCat">
                  <ajax:AjaxUpdatedControl ControlID="DdlPoCat" />                   
     <ajax:AjaxSetting AjaxControlID="DdlPoCat">
                      <ajax:AjaxUpdatedControl ControlID="DdlPoCat" />
      <ajax:RadComboBox ID="DdlPoCat" runat="server" Width="240px"  AllowCustomText="false"  EnableVirtualScrolling="true"  EnableLoadOnDemand="True" Text=" " OnClientKeyPressing="clickButton">                        
                                  <asp:CheckBox runat="server" ID="chkPoCat"  oncheckedchanged="chk_CheckedChangedPoCat" AutoPostBack="True" Text='<%#Eval("ParamDesc")%>' />

    Can anyone help? I have search online for few days but no solution on this. HELP PLEASE !!
  2. Ivana
    Ivana avatar
    657 posts

    Posted 08 Jun 2012 Link to this post

    Hello Johnson,

    Have you tired using the RadComboBox's CheckBoxes built-in feature? Using the CheckBox functionality you could still define templates while at the same time you could take advantage of the ItemChecked events on the server as well as on the client.

    I hope this will help.

    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.
Back to Top