jspurlin
10-05-2004, 12:36 PM
Request.ApplicationPath is working on my local host machine, but when I upload the application to the server it no longer works.
I am using the design of the ASPNET.PORTAL and in order for the tabs to work, for example, I have to replace Requestion.ApplicationPath with my domain 'http://netsolutionxp.com':
ASPNET.PORTAL HTML/ASPX
<a href='<%= Request.ApplicationPath %>/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
WHAT I HAVE TO DO:
<a href='http://NetsolutionsXP.com/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
I am looking for the solution that will work both on localhost and when I upload the application to DiscountAsp.
Any help would be appreciated. Thank you.
John Spurlin
I am using the design of the ASPNET.PORTAL and in order for the tabs to work, for example, I have to replace Requestion.ApplicationPath with my domain 'http://netsolutionxp.com':
ASPNET.PORTAL HTML/ASPX
<a href='<%= Request.ApplicationPath %>/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
WHAT I HAVE TO DO:
<a href='http://NetsolutionsXP.com/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
I am looking for the solution that will work both on localhost and when I upload the application to DiscountAsp.
Any help would be appreciated. Thank you.
John Spurlin