Solved

Reload usercontrol

Posted on 2004-09-06
1
742 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 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