Re: Reset all form fields in code behind



if what you need is just to reset the form and have it ready for data input,
then I think souri's suggestion if fine. But if you have a message such as
"Record ... added!" to communicate with your user after each adding /
updating, then
all I can think of is to do it manually!
Not sure if this is the best practice.

"Fetty" <davef@xxxxxxxxxxxxxx> wrote in message
news:OV0J2TxdFHA.2556@xxxxxxxxxxxxxxxxxxxxxxx
> I have a form that is used to add records and edit current ones. I need to
> reset the form when I am adding a new record.
>
> --
> David
>
>
> http://www.helixpoint.com
> "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
> wrote in message news:%231E0d9pdFHA.3012@xxxxxxxxxxxxxxxxxxxxxxx
> > While true, I rather get an understanding of why the OP wants to do
this.
> > It's possible that what he/she is asking how to do, isn't what he/she
> > wants to do.
> >
> > Karl
> >
> > --
> > MY ASP.Net tutorials
> > http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
> > http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> > come!)
> >
> >
> > "souri challa" <sourichalla@xxxxxxxxx> wrote in message
> > news:1119384639.162511.236850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> >> You can Response.Redirect to the same page to achieve this.
> >> -Souri
> >>
> >
> >
>
>


.



Relevant Pages

  • Re: Internet Explorer Dial Up connection
    ... Thanks for your suggestion which I have tried. ... is reset on reboot. ... Is that how to fix it ?? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: wireless netwrok problem
    ... smlunatick wrote: ... I found the manual and have done a reset as you suggested, ... I have a Newlink 11g Wireless Access Point and have ... One suggestion is to "ditched" this Newlink 11g Access Point. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: wireless netwrok problem
    ... I found the manual and have done a reset as you suggested, my laptop is now picking up a default access point, at full strength, but I still cannot access the setup page via 192.168.1.100 as shown in the manual. ... There is no support section on the Newlink website. ... One suggestion is to "ditched" this Newlink 11g Access Point. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Grand slam
    ... I recently bought a Gottlieb Grand Slam and it will only reset ... Any suggestion? ... Prev by Date: ...
    (rec.games.pinball)
  • Re: Quick sweepstake ...
    ... undelete my account ... and reset my password since 9.30. ... Would anyone like to offer a suggestion ...
    (uk.sport.football)