Mitchel's Forums

Subject: Codefile or codebehind in WAP?
Prev Next
You are not authorized to post a reply.

AuthorMessages
hchattawayUser is Offline
New Poster
New Poster
Posts:11

08/09/2008 11:02 PM  

Hello

I am developing modules for DNN using the WAP model. I have a separate project for a DNN module and the ascx controls that make it up I originally had the "codefile" tag in the <@ control> header... In the modules directory I have just the ascx page and in the BIN folder is the module's dll file. However, when you run the module, it errors and says "cannot find the xxx.ascx.cs file". If I change "codefile" to "codebehind" it works. Is this the way it is supposed to work for WAP? Anything being lost?


Thanks

Harold

 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/10/2008 6:43 PM  
Yes, WAP uses codebehind, this indicates a file that is compiled into the source at build time. codefile references a file that will be created inside the app_code directory for a WSP based project.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >.NET Development > Codefile or codebehind in WAP?



ActiveForums 3.7