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.0AJAX Updatepanel and DNN NAVAJAX Updatepanel and DNN NAV
Previous
 
Next
New Post
9/11/2008 3:46 PM
 

Hello All,

  I I built a module that includes a ASP.net AJAX Updatepanel, within my development enviroment it worked exactly as expected.  When I loaded the module into the site it was built for the updatepanel quit working.  I narrowed the problem down to the custom skin we had built for the site.  After extensive testing I finally discovered that the skin did not include a DNN:Nav control, it was simply using hard coded hyperlinked images, for "design" reasons of course.  Anyways I added a DNN:Nav control and my updatepanel worked, removed the DNN:Nav and it would quit working.

So I need to figure out what the NAV control includes that AJAX won't work without it. I've perused the source code trying to find something but haven't came across anything remotely helpful.

I would greatly appreciate any assistance anyone hear might be able to lend me.

Thanks,
Dan Clausen

 
New Post
9/11/2008 3:55 PM
 

I would imagine that you aren't registering a script manager, while the Nav object does.  Try this code:

if (DotNetNuke.Framework.AJAX.IsInstalled) DotNetNuke.Framework.AJAX.RegisterScriptManager()

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
9/11/2008 9:35 PM
 

Brian,

is it mandatory to call this function? I'm using asp:UpdatePanels successfully, not calling this function in my modules...

Does it mean the call is optional (Ajax enabled in host settings, DNN 4.8.4) or that I too must have a module loaded in my pages doing that call?

thanks,

al

 

 
New Post
9/12/2008 11:02 AM
 

That call is the only way that you can guarantee that ASP.NET AJAX functionality will be available on your page.  It works for you locally because another control on the page (the DNN Nav) is calling that.  But, since you can't guarantee that another module will call that for you, you should also call it from within any module that requires ASP.NET AJAX.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
9/12/2008 11:31 AM
 

Thanks, that was exactly what I needed.  Thanks for the help!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0AJAX Updatepanel and DNN NAVAJAX Updatepanel and DNN NAV


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