Link to home
Start Free TrialLog in
Avatar of JasonChandler
JasonChandler

asked on

ASP.NET Calandar with nested radio buttons

I need to replicate this in asp.net (See Link)
I am able to get radio buttons in to the day I need them in, but I cant get them to post back or do anything. Can anybody help me with this please.
 Thanks
http://www.kuoni.co.uk/holiday/africa_and_indian_ocean/maldives/velassaru_maldives/search_index.html?DPDMYD=12/07/2009&NRNTSD=7&MPLAND=RB&DPTAGD=LON&ROOMTD=067
Avatar of Geoff Bryan
Geoff Bryan
Flag of United Kingdom of Great Britain and Northern Ireland image

I assume that you have set the AutoPostBack property to True on the radio button controls.
Avatar of JasonChandler
JasonChandler

ASKER

@vbgb:
Hi,
Yes I Have done that, but to no avail.
The code I am using is like this. (Assume I want to add radio buttons to every 5th of any month)

Thanks


        If e.Day.Date.Day = 5 Then
            Dim R As New RadioButton
            With R
                .Text = "Radion Button"
                .GroupName = "RadioButtons"
                .EnableViewState = True
                .AutoPostBack = True
            End With
            e.Cell.Controls.Add(R)
        End If

Open in new window

@vbgb:
Sorry forgot to say, I am using the above code on the Day Render Event of the Calandar.
ASKER CERTIFIED SOLUTION
Avatar of Geoff Bryan
Geoff Bryan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial