By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 801 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

Javascript error in MultiView

P: n/a
I am not sure if anyone of you have had such experience.

I am trying to use a popup calendar control in my web application.
I've tried all kinds of 3rd-party date pickers. For example, the RJS
Popup Calendar, the DaintyDate date picker, the AjaxControlToolkit's
popup calendar, Matt Kruse's javascript popup calendar.

Normally, all of them work with no problem.

But, if I put any of them in a non-default View of a MultiView, I
always get a javascript error message like "blahblahblah is
undefined." For DaintyDate date picker, the error goes away if I hit
F5 to refresh the non-default View of the MultiView.

I suspect that this is because when a non-default View of a MultiView
is rendered visible, the Javascript source (quite a few of them are
compiled into dll ) of the popup calendar is not loaded, and thus
causing the "blahblahblah is undefined" error.

Assuming this is the case, how do we work around this problem? Should
we dynamically load the popup dll assembly when a View of a MultiView
is rendered visible?
Nov 21 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.