Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: IFrame padding Pin
Ali Al Omairi(Abu AlHassan)16-Jan-12 3:35
professionalAli Al Omairi(Abu AlHassan)16-Jan-12 3:35 
AnswerRe: IFrame padding Pin
spkichara16-Jan-12 21:24
spkichara16-Jan-12 21:24 
QuestionHow to add Linking plugin to web site Pin
Rupeshcool0214-Jan-12 20:35
Rupeshcool0214-Jan-12 20:35 
QuestionRedirect to other page than specified by default Pin
Kujtim Hyseni12-Jan-12 23:42
Kujtim Hyseni12-Jan-12 23:42 
AnswerRe: Redirect to other page than specified by default Pin
jkirkerx13-Jan-12 10:39
professionaljkirkerx13-Jan-12 10:39 
QuestionUrl changes but page stays on the same page Pin
CodingYoshi12-Jan-12 4:46
CodingYoshi12-Jan-12 4:46 
AnswerRe: Url changes but page stays on the same page Pin
jkirkerx13-Jan-12 10:32
professionaljkirkerx13-Jan-12 10:32 
QuestionASP.NET MVC 3 Pin
CodingYoshi11-Jan-12 5:35
CodingYoshi11-Jan-12 5:35 
I have a site with these views: Categories > Products for Category X > Product Details for Product X > Confirmation Page

The first view has a bunch of categories and each has a link such as below:

http://localhost:39532/Product/List?CategoryId=94fc667e-6fec-4f76-a83b-7840df34e373&pubGuid=a6883116-560f-43e9-9ceb-7fc0a410b210&page=1&totalCount=30

When users click this it will show the 2nd view's page 1 with 10 products (paging). I am passing totalCount since I already know it in the first view and I don't want the server to have to get it again and I cannot store it in sessions or cookies. Requirements are:

Users should be able to email this url and someone else should be able to copy paste and it should work.

The Products for Category X page will have 10 products and each product will have a link for more details. The link will be like below:

http://localhost:39532/Product/Info?productId=0f0c1207-e002-4430-ae10-2ee533516b2f&CategoryId=94fc667e-6fec-4f76-a83b-7840df34e373&addedToShoppingCart=False

Users can click this link to view further details, add/remove to shopping cart based on the value. The questions I have are:

When the user adds the product to shopping list it will go to a confirmation page where they can view shopping cart or continue browsing. If they click continue browsing it should go to the product list page they were on which in this case is:

http://localhost:39532/Product/List?CategoryId=94fc667e-6fec-4f76-a83b-7840df34e373&pubGuid=a6883116-560f-43e9-9ceb-7fc0a410b210&page=1&totalCount=30

But how will the confirmation page know this info? Do I need to pass it into the ProductController.ProductDetail action which will then pass it to Confirmation.Confirm action? Now my actions will have parameters which are only to be passed onto some other view.

Let me know if my question does not make sense.
CodingYoshi

Artificial Intelligence is no match for Human Stupidity.

AnswerRe: ASP.NET MVC 3 Pin
jkirkerx13-Jan-12 10:22
professionaljkirkerx13-Jan-12 10:22 
QuestionExport to Excel Date Format for UK Pin
thowra11-Jan-12 0:09
thowra11-Jan-12 0:09 
AnswerRe: Export to Excel Date Format for UK Pin
thowra11-Jan-12 2:28
thowra11-Jan-12 2:28 
QuestionCompare two Template Fields of Gridview Pin
Rameez Raja9-Jan-12 21:36
Rameez Raja9-Jan-12 21:36 
AnswerRe: Compare two Template Fields of Gridview Pin
manognya kota9-Jan-12 22:40
manognya kota9-Jan-12 22:40 
AnswerRe: Compare two Template Fields of Gridview Pin
Karthik Harve9-Jan-12 22:43
professionalKarthik Harve9-Jan-12 22:43 
AnswerRe: Compare two Template Fields of Gridview Pin
jkirkerx13-Jan-12 10:46
professionaljkirkerx13-Jan-12 10:46 
Questionhow to display menu control like code project top navigation and left panel menu Pin
developerit9-Jan-12 20:47
developerit9-Jan-12 20:47 
AnswerRe: how to display menu control like code project top navigation and left panel menu Pin
David C# Hobbyist.10-Jan-12 3:07
professionalDavid C# Hobbyist.10-Jan-12 3:07 
AnswerRe: how to display menu control like code project top navigation and left panel menu Pin
anishkannan10-Jan-12 20:16
anishkannan10-Jan-12 20:16 
Questionwindow.location.replace Pin
Satish_S9-Jan-12 0:09
Satish_S9-Jan-12 0:09 
AnswerRe: window.location.replace Pin
jkirkerx9-Jan-12 9:24
professionaljkirkerx9-Jan-12 9:24 
GeneralRe: window.location.replace Pin
Satish_S9-Jan-12 23:45
Satish_S9-Jan-12 23:45 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 6:33
professionaljkirkerx10-Jan-12 6:33 
GeneralRe: window.location.replace Pin
Satish_S10-Jan-12 18:05
Satish_S10-Jan-12 18:05 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 18:10
professionaljkirkerx10-Jan-12 18:10 
GeneralRe: window.location.replace Pin
jkirkerx10-Jan-12 18:16
professionaljkirkerx10-Jan-12 18:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.