an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Copy of a new ASP page does not work
Last Post 7/9/2010 10:16:06 AM By Bahram. 8 replies.
6/29/2010 12:17:56 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Copy of a new ASP page does not work
I just copied unsubscribe.ascx to new file unsubscribe2.ascx , but the url is not accessible with this message :
 
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
 
Requested URL: /eStore/Unsubscribe2.aspx
 
Please tell me do I need to do extra work to have this working?
 
6/29/2010 2:20:56 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Copy of a new ASP page does not work
Why are you copying ascx blcok user control to aspx page file and expect it to work? Just create your own aspx file.
DotShoppingCart Staff
6/29/2010 3:21:38 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Copy of a new ASP page does not work
 I am developing my own version of Unsubscribe so need to have that email field and unsubscribe button, but instead I am sending and email to another database. So the unsubscribe does works for me.
Just like any other aspx file: i.e. TellaFriend.
6/30/2010 4:33:07 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Copy of a new ASP page does not work
I am not creating aspx file I did an exect copy of unscubscribe.ascx to unsubscribe2.ascx and called it thru a URL. Most of the DSC codes in Core or Block or Store folders are ASP controls or ascx files and not aspx. files.
 
My question is How a user created user control can work exactly as DSC control.
7/5/2010 11:39:34 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Copy of a new ASP page does not work
Luke,
 
Are you going to reply this posting or not?
 
How a new DSC  UserControl ( an exact copy of existing controls like Search or Unsubscribe ) can be used on website.
 
Thanks, 
7/6/2010 12:45:52 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Copy of a new ASP page does not work
This is about how to create DSC page editor enabled page. I will create a blog entry when I have time.
DotShoppingCart Staff
7/8/2010 12:40:23 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Copy of a new ASP page does not work
 You could have replied with few lines of instruction, until you had your blog. This did not worked for me.
 
I used the existing unsubscribe.acsx.cs and customized and parameterized the code.
 
 
7/8/2010 1:21:49 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Copy of a new ASP page does not work
Here you go.
DotShoppingCart Staff
7/9/2010 10:16:06 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Copy of a new ASP page does not work
 Thanks Luke , I think step 2 was the lost link of this process.