Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 18, 2013 09:30 PM by midnight_sun
Feb 27, 2013 03:08 PM|LINK
Ok, so I want to dynamically add a textbox and calendar extender when asked. This is a result of a specific button click within an update panel.
Private Sub CreateSingleDateControl(ByVal rItem As ReportItem, ByVal ParameterIndex As Integer, ByVal toReturn As Panel)
Dim sdate As New TextBox
Dim popup As New AjaxControlToolkit.CalendarExtender
sdate.ID = rItem.ParameterNames(ParameterIndex)
popup.TargetControlID = sdate.ID
Feb 28, 2013 02:20 AM|LINK
In this scenario, I would like to suggest you refer to the Following FAQ:
2.2 Dynamically creating controls
Mar 18, 2013 09:30 PM|LINK
Thanks for your help, I was already doing all of that.
Turns out my ID's (report parameters) had @ symbols in them. This was causing a JS exception.