Solved

Reload usercontrol

Posted on 2004-09-06
1
739 Views
Last Modified: 2008-01-16
Hi Experts,

I have created a usercontrol to register my users.
I have placed a reset button to clear the form.
The easiest way for me seems to be to reload the usercontrol (so it appears as the beginning).
I do like this in aspx webpage : Response.Redirect("./MyPagetoReload.aspx") which works fine.

How to proceed with my usercontrol ?

Thanks in advance for helping me.
0
Comment
Question by:noulouk
1 Comment
 
LVL 15

Accepted Solution

by:
Thogek earned 500 total points
Comment Utility
What sort of reset button are you using?

If you don't need server-side access to this button (which you shouldn't if all it's doing is resetting the form), you could simply use

    <input type="reset" value="Reset Form" />

If you do need server-side functionality on this button for some reason, you can add a runat="server" attribute and turn it into an HtmlInputButton element (see http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwebuihtmlcontrolshtmlinputbuttonclasstopic.asp for details).
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now