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 Development using DNNAJAX Development using DNN
Previous
 
Next
New Post
2/26/2007 10:26 AM
 
Thanks for the responses. I have implemented Vladan's tutorial prior to this post. Unfortunately, I am unable to perform some rather simple tasks. (Vladan - Thank you for your most excellent work!) Ok here is my dilemma, I am trying to use an AutoCompleteExtender to run a webservice that returns user names from the DNN database for populating a textbox. Yes, VERY much like the ATLAS demo.

Here is my ASP code (Removed angle brackets so the post would work):

asp:ScriptManagerProxy ID="ScriptManagerProxy" runat="server"
Services
asp:ServiceReference Path="Service.asmxFileHere"/
/Services
/asp:ScriptManagerProxy
asp:TextBox id="txtUserName" runat="server"/
div id="AutoCompleteDiv" runat="server" /div
ajax:textboxwatermarkextender id="tweUserName" runat="server" targetcontrolid="txtUserName" watermarktext="Search for User by Name"/
ajax:autocompleteextender id="aceUserNames" runat="server" targetcontrolid="txtUserName" completionsetcount="1" completioninterval="1" completionlistelementid="AutoCompleteDiv" servicepath="Service.asmxFileHere" servicemethod="ServiceMethodNameHere" minimumprefixlength="1" /

: End Code

The service works when using the browser "~/DesktopModules/ModuleName/Service.asmxFileHere". The TextBoxWatermarkExtender works like a charm too. The problem is that my service doesn't fire and I am not sure why or how to go about debugging this kind of scenario since there is no code to follow. Please HELP me if you can.

Cheers!

Cheers!
John Valentine
http://www.webinnovationsystems.com
 
New Post
2/27/2007 3:29 AM
 

Did you mark your web service class with the [ScriptService()] attribute?

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
2/28/2007 10:24 AM
 
Hi Vladan,

I have been trying to implement AJAX with DNN 2.0
When I'm on the same page the partial rendering works fine, but I'm facing some errors when I navigate from one page to another, the entire page refreshes.
Please enlighten me if your tutorial for AJAX with DNN 4.0 works with DNN 2.0 too?

Thanks
Sanchita
 
New Post
3/1/2007 5:44 AM
 

Haven't tried it... but only from thinking like this I would say no, because DNN 2.0 works with NET 1.1, and MS AJAX is specially made for NET 2.0... so 99.99% it will not work.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
3/2/2007 9:30 AM
 
Vladan Strigo wrote

Haven't tried it... but only from thinking like this I would say no, because DNN 2.0 works with NET 1.1, and MS AJAX is specially made for NET 2.0... so 99.99% it will not work.

 




Well we have modified our code and we are on asp.net 2.0 so thats not an issue..
ajax works fine on single page and the toolkit rocks!
but when i navigate from one page to the other the whole page refreshes.. altho am using treeview and they arent supported by updatepanel so that could be the problem

nevertheles if u have any docs or examples on code snippers that show ajax working with dnn 2.0 and maybe some menu navigation based (just a need), it would b great help!

thanks
Sanchita
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0AJAX Development using DNNAJAX Development using 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