radio button doesn't fire even with autopostback

5 posts, 0 answers
  1. appdev
    appdev avatar
    223 posts
    Member since:
    Sep 2008

    Posted 08 Jun 2011 Link to this post

    <asp:RadioButton ID="rb_yes" runat="server" GroupName="test" Text="Yes" AutoPostBack="true" />
    <asp:RadioButton ID="rb_no" runat="server" GroupName="test" Text="No" AutoPostBack="true" />

    the above works fine and it does go into the
    checkedchanged function.

    however, when i put
    <telerik:radajaxmanager id="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline" >  
                <ClientEvents OnRequestStart="RequestStart" />
                     <telerik:AjaxSetting AjaxControlID="rb_yes">
                            <telerik:AjaxUpdatedControl ControlID="pnl_Test" LoadingPanelID="RadAjaxLoadingPanel1" />
                            <telerik:AjaxUpdatedControl ControlID="txt_imageurl" />
                            <telerik:AjaxUpdatedControl ControlID="txt_imagename" />
                            <telerik:AjaxUpdatedControl ControlID="btn_uploadImage" />

    the postback doesn't fire. any ideas?
  2. Genti
    Genti avatar
    107 posts

    Posted 09 Jun 2011 Link to this post

    Hi Duy,

    Thank you for contacting us.

    I do not know what your intention is.
    However if you want the the checkedchanged() to be called using Ajax, you should add another setting to the Ajax manager settings, allowing the radiobutton to update itself.
    <telerik:AjaxSetting AjaxControlID="rb_yes">
            <telerik:AjaxUpdatedControl ControlID="rb_yes" LoadingPanelID="RadAjaxLoadingPanel1" />

    Hope this helps.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. appdev
    appdev avatar
    223 posts
    Member since:
    Sep 2008

    Posted 24 Oct 2011 Link to this post

    this still doesn't work by the way, the radio button still doesn't postback at all
  5. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 25 Oct 2011 Link to this post

    Hi Duy,

    Can you confirm that no javascript errors are thrown on the page?
    I tried replicating the described behavior but to no avail. Check the attached sample.

    Best wishes,
    Iana Tsolova
    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
  6. Adam
    Adam avatar
    1 posts
    Member since:
    Mar 2013

    Posted 15 Mar 2013 Link to this post

    I think I have a similar situation which has been puzzling me all day...

    I have some radio buttons on an edit form (user control) and I want to make them post back on checked changed.  This works great when the form is in insert mode (clicked Add button from the grid) but not in edit mode.  I used Visual Event to inspect the radio buttons and the JavaScript to do the postback is never attached when the form is in edit mode, only insert mode,

    Any insight is appreciated!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017