Solved

multiple forms masterpage / regular page

Posted on 2006-11-03
3
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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