accessing child controls of the calendar control

Discussion in 'ASP .Net Web Controls' started by danielevans@gmail.com, Apr 19, 2007.

  1. Guest

    i have a calendar control and i have added a dropdownlist control to
    each day using the OnDayRender method:


    Dim ddl As DropDownList = New DropDownList
    ddl.AutoPostBack = True
    ....
    ....
    e.Cell.Controls.Add(ddl)

    However the autopostback event is not firing, indeed no autopostback
    code is added to the rendered <select>.

    Can anyone advise how to make autopostback work and to access the
    values of each select in the postback.

    Thanks in advance

    Dan
    , Apr 19, 2007
    #1
    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. Jeff Rodriguez
    Replies:
    23
    Views:
    1,111
    David Schwartz
    Dec 9, 2003
  2. Moldy

    Accessing Properties of Custom Controls child Controls

    Moldy, Sep 4, 2003, in forum: ASP .Net Building Controls
    Replies:
    8
    Views:
    225
    Moldy
    Sep 5, 2003
  3. Replies:
    0
    Views:
    201
  4. Moldy
    Replies:
    8
    Views:
    249
    Moldy
    Sep 5, 2003
  5. Sanjay

    Child controls within Calendar control

    Sanjay, Jul 30, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    110
    Sanjay
    Jul 30, 2004
Loading...

Share This Page