Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Using Asp.net web form and controls .vs html form and inputs

Reply
Thread Tools

Using Asp.net web form and controls .vs html form and inputs

 
 
Ellie
Guest
Posts: n/a
 
      10-27-2008
I am just starting to develop in asp.net and I have somewhat of a
familiarity with asp 3.0. I am comfortable with asp 3.0 for my server side
processing and javascript for client side. I also like the regular form,
inputs, etc., in html. I seem to be having trouble with finding how to
change the action for the asp.net form control to a different url and the
action defaults to the same page that the form is on. It seems very
confusing since I can't see where this is being set or how I can change it.
Is there any problem with just using the regular html tags interspersed with
asp code and javascript in an asp.net application? I'm sure that Microsoft
wants us to use the newer method but what advantage is there to doing this?
Any insight into this will be helpful. Thanks

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      10-27-2008
asp.net use a postback to self model. you can not set the action on a form
(with a runat="server"). you can set the postbackurl on a submit button basis.

there are two types of controls, webcontrols, the .net abstract, or
HtmlControls, which is a subset of the html controls. any markup between
server controls is placed in a generic control.


-- bruce (sqlwork.com)


"Ellie" wrote:

> I am just starting to develop in asp.net and I have somewhat of a
> familiarity with asp 3.0. I am comfortable with asp 3.0 for my server side
> processing and javascript for client side. I also like the regular form,
> inputs, etc., in html. I seem to be having trouble with finding how to
> change the action for the asp.net form control to a different url and the
> action defaults to the same page that the form is on. It seems very
> confusing since I can't see where this is being set or how I can change it.
> Is there any problem with just using the regular html tags interspersed with
> asp code and javascript in an asp.net application? I'm sure that Microsoft
> wants us to use the newer method but what advantage is there to doing this?
> Any insight into this will be helpful. Thanks
>
>

 
Reply With Quote
 
 
 
 
Ellie
Guest
Posts: n/a
 
      10-30-2008
Well now that I'm working with this more there are things that I like about
the asp.net new way and things that I like about the old way. I like using
the html controls better and I like using the old submit/action better but I
do really like having classes and linking them into my project. So for now
I'm going to mix it up since html is the standard I can't see the html
controls going away any time soon. I did two very nice websites in vb6
webclasses, after much head banging, and now look where that got me...


"bruce barker" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> asp.net use a postback to self model. you can not set the action on a form
> (with a runat="server"). you can set the postbackurl on a submit button
> basis.
>
> there are two types of controls, webcontrols, the .net abstract, or
> HtmlControls, which is a subset of the html controls. any markup between
> server controls is placed in a generic control.
>
>
> -- bruce (sqlwork.com)
>
>
> "Ellie" wrote:
>
>> I am just starting to develop in asp.net and I have somewhat of a
>> familiarity with asp 3.0. I am comfortable with asp 3.0 for my server
>> side
>> processing and javascript for client side. I also like the regular form,
>> inputs, etc., in html. I seem to be having trouble with finding how to
>> change the action for the asp.net form control to a different url and the
>> action defaults to the same page that the form is on. It seems very
>> confusing since I can't see where this is being set or how I can change
>> it.
>> Is there any problem with just using the regular html tags interspersed
>> with
>> asp code and javascript in an asp.net application? I'm sure that
>> Microsoft
>> wants us to use the newer method but what advantage is there to doing
>> this?
>> Any insight into this will be helpful. Thanks
>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why use asp controls instead of HTML inputs? =?Utf-8?B?U2hhd24gUmFtaXJleg==?= ASP .Net 8 05-23-2007 11:32 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net 5 01-10-2007 10:50 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net Web Controls 4 12-21-2006 02:50 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net Building Controls 4 12-21-2006 02:50 AM
Differences in UTF-8 html form inputs Realbot Perl Misc 3 01-10-2005 10:15 PM



Advertisments