-3

I need a button different than the normal server side one because I may need to hide or disable it.

MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
shimon
  • 9
  • 1
  • 2

3 Answers3

2

Just by examining key words in your question and inferring what you might be asking, this question might be relevant: How to use __doPostBack()

If you don't want to render an

<asp:Button/>

control or if you don't have one available, you can call the __doPostBack() method in javascript (provided at least one control on the page has rendered this method)

Community
  • 1
  • 1
MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
0

do you mean you want a html button to submit your form? something like:

<input type="submit" value="Save" />

if so input type="submit" should work.

Paritosh
  • 4,243
  • 7
  • 47
  • 80
0

Although it is not really clear what you really want, the following might help you:

<a href="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status='Page Reloading'"> RELOAD </a>

OR

<a href="javascript:history.go(0)">Refresh the Page</a>

OR

<input type="submit" value="Send" />
Harold Javier
  • 887
  • 2
  • 7
  • 16