Solved

Reload usercontrol

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

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

737 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