Solved

Reload usercontrol

Posted on 2004-09-06
1
741 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
ID: 11992963
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 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

11 Experts available now in Live!

Get 1:1 Help Now