Nested forms and server-side control in ASP.NET
<form id="form1" name="form1" runat="server">
The child pages fit inside this form tag, and do not contain any form tags of their own (to avoid getting an error message stating that I can have only one server side control).
var QuestionList = document.form1.Cause;
and returns the following error message:
“Microsoft Jscript runtime error: ‘document.form1.cause’ is null or not an object”
Any ideas? It won't work to create a second form on the child page and embed the "Cause" drop down menu in that, because then I will need to use a second 'runat="server"' statement -- one on the masterpage, one on the child page -- and will get a message saying the page won't load because there is more than one server side control.
|All times are GMT. The time now is 12:42 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.