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.0how to integrate asp.net ajax 1.0 UpdatePanel  with dnn?how to integrate asp.net ajax 1.0 UpdatePanel with dnn?
Previous
 
Next
New Post
10/25/2006 9:06 AM
 
I try to use asp.net ajax 1.0 UpdatePanel  in vs web project,it success:

<asp:ScriptManager ID="ScriptManagerDetail"  runat="server" EnablePartialRendering="true">
</asp:ScriptManager>
<asp:UpdatePanel  ID="UpdatePanelDetail" runat="server" UpdateMode="Conditional">
        
        <ContentTemplate>
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
          
            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Button" />
 
        </ContentTemplate>
        
</asp:UpdatePanel>
but if i put the code into dotnetnuke custom module,the UpdatePanel doesnt work.
I know DNN has Client API's Callback,but i think its difficult.How to use integrate asp.net ajax 1.0 UpdatePanel  with dnn?
Please guide me,thanks
 
New Post
10/25/2006 3:23 PM
 

Make sure your module project has a reference to ajax and its local copy property is set to False.  Then make sure the ajax dll is in the site's bin directory (not the module's bin dir).  That should do it.  BTW, this method also works for the Telerik R.A.D.Ajax Framework.

 

 
New Post
10/25/2006 11:20 PM
 
hello,professorcw1,thanks your help.but failed.
I developed dnn module using dotnetnuke starter kit,so  i dont have module project,and ignore tproject has a reference to ajax and its local copy property is set to False.Just copied the ajax dll is in the site's bin directory.

This is ReleaseNotes.txt of ASP.NET 2.0 AJAX Extensions

  The ASP.NET AJAX assembly DLL has changed from Microsoft.Web.Atlas.dll to
  Microsoft.Web.Extensions.dll. This assembly is now strong-name signed and
  is installed in the GAC during installation. It is no longer necessary or
  supported to include the Microsoft.Web.Atlas.dll assembly in a Web project's
  local Bin folder.

I will appreciate if give me sample code about how to use updatepanel in DNN,thanks
 
New Post
10/27/2006 1:14 AM
 

OK.  A few things for you to check.  First, make sure your environment is setup properly.

In the /bin directory you should have AtlasControlToolkit.dll, AjaxExtensionsToolbox.dll, Microsoft.Web.Extensions.dll (technically for Update Panel you only need Microsoft.Web.Extensions but you might as well setup it all up at once)

From the Atlas downloads, copy the ScriptLibrary folder to the root of your site.  This should contain Release and Debug folders and have six files each (MicrosoftAjax.js, MicrosoftAjaxRuntime.js, MicrosoftAjaxWebForms.js, PreviewDragDrop.js, PreviewGlitz.js, PreviewScript.js) 

Lastly, your web.config should enable the Atlas Framework (as if you had created an Atlas Website).

Items in RED should be added or updated.

     <section name="profiles" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
   </sectionGroup>

   <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
     <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
   </sectionGroup>
</configSections>
<microsoft.web>
   <converters>
     <add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
     <add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
     <add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
   </converters>
</microsoft.web>
<connectionStrings>

 

<httpHandlers>
   <!-- This is for FTB 3.0 support -->
   <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />

   <!-- This is for Atlas Support -->
   <add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false" />

 

     <add namespace="DotNetNuke.Entities.Tabs" />
   </namespaces>
   <controls>
     <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="Atlas"/>
     <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="Atlas"/>
     <add namespace="AtlasControlToolkit" assembly="AtlasControlToolkit" tagPrefix="Atlas"/>
   </controls>

</pages>
<xhtmlConformance mode="Transitional" />

 

Here's a working example of an Update Panel.

http://www.netqconsulting.com/CodeSamples/Atlas/UpdatePanel/tabid/152/Default.aspx

 
New Post
10/28/2006 3:54 PM
 

Have you got this to work on a site with  only the AJAX Beta 1 and not atlas?

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0how to integrate asp.net ajax 1.0 UpdatePanel  with dnn?how to integrate asp.net ajax 1.0 UpdatePanel with dnn?


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