Groups > Asp .Net > VS 2005 Web Application Projects > Re: Error add controls in to WAP




Error add controls in to WAP

Error add controls in to WAP
Wed, 12 Mar 2008 17:05:51 +000
Dear all,


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 anyone get 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.
Post Reply
Re: Error add controls in to WAP
Tue, 18 Mar 2008 11:05:27 +000
I hope this helps. but it looks like it's searching for the contols by the path
~/controls/ModuleAuditControl.ascx in the root of the website however i don not
see a contol folder inside your project. In the Dot net nuke solution i cannot
see if there is a control folder.Maybe this could be the problem, hope it
helps.
Post Reply
about | contact