473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

aspx pages with no <form> tag works fine with "masterpages"!. Is i

Hi Experts

MasterPage.master
In this master page, no <form> tag is used.
Register.aspx [uses MasterPage.master]
Here also no <form> tag. But the form elements are working fine inside the
<asp:content> tag

Is it Ok or any wrong thing is there?
Nov 18 '05 #1
3 2190
I believe that without form tag, you may till be able to write contents to
the controls(I myself occasionally put controls outside the form tags. This
is done by client-side scripts added by .NET framework so is possible)
However, you're not able to read the values of the controls from the form as
the values won't be able to send back to server.

"Lakshmi Narayanan.R" <La***************@discussions.microsoft.com> ¦b¶l¥ó
news:AC**********************************@microsof t.com ¤¤¼¶¼g...
Hi Experts

MasterPage.master
In this master page, no <form> tag is used.
Register.aspx [uses MasterPage.master]
Here also no <form> tag. But the form elements are working fine inside the
<asp:content> tag

Is it Ok or any wrong thing is there?

Nov 18 '05 #2
Sorry Guys,

After posting this question, i restarted my system. Now the error comes as
"<form> tag required" like that. I think my system got mess at my testing.

Thanx Mr.Cheong. Then what is tech to "put controls outside the form tags".

regards
Laks.R
"Lau Lei Cheong" wrote:
I believe that without form tag, you may till be able to write contents to
the controls(I myself occasionally put controls outside the form tags. This
is done by client-side scripts added by .NET framework so is possible)
However, you're not able to read the values of the controls from the form as
the values won't be able to send back to server.

"Lakshmi Narayanan.R" <La***************@discussions.microsoft.com> ¦b¶l¥ó
news:AC**********************************@microsof t.com ¤¤¼¶¼g...
Hi Experts

MasterPage.master
In this master page, no <form> tag is used.
Register.aspx [uses MasterPage.master]
Here also no <form> tag. But the form elements are working fine inside the
<asp:content> tag

Is it Ok or any wrong thing is there?


Nov 18 '05 #3
you might want to have a look at asp.net forums project. That uses a
mechanism similar to the one you described. So might turn out to be a bit
helpful

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Lakshmi Narayanan.R" <La***************@discussions.microsoft.com> wrote in
message news:D9**********************************@microsof t.com...
Sorry Guys,

After posting this question, i restarted my system. Now the error comes as
"<form> tag required" like that. I think my system got mess at my testing.

Thanx Mr.Cheong. Then what is tech to "put controls outside the form tags".
regards
Laks.R
"Lau Lei Cheong" wrote:
I believe that without form tag, you may till be able to write contents to the controls(I myself occasionally put controls outside the form tags. This is done by client-side scripts added by .NET framework so is possible)
However, you're not able to read the values of the controls from the form as the values won't be able to send back to server.

"Lakshmi Narayanan.R" <La***************@discussions.microsoft.com> ¦b¶l¥ó news:AC**********************************@microsof t.com ¤¤¼¶¼g...
Hi Experts

MasterPage.master
In this master page, no <form> tag is used.
Register.aspx [uses MasterPage.master]
Here also no <form> tag. But the form elements are working fine inside the <asp:content> tag

Is it Ok or any wrong thing is there?


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lucas Tam | last post by:
Hi all, I'm using ASP MasterPages for my templates. As such, I have a couple of pages which are for file uploads. Is there any drawbacks in making all my forms of type:...
1
by: donjuan | last post by:
I'm porting an asp.net 1.1 app to asp.net 2.0 (july build) and I have a form in a page that's using a master page. The form inside a content placeholder looks like: <asp:Content...
5
by: Alex Maghen | last post by:
In ASPX 2.0 with MasterPages and all that, my entire page only has one actual <FORM>. But there are several different sections of the page that provide what are functionally separate forms with...
11
by: Dennis D. | last post by:
Hello: So far I am into XML, XHTML, JavaScript, VB.net, and the .Net Framework. I have the ability to use SQL server, MS Access, or XML as databases, and 1.1 and 2.0 are installed on the server....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.