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.0Error in WAP Module. Need help!!!Error in WAP Module. Need help!!!
Previous
 
Next
New Post
3/10/2008 1:02 PM
 

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 6:04 PM
 

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?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
3/10/2008 11:36 PM
 

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 9:41 AM
 

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?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
3/12/2008 9:04 AM
 

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
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Error in WAP Module. Need help!!!Error in WAP Module. Need help!!!


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