You can use a standard HTML from reset button <input type=reset
runat=server> ( if you want it as a server side ) or just 
<input type=reset >
the conflice will happen when you have validators on the form, in which
case you should lead your button to call a custom javascript method to
clear the form.
Replace "MyForm" in the following script with your form name and your
all set. 
<a href="javascript:document.MyForm.reset();">reset</a>
 
 

        -----Original Message-----
        From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of shyms05
        Sent: Wednesday, March 01, 2006 2:37 AM
        To: [email protected]
        Subject: [AspNet2] asp.net - reset
        
        
        hi,
        
        i want to reset a form.am not able to do it in asp.net 2.0.
        Is there a  way to do it?
        
        any help will be useful
        
        thanking u all in advance
        
        regards
        shyms
        
        
        
        
        
        
        
        
        SPONSORED LINKS 
Object oriented
<http://groups.yahoo.com/gads?t=ms&k=Object+oriented&w1=Object+oriented&;
w2=Programming+languages&c=2&s=48&.sig=f6H4QQqcmcp9kaxQRYmjcw>
Programming languages
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Object+ori
ented&w2=Programming+languages&c=2&s=48&.sig=r1ya7ggnEBNyfAH5-mYlDw>    

  _____  

        YAHOO! GROUPS LINKS 


                
        *        Visit your group "AspNet2
<http://groups.yahoo.com/group/AspNet2> " on the web.
                  
        *        To unsubscribe from this group, send an email to:
                 [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
                  
        *        Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service <http://docs.yahoo.com/info/terms/> . 


  _____  





-----------------------------------------
*******************************************************************
*

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any part of
it.

*******************************************************************
*


[Non-text portions of this message have been removed]





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNet2/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to