J
jphaycock
Hi all
I am calling a method in a Page_Load event that makes use of a value
from a text box.
Unfortunately the textbox value is only set after a javascript runs
and the page is rendered. Therefore the textbox is actually empty when
the Page_Load event fires.
Is there a way to execute the method after the javascript has run and
the page has rendered.
I can do it by adding a button and placing the call to the method in
its onClick event but this is not acceptable in terms of user
interface. It must happen onLoad.
Can I maybe "fake" a button click?
Thanks in advance
John
I am calling a method in a Page_Load event that makes use of a value
from a text box.
Unfortunately the textbox value is only set after a javascript runs
and the page is rendered. Therefore the textbox is actually empty when
the Page_Load event fires.
Is there a way to execute the method after the javascript has run and
the page has rendered.
I can do it by adding a button and placing the call to the method in
its onClick event but this is not acceptable in terms of user
interface. It must happen onLoad.
Can I maybe "fake" a button click?
Thanks in advance
John