RicksAtWork
Programmer
I wasnt to generate a postback as if a specific button element was pressed. Looking at how .net does this it seems to add the following html to a form:
<input type="hidden" name="__EVENTTARGET" />
<input type="hidden" name="__EVENTARGUMENT" />
With this an additional javascript method is created which populates __EVENTTARGET with the name of the button pressed and then submits the form.
I cannot get this to work manually as the server side event assocaited with the button doesnt fire.
What am i doing wrong?
<input type="hidden" name="__EVENTTARGET" />
<input type="hidden" name="__EVENTARGUMENT" />
With this an additional javascript method is created which populates __EVENTTARGET with the name of the button pressed and then submits the form.
I cannot get this to work manually as the server side event assocaited with the button doesnt fire.
What am i doing wrong?