Solved

multiple forms masterpage / regular page

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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