Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNTextSuggest and AJAX Problem
Previous Previous
 
Next Next
New Post 7/3/2008 6:04 AM
Unresolved
User is offline henry.xu
4 posts
10th Ranked


DNNTextSuggest and AJAX Problem 

Hi ,

  I am using a DNNTextSuggest web control in a module. When the module's control is not set to support parialy rendering in the module definition, everything goes OK. But when the module control is set to support partialy rendering with the module definition, I get problems. Everytime I click a button in the module's page, the DNNTextSuggest textbox disappears.

  Is this a bug? Any help will be appreciated.

 
New Post 7/7/2008 7:08 AM
User is offline Jon Henning
1623 posts
www.codeendeavors.com
5th Ranked










Re: DNNTextSuggest and AJAX Problem 

The existing webcontrols and UpdatePanel scenarios don't play well together.  This should be fixed in the new version of webcontrols.  The release notes in this defect explains the issue.


 
New Post 9/23/2008 12:34 PM
User is offline Patrick Richards
10 posts
www.patrickrichards.com
10th Ranked


Re: DNNTextSuggest and AJAX Problem 

Thank you for your help.  It took a few days to work through the problems, but I finally am able to call a web service .asmx fle's functions from JavaScript on the client.  There were two problems with my code.  The first problem is this line was missing from my .ascx file:

<%@ Register assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagprefix="asp" %>

I never had to worry about it while I was using UpdatePanels because I made a practice of dragging the UpdatePanel control from the toolbox to the web control in Design mode.  Visual Studio always created the @ Register line for me.  Without this line, the reference to the ScriptManager, as follows, returned Nothing:

objScriptManager = ScriptManager.GetCurrent(Me.Page)

 

The other problem was in my .ascx.vb code in setting the path for the ServiceReference.  I was doingthis:

objServiceReference.Path = "Talk.asmx"

when I should have been doing this:

objServiceReference.Path = ResolveUrl("Talk.asmx")

The .asmx file is in the same folder as the web control, but the full path is required.

 

-Pat

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNTextSuggest and AJAX Problem
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP