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  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Using ClientAPI with WebCustomControls
Previous Previous
 
Next Next
New Post 1/16/2006 3:38 AM
User is offline Richard Seal
5 posts
www.fiorirock.com
10th Ranked


Using ClientAPI with WebCustomControls 

I have the ClientAPI working nicely in my DNN project, but I'm struggling with getting it to work with a Web Custom control.

My control has 3 dropdownlists on it. The 1st is filled when the control loads and the other are filled when the selection in the main dropdownlist changes.

I have added the references etc... and have added the attribute to the onchange event of the dropdownlist.

<snip>

this.ddlManufacturerList.Attributes.Add("onchange", ClientAPI.GetCallbackEventReference(this, "'test'", "successFunc", "this", "errorFunc"));

</snip>

But when I change the selection it gives me "failed: 404 - ControlNotFound(dnn_ctr600_RunWorkflow_activityModule_MakeModelSelection_ManufacturerList)'". The code is the same as some inside a module ascx file which does work.

Can anyone tell me what else needs to be done to get this working with a custom control?

 
New Post 1/16/2006 6:09 AM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: Using ClientAPI with WebCustomControls 

without seeing some more specific code, it will be hard to determine why you get a 404 error.  I do discuss one common reason for this error in my latest blog.  Not sure if this applies to your code or not...


 
New Post 1/17/2006 5:02 AM
User is offline Richard Seal
5 posts
www.fiorirock.com
10th Ranked


Re: Using ClientAPI with WebCustomControls 
Thanks for the link Jon - that was exactly the problem. All fixed now.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Using ClientAPI with WebCustomControls
 


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.

 


Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com

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