Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0invokepopupcal and partial renderinginvokepopupcal and partial rendering
Previous
 
Next
New Post
7/10/2009 7:10 PM
 

What would be different when using the pop up calendar with partial rendering on?

I have a control that is created dynamicly and works fine with the pop up as long as partial rendering is off.  As soon as I turn it on I get a jscript error "Object Expected" when clicking on the calendar link.

 
New Post
7/10/2009 7:53 PM
 

Not 100% sure - do you invoke your PopupCal code everytime or only if the page posts back? Maybe try move it out if you have it wrapped in a IsPostBack check. What event do you invoke it in?


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/13/2009 12:01 PM
 

I call the PopupCal in a PreRender on a custom Bound control.  This works fine if partial rendering is not turned on.  If partial rendering is turned on then for some reason the script (.js file) is not registered.  The current work around I have in place is to check in the initialze phase of the bound control and add the script there.

 

If Not ClientAPI.IsClientScriptBlockRegistered(control.Page, "PopupCalendar.js") Then

ClientAPI.RegisterClientScriptBlock(control.Page,

 

 

"PopupCalendar.js", "<script src=""" & ClientAPI.ScriptPath & "PopupCalendar.js""></script>")End If 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0invokepopupcal and partial renderinginvokepopupcal and partial rendering


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out