I am trying to put a loginview control on every page. So i put that in the base master page. And i wrapped an ASP.Net form around it. But I also have the following 2 scenarios:
1.Some pages require Doc2Form.And that is required to be in a server side form control also.
2.Some pages require a normal form control. The form control contains some drop lists, which postback to the page, and are then picked up by the macro on the page to alter page output.
I could sort out 1 by wrapping the whole page in 1 big server side form in the base master page, but then I can’t get the droplist in scenario 2 to postback to the macro on the page. When I only wrap the asp.net form around the login view, and put another server-side form control on some ofthe base pages I ge tthe message that there can only be 1 server side form.
LoginView Form working with other Form scenarios
I am trying to put a loginview control on every page. So i put that in the base master page. And i wrapped an ASP.Net form around it. But I also have the following 2 scenarios:
1. Some pages require Doc2Form. And that is required to be in a server side form control also.
2. Some pages require a normal form control. The form control contains some drop lists, which postback to the page, and are then picked up by the macro on the page to alter page output.
I could sort out 1 by wrapping the whole page in 1 big server side form in the base master page, but then I can’t get the droplist in scenario 2 to postback to the macro on the page. When I only wrap the asp.net form around the login view, and put another server-side form control on some ofthe base pages I ge tthe message that there can only be 1 server side form.
Any thoughts?
Well there can only be one server side form without question, the thing with your second form which is a regular html form is fine.
About the loginview and the doc2form what is happening there?
Is it because you do not want to put a server side form around the block of code which will eventually contain both loginview and doc2form controls?
is working on a reply...