PostBack within VS

Aug 1, 2008 at 5:21 AM
Edited Aug 1, 2008 at 5:32 AM
I created a sample default.aspx with a UFrame. Also created a test page to be loaded within the UFrame div element.

The initial loading works fine but when I click a button within the div element to test postback, I see that the page cannot be found. I was wondering if this was an issue with Visual Studio since web projects usually have a parent folder thrown in front. (This changes the Url a bit from what it would be when published to IIS.)

In other words, given the following file structure:

C:\Dev\TestSite\
   testSite.sln
   WebSite\
      default.aspx
      Widgets\
         testWidget.aspx

When testing within visual studio, the url for default.aspx would be /WebSite/default.aspx versus just /default.aspx with IIS.

My src attribute for the div tag is Widgets/testWidget.aspx

Using the net tab in Firebug, I see /WebSite/Widgets/testWidget.aspx being loaded.

But when I click the button, I see just /Widgets/testWidget.aspx being called.

Any ideas?

Thanks.

---------------------------------------------------------------------

Update:

Seems to be a FF 3 issue...works as expected in IE. Bah. Should have tested that first...