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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNTextSuggest and AJAX Problem
Previous Previous
 
Next Next
New Post 7/3/2008 5: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 6:08 AM
User is offline Jon Henning
1605 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 11:34 AM
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.

 


DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net

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