PDA

View Full Version : postbackurl


bbraner
09-09-2009, 01:00 AM
Hello-
First off I want to say hello. I am new here and have read lots of great posts you guys are awesome.

So I am new to asp.net and programming in general. I have basic knowledge of vb.net and am working on a website. I am trying to use the postbackurl feautre as i am working on a shopping cart and I need to pull information from the order page to the "cart"

as it stands in visual studio 2008 it doesnt work. I have a tutorial from a book I am working from(Marchs asp.net 3.5 with vb 2008) and their tutorial does not work. So i try it on visual web developer 2008(express) and it works fine...

so I went simple had a basic 2 page application one page(default.aspx) a had button second page(text.aspx) just had plain text that says this is the test page
the button is configured

<asp:Button ID="Button1" runat="server" PostBackUrl="~/test.aspx"
Text="Button" />


and that works on visual web devloper but not visual studio 2008 any ideas why?

ok another issue too...
the pictures in the tutorial show in web developer but not in visual studio

bbraner
09-09-2009, 07:31 AM
so i have decided that is just a problem with my computer, i thought it might be the way my vs 08 was setup reinstalled it updated to sp1 same issue tried web developer 2008 same issue. anyone ideas on why it doesnt work on my pc?

ghell
09-09-2009, 06:21 PM
I use Visual Studio 2005 and I have not had a problem with this kind of thing. There is no reason that it should work in web developer express but not visual studio.

Have you tried publishing it to IIS and running it there rather than in the internal web server?

bbraner
09-09-2009, 07:28 PM
i havent i will try that .... I guess I should clarify as well....

Visual Studio 08 is on my vista business laptop

the web developer is on my xp sp3 desktop dont know if that matters at all

so i updated vs 2008 to sp1 and ie to 8 thinking that may help...now i get a java error. it appears to convert the postbackurl to java?

bbraner
09-10-2009, 01:12 AM
also i just downloaded visual studio 2010 beta release.... postbackurl works fine in that?