Solved

multiple forms masterpage / regular page

Posted on 2006-11-03
3
242 Views
Last Modified: 2011-09-20
A error message shown that I can only use one form.
Actually, I already set up masterpage and one form is inside of masterpage.
And all other pages in the future will contain form for sure. How can I code to avoid the error message?
I am new of asp.net 2.0 Please explain /code as clear as possible.
0
Comment
Question by:riskyricky1972
  • 2
3 Comments
 
LVL 12

Expert Comment

by:craskin
ID: 17871128
there's no way around using only 1 form as far as i know. in asp.net, though, i don't really know why you'd want to? maybe you can explain your need for more than 1 form?
0
 

Author Comment

by:riskyricky1972
ID: 17871188
Another form on the masterpage is for Treeview  <asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" ImageSet="Arrows">
That required to use form.



                   
0
 
LVL 12

Accepted Solution

by:
craskin earned 200 total points
ID: 17872072
so why not just put your content control inside the form on the masterpage? why do you need another form on your detail page? you can put a script block on any detail page without any trouble and since it all loads inside the master page's form, there shouldn't be any problem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question