Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Reload usercontrol

Posted on 2004-09-06
1
Medium Priority
?
746 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
Thogek earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

636 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