I have a web page with ten webdatechooser controls that are instantiated in code. The resulting html page is horribly bloated and takes way too long to load. Is there a way to have webdatechooser controls share resources (as if you were attaching a hidden webdatechooser into a ultrawebgrid cell)?
The code I'm using to instantiate the webdatechoosers looks like this and, as I said, there's about 10 of them on the pageUsing oWDC As New Infragistics.WebUI.WebSchedule.WebDateChooser oWDC.ID = "wdcMasterStart_" & lCount oWDC.CssClass = "value" oWDC.Value = oEnrollment.dtMasterAgreementStart oCell.Controls.Add(oWDC)End Using
Wow, every link in this post is missing... Can someone pull these out of the archive???
EDIT: Taz has commented on how this no longer applies. (why it was all archived)
http://community.infragistics.com/forums/t/34303.aspx
Here is the new link:
https://es.infragistics.com/community/blogs
I'm interested in the article mentioned in this thread, but the link doesn't seem to be working anymore.
I would recommend only having one hidden calendar control and when the td receives focus, use javascript to move the hidden calendar control into the cell and then unhide it. I've used this technique before for all sorts of controls, even autocomplete extenders and drop down list boxes.
Let me see if I can get those files uploaded to that article. It should be there but might have been overloooked. Here's the js file it references