Connecting Tech Pros Worldwide Help | Site Map

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

Lakshmi Narayanan.R
Guest
 
Posts: n/a
#1: Nov 18 '05
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?
Lau Lei Cheong
Guest
 
Posts: n/a
#2: Nov 18 '05

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


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" <LakshmiNarayananR@discussions.microsoft.com> 在郵件
news:ACC0093A-9782-4B39-B295-69636410B31F@microsoft.com 中撰寫...[color=blue]
> 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?[/color]


Lakshmi Narayanan.R
Guest
 
Posts: n/a
#3: Nov 18 '05

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


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:
[color=blue]
> 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" <LakshmiNarayananR@discussions.microsoft.com> 礎b繞l瞼籀
> news:ACC0093A-9782-4B39-B295-69636410B31F@microsoft.com 瞻瞻翹繞翹g...[color=green]
> > 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?[/color]
>
>
>[/color]
Hermit Dave
Guest
 
Posts: n/a
#4: Nov 18 '05

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


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" <LakshmiNarayananR@discussions.microsoft.com> wrote in
message news:D9AD74E4-0495-42AE-86DC-2B0F7C5CB473@microsoft.com...[color=blue]
> 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[/color]
tags".[color=blue]
>
> regards
> Laks.R
> "Lau Lei Cheong" wrote:
>[color=green]
> > I believe that without form tag, you may till be able to write contents[/color][/color]
to[color=blue][color=green]
> > the controls(I myself occasionally put controls outside the form tags.[/color][/color]
This[color=blue][color=green]
> > 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[/color][/color]
form as[color=blue][color=green]
> > the values won't be able to send back to server.
> >
> > "Lakshmi Narayanan.R" <LakshmiNarayananR@discussions.microsoft.com>[/color][/color]
在郵件[color=blue][color=green]
> > news:ACC0093A-9782-4B39-B295-69636410B31F@microsoft.com 中撰寫...[color=darkred]
> > > 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[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > <asp:content> tag
> > >
> > > Is it Ok or any wrong thing is there?[/color]
> >
> >
> >[/color][/color]


Closed Thread