Well, I have a built registration form in (navBar.html) and im including this .html to every page in my website (header of the site). code of the form:
<form method="get" action="../RegisterDetails.aspx" id="registerForm" onsubmit="return validateRegister()">
<h3>Register Form</h3>
<hr /><br />
<label id="fnameLabel">First Name: <span>*</span><label id="hiddenfname" class="h-hidden-label">Enter First Name Please</label></label>
<br />
<input type="text" id="fname" placeholder="First Name" /><br />
<br />
<label id="lnameLabel">Last Name: <span>*</span><label id="hiddenlname" class="h-hidden-label">Enter Last Name Please</label></label>
<br />
<input type="text" id="lname" placeholder="Last Name" /><br />
<br />
<input type="submit" id="registerSubmit" value="Send" />
<input type="button" id="cancel" value="Cancel" />
<br />
</form>
the form is ok. It have working .js file and .css file. But when i use
<!-- #include file="Adders/navBar.html" -->
In the Home page and register then move to "RegisterDetails.aspx", I'm retrieving the parameters via request.querystring :
string fname = Request.QueryString["fname"];
string lname = Request.QueryString["lname"];
But then I can see that "fname" and "lname" equals to: "" (blank or nothing)
Any solutions for retrieving those parameters from included file ?