P
Psych971
Hi, I'm wondering how I can generate a postback using javascript on a page
that does not have any controls with the auto-postback property set to true.
I know I can just use the submit() function but this triggers page
validation which I do not want. What I'm trying to do is dynamically write
in a hyperlink that when clicked will remove an item from the form, so I
don't want any validation to occur because the form isn't being submitted at
that point. And because there are no auto-postback controls the server does
not write in the javascript which would be used to effect the postback so I
can't just insert "onclick("__doPostBack('','');")". Is there an easy way to
do this without manually inserting a bunch of javascript code? More
concisely... How do I manually effect a postback without triggering page
validation?
Thanks!
Richard
that does not have any controls with the auto-postback property set to true.
I know I can just use the submit() function but this triggers page
validation which I do not want. What I'm trying to do is dynamically write
in a hyperlink that when clicked will remove an item from the form, so I
don't want any validation to occur because the form isn't being submitted at
that point. And because there are no auto-postback controls the server does
not write in the javascript which would be used to effect the postback so I
can't just insert "onclick("__doPostBack('','');")". Is there an easy way to
do this without manually inserting a bunch of javascript code? More
concisely... How do I manually effect a postback without triggering page
validation?
Thanks!
Richard