Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreCannot seem to rebuild ProductEdit.aspx.csCannot seem to rebuild ProductEdit.aspx.cs
Previous
 
Next
New Post
3/8/2009 1:23 AM
 

Hi

I am using visual web developer 2008 Express on vista.
I have a local version of DNN 04.09.01 with the Store module 02.01.00 installed (which is all running fine)
I finally got a clean build of the whole site after excluding AddressEdit.ascx and AddressEdit.ascx.cs

In starting to make changes to the store code, i have been hitting upon the same issue for some hours now and thought i'd finally ask you guys in the Forum !
My issue is that my code changes "do not stick" ..

I am making changes in ProductEdit.aspx.cs  and after realising that my code was not being executed... At the page load event, (at about line 83) i replaced it with a simple Response.Write("Code gets to here"); Then done a rebuild, but again the code changes are not apparent.

Other trial and errors
1) I even deleted all the files in C:\Users\Nigel\AppData\Local\Temp\Temporary ASP.NET Files and done another rebuild to no avail.
2) I deleted DotNetNuke.Modules.Store.WebControls.dll from the /bin hoping a rebuild would re-compile it. But i soon had to copy it back again

Also, In the aspx i have tried Codebehind="ProductEdit.ascx.cs"  and
Codebehind="~/DesktopModules/Store/ProductEdit.ascx.cs"

However the IDE cannot "see" other objects in the .cs on approx line 100 onwards.. such as:
cmbCategory (underlined red) - The name "cmbCategory" does not exist in the current context.

cmbCategory is an existing dropdownmenu which of course already exists on the aspx page.

I would like to note that for example: <portal:URL id="image1" runat="server" width="300" /> is not "missing" in the .cs where as
 <asp:DropDownList ID="cmbCategory" .... "does not exist in the current context.." in the .cs

QUESTIONS

1) With VWD 2008 Express edition - can i not rebuild the Store dll's ? that form part of the
namespace "DotNetNuke.Modules.Store.WebControls"

2) What else am i doing wrong that means my code changes are not implemented?

Thanks very much for any comments or solutions

 
New Post
3/9/2009 10:44 PM
 

Hi Maximus,

I suppose you open your website in Visual Studio then you made changes in the Store sources files? If it's the case, you try to modify the module as if it will use the WSP model. You CAN'T use this way simply because the Store module uses the WAP model. Please read this post at Microsoft MSDN for more informations about the WAP model versus the WSP model. Read this post to install correctly the Store module with sources.

Edit: You must use VS Web Express 2008 WITH SP1! Only this version is able to manage WAP projects. More infos on the Visual Web Developer Team Blog.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreCannot seem to rebuild ProductEdit.aspx.csCannot seem to rebuild ProductEdit.aspx.cs


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