Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > accessing child controls of the calendar control

Reply
Thread Tools

accessing child controls of the calendar control

 
 
danielevans@gmail.com
Guest
Posts: n/a
 
      04-19-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this.Controls.Add(Control) Does Not Add Control to child collection (this.Controls.Count == 0) Chad Scharf ASP .Net 3 10-18-2007 03:53 PM
Control.Controls bug? Control's child controls missing at the run time. sinelnikov.andrei@gmail.com ASP .Net Building Controls 1 12-08-2005 06:47 AM
Control.Controls bug? Control's child controls missing at the run time. sinelnikov.andrei@gmail.com ASP .Net Web Controls 1 12-08-2005 06:46 AM
HELP! Child controls of child controls not visible to web app lisa@starways.net ASP .Net Building Controls 0 05-05-2005 09:14 PM
How do I: Main thread spawn child threads, which child processes...control those child processes? Jeff Rodriguez C Programming 23 12-09-2003 11:06 PM



Advertisments