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  |  

Affordable ASP.NET Hosting Service
  Ads  
Aspose - The .NET & Java component publisher
 


  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  General DotNetN...  Extend It! ( Pr...  Error in WAP Module. Need help!!!
Previous Previous
 
Next Next
New Post 3/10/2008 11:02 AM
User is offline huyaloha
15 posts
10th Ranked


Error in WAP Module. Need help!!! 

Dear core team,

I have read WAP by Shaun Walker and Developing a C# WAP Module in DNN by Mitchel Sellers, and I want to develop my module using WAP model.

After I add wap project by using C# Compiled Module Template, I can build WAP project normaly. In this case, I build TestModule successfully.

 

But when I try to add any 3rd party usercontrol (Ajax Update Panel, Fckeditor or Telerik radcontrols.) to ascx in WAP module I have just create,  It always has "Control cannot be created ...." error. I tried adding by many ways but still not ok.


 

But when I try to add the same controls to ascx in DesktopModule in DotNetNuke website, It is ok.

 

And when I switch in to ascx in WAP module, the control I have just added still not work.  I can't use this control in code file (*.cs) to programing . It's always has "Unknow server tags ..." error.

So, how can i use or add 3rd control in wap module? Have you got any idea for this bug. Please notice that i still add default controls ie textbox, label... normaly.

My system: Windows Server 2003 Standard SP2, Visual Studio 2005 SP1, SQL Server 2005.

 

 



 
New Post 3/10/2008 4:04 PM
User is offline Hooligannes
1599 posts
www.nesinteractivos.com
5th Ranked






Re: Error in WAP Module. Need help!!! 

You will have to register manually the library of the controls and delete the web.config that is automatically created in the WAP project.


Do you know the truth when you hear it?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 3/10/2008 9:36 PM
User is offline huyaloha
15 posts
10th Ranked


Re: Error in WAP Module. Need help!!! 

I have tried to add by manualy but it's still not ok. I cant code and Visual Studio cant recognize control i've just added. Have you ever got this error ?

 
New Post 3/11/2008 7:41 AM
User is offline Hooligannes
1599 posts
www.nesinteractivos.com
5th Ranked






Re: Error in WAP Module. Need help!!! 

Yes and it is confusing. The behavior is like this: when a control from a referenced dll is added to a project, a web.config is created. Since DNN WAP modules don't need the web.config I just delete it. On top of that the IDE automatically registers the controls assembly, which is what you need to do.

As a model look at the way the DNNlabels and other DNN controls are added and its assemblies registered. Alternatively the controls can be referenced directly, but you want to use the former method.


Do you know the truth when you hear it?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 3/12/2008 7:04 AM
User is offline huyaloha
15 posts
10th Ranked


Re: Error in WAP Module. Need help!!! 

I think it is realy confusing. If I add control manualy. I can using these controls in code file but i cant do anything with them in design mode. Some controls (ie telerik radgrid, telerik radeditor...), I want configure them in design mode. So, please tell me how to use this control and can configure like in WSP? Is WAP model not support to add controls directly to ascx?

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Error in WAP Module. Need help!!!
 


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.

 


Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com
Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com

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