We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EJRadioButton set Postback

Thread ID:

Created:

Updated:

Platform:

Replies:

131299 Jul 3,2017 07:48 PM UTC Jul 5,2017 10:32 AM UTC ASP.NET Web Forms 3
loading
Tags: RadioButton
Imre Revesz
Asked On July 4, 2017 10:46 AM UTC

Hi!C# based website, Syncfusion RadioButton control included.I have 3 EJRadioButtons and these are in an UpdatePanelI want to do like the documentation of EJRadioButton. Set Change event for radiobutton. But, when I click the radiobutton, there is no postback. Any other simple aspnet controls cause postbacks, except Syncfusion Radiobutton.How can I call Server-side function, when checked?Regards,        Imre

Shameer Ali Baig Sulaiman Ali Baig [Syncfusion]
Replied On July 4, 2017 11:13 AM UTC

Hi Imre, 
Thanks for contacting Syncfusion support. 
We have analyzed your query and tried to reproduce the reported issue in RadioButton but we are unable to reproduce the issue, as the server-side function call in post back is working properly. For your convenience, we have created a sample application based on your requirement. Please, find the sample application in attached link below and please check out the code snippet. 

RadioButton.aspx 
<div> 
                <ej:RadioButton ID="RadBtn_Male" runat="server" Text="Male" Name="Gender" Value="male" OnChange="RadBtn_Male_Change"></ej:RadioButton> 
                <br /> 
                <ej:RadioButton ID="RadBtm_female" runat="server" Text="Female" Name="Gender" Value="female"></ej:RadioButton> 
            </div> 

RadioButton.aspx.cs 
protected void RadBtn_Male_Change(object Sender, Syncfusion.JavaScript.Web.RadioButtonEventArgs e) 
    { 
        { 
            if (e.IsChecked) 
            { 
                RadBtm_female.Enabled = false; 
            } 
        } 
 
    } 

Sample: Radio Button  
Regards, 
Shameer Ali Baig S. 


Imre Revesz
Replied On July 4, 2017 06:58 PM UTC

Dear Shameer Ali Baig S.!Thanks for the sample.I haven't linked ej.web.all.min and ej.webform.min and that's why I didn't have ASPNET server-side event.Regards, Imre

Shameer Ali Baig Sulaiman Ali Baig [Syncfusion]
Replied On July 5, 2017 10:32 AM UTC

Hi Imre, 
Thanks for the update. 
We are glad to hear that the reported issue is resolved at your end. Please, let us know if you need any further assistance. We will be happy to assist you. 
Thanks, 
Shameer Ali Baig S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;