|
 |
aspx_professional thread: form runat = server
Message #1 by "Marco Paolieri" <mpaolieri@t...> on Mon, 3 Sep 2001 17:14:49
|
|
I think the hardest thing for classic asp developers to get into their
heads is this round trip idea introduced with asp.net (it was for me
anyway). We are no longer constrained to the old 2 step post/reply
paradigm and now have this one step, round-trip paradigm. One step can be
translated to events like onclick.
I know I know, you guys are saying what's the point. First of all, don't
think of your buttons as submit buttons, think of them as buttons that can
be wired to an onclick event. Now within the onclick for the button to
submit the data for form "section1", disable the validation controls for
form "section2." The only requirement for this is that EnableClientScript
must be set to false so that the events have a chance to fire before the
validation is done.
Hope this helps.
B
> Hi
> I don't understand this:
> the form with the attribute runat = server is a very beautiful thing,
> but while I'm developing a test page I've seen that I can't put two or
> more form runat = server in fact the parser says me: "it is possible
put
> only one form with the attribute runat = server ".
> So I have looking for a solution on the web and I have found many
> example's site where the attribute form runat server is at the start of
> the page and </form> is at the end.
> It can seem a solution but in my opinion is not right in fact i ffor
> example you want 2 forms with the validator control and both are
required
> you can't post one of these.
>
> I hope you can solve this problem.
>
> bye
> thanks
> Marco
>
> PS Sorry for the english, but I hope you understand me
|
|
 |