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
Take a look at the following community article. It give you an alternative to keep the html size smaller:
https://ko.infragistics.com/community/blogs
I already found the article
and it looked very interesting but I was unable to find the ig_dropCalendar.js script referenced by the article so it was a dead-end for me.
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.
I'm interested in the article mentioned in this thread, but the link doesn't seem to be working anymore.
Here is the new link:
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