[CLOSED] Radio Button help
hi everybody
Does anybody have an example with a radio button because i tried it but i couldn´t find out how to use the radio button. I´ve been looking for some examples https://examples2.ext.net/ but i didn´t find any
I want to call a C# method when i click on a radio button but i couldn´t if anybody has an example i will appreciate it a lot
Thanks
RE: [CLOSED] Radio Button help
Do you mean Coolite Radio control or ASP.NET RadionButton?
RE: [CLOSED] Radio Button help
Hi heysol,
For running server-side events you have a couple options that will depend on whether you want an AjaxEvent or PostBack. For an AjaxEvent, the <Check> event will fire.
Example
Code:
<ext:Radio ID="Radio1" runat="server">
<AjaxEvents>
<Check OnEvent="Radio1_Checked" />
</AjaxEvents>
</ext:Radio>
For an old-school postback you'll want to use the OnCheckedChanged event.
Example
Code:
<ext:Radio ID="Radio1" runat="server" OnCheckedChanged="Radio1_Checked" />
Hope this helps.
RE: [CLOSED] Radio Button help
thanks man i made a mistake and i didn´t notice thanks for your help !!!