Reload page with button click

G

Guest

Hi all,
I needed to know if there is a way to reload the page with a button click...
i have the javascript function:
self.location.href = self.location.href

but now how do i call that function in the asp.net button control??
 
E

Eliyahu Goldin

Use Attributes property to assign client-side event handlers to server
controls.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top