radio button always return false

  1. #1

    radio button always return false

    hello sorry for my english i use a radio button and i need change checked value to false or true in the page load method, my problem is, when i click in a button to send and save selection values in my form, radio buttons always return false this is my code

    Front-end Code:

    <ext:Button ID="btnGuardarTop" runat="server" Icon="DiskBlack" Text="Guardar" OnDirectClick="btnGuardar_Click">
        <ext:Radio ID="V1213" runat="server" BoxLabel="CON GRUPO" Name="mismo" />
        <ext:Radio ID="V1214" runat="server" BoxLabel="SIN GRUPO" Name="mismo" />

    protected void Page_Load(object sender, EventArgs e)
            if (!X.IsAjaxRequest)
                V1213.Checked = false;
        protected void btnGuardar_Click(object sender, DirectEventArgs e)
            int intVal;
            if (this.V1213.Checked)
                intVal = 1;
    Last edited by geoffrey.mcgill; Nov 17, 2010 at 9:31 PM. Reason: please use [CODE] tags

Similar Threads

  1. Radio Button
    By Vaishali in forum 1.x Help
    Replies: 4
    Last Post: Feb 07, 2012, 8:00 AM
  2. [CLOSED] Checkbox return true/false
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 04, 2011, 6:42 AM
  3. radio button always returns false
    By khadga in forum 1.x Help
    Replies: 4
    Last Post: Nov 20, 2010, 8:37 AM
  4. Radio button values always shows false
    By vs.mukesh in forum 1.x Help
    Replies: 0
    Last Post: Jul 01, 2010, 4:52 PM
  5. Replies: 2
    Last Post: Nov 11, 2008, 2:47 PM

Tags for this Thread

Posting Permissions