Solved

multiple forms masterpage / regular page

Posted on 2006-11-03
3
237 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on 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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now