HtmlAnchor postback

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am trying to implement a postback from a control with a textbox and anchor
to perform a search. I cannot use link button due to javascript being turned
off. Is there a way of implementing postback from an anchor tag?

Jim
 
attach the javacript to the href tag
href="javascript:fndosome();"
or in server side also
ctl.attributes.Add("href","javascript:fndosome();")
 
if javascript is disabled, the only html control that will postback is a
submit or image button. (asp:button). anchors will on perform a get, and not
postback data.

-- bruce (sqlwork.com)
 
do a formname.submit
...
also does it mean no client side script works like vbscript, jscript etc
just a thought
 
Back
Top