V
Vili
Hi all
I am having a problem here
Is it possible to fire a server side function from client side?
ie. I have a function on codebehind
Sub DoSomething(o as object)
'do something to o
End sub
and on button press I dynamically create few linkbuttons (or something
else if needed) and for each linkbuttons I would need to launch the
DoSomething function from codebehind?
I have read that with javascript __doPostback it would be possible but
have no idea how to.
Something like mybutton.attributes.add("onclick",
javascript:__dopostback('','') ?
Thanks
Tuomo
I am having a problem here
Is it possible to fire a server side function from client side?
ie. I have a function on codebehind
Sub DoSomething(o as object)
'do something to o
End sub
and on button press I dynamically create few linkbuttons (or something
else if needed) and for each linkbuttons I would need to launch the
DoSomething function from codebehind?
I have read that with javascript __doPostback it would be possible but
have no idea how to.
Something like mybutton.attributes.add("onclick",
javascript:__dopostback('','') ?
Thanks
Tuomo