AutoPostback not working

Discussion in 'ASP .Net Web Controls' started by kclark, Apr 6, 2007.

  1. kclark

    kclark Guest

    I have a caledar control on a web page and I using DayRenderEventArgs to add
    check box controls to each day. I set the AutoPostBack on each checkbox
    control to "True". The calendar displays properly with the checkboxes but
    when I click on one of the checkboxes the AutoPostBack is not firing. When I
    viewed the souce code for the web page I realized the .Net compiler is not
    adding the AutoPostBack javascript to the check boxes. Does anyone know why
    this is happening and more importantly is their a fix or work around. Oh,
    one last thing, for formating purpose, I put the check box controls inside of
    an table within each cell.

    Thanks in advance!
     
    kclark, Apr 6, 2007
    #1
    1. Advertising

  2. kclark

    Scott M. Guest

    The problem is that the checkboxes are children of the calendar control, in
    this case, so the AutoPostBack won't work.


    "kclark" <> wrote in message
    news:...
    >I have a caledar control on a web page and I using DayRenderEventArgs to
    >add
    > check box controls to each day. I set the AutoPostBack on each checkbox
    > control to "True". The calendar displays properly with the checkboxes but
    > when I click on one of the checkboxes the AutoPostBack is not firing.
    > When I
    > viewed the souce code for the web page I realized the .Net compiler is not
    > adding the AutoPostBack javascript to the check boxes. Does anyone know
    > why
    > this is happening and more importantly is their a fix or work around. Oh,
    > one last thing, for formating purpose, I put the check box controls inside
    > of
    > an table within each cell.
    >
    > Thanks in advance!
     
    Scott M., Apr 6, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. huobazi

    Can NOt AutoPostBack for two DDL

    huobazi, Jul 2, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    507
    huobazi
    Jul 2, 2003
  2. Neo
    Replies:
    1
    Views:
    494
    avnrao
    Jun 24, 2004
  3. Ron

    Autopostback not working

    Ron, Aug 25, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    3,915
    Juan Romero
    Aug 26, 2004
  4. =?Utf-8?B?c3Jp?=
    Replies:
    5
    Views:
    4,579
    =?Utf-8?B?c3Jp?=
    Aug 23, 2005
  5. =?Utf-8?B?aW5kaWdhdG9y?=

    Dropdownlist Autopostback not working

    =?Utf-8?B?aW5kaWdhdG9y?=, Mar 16, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    8,423
Loading...

Share This Page