Hello fellow professionals. I have a problem with form validations and my web development method. I am using VS.NET 2003 and 1.1 Framework. My website is filtered entirely through my default.aspx page and content is rendered based upon the querystring provided. Example... <HTML>
<Body>
<% Dim page(10) as String
Page(1) = "main/thispage.aspx"
Server.Execute(Page(Request.Querystring("string"))
%>
This method is working fine for me except when I get to form validation. On one of my content pages I have a form. I have enabled viewstate and have validation controls in place. When I click submit on the page, it post back to itself and fires all validation controls that were invalid. The problem is that now on the post back, it no longer is the default.aspx?string=1 page, it is now just the thispage.aspx page, so ofcourse I am missing my content from the default.aspx page like my menu items and navigations, headers, etc. Any ideas on how to resolve this issue. Any help is apprciated.
Oldwen
<Body>
<% Dim page(10) as String
Page(1) = "main/thispage.aspx"
Server.Execute(Page(Request.Querystring("string"))
%>
This method is working fine for me except when I get to form validation. On one of my content pages I have a form. I have enabled viewstate and have validation controls in place. When I click submit on the page, it post back to itself and fires all validation controls that were invalid. The problem is that now on the post back, it no longer is the default.aspx?string=1 page, it is now just the thispage.aspx page, so ofcourse I am missing my content from the default.aspx page like my menu items and navigations, headers, etc. Any ideas on how to resolve this issue. Any help is apprciated.
Oldwen