c# - Changing the values of a Request on Aspnet -
i using postback function on javascript:
<script type="text/javascript"> function callfunction(parameter) { __dopostback('func', parameter) } </script>
and useit on c#
public void page_load(object sender, eventargs e) { string parameter = request["__eventargument"]; // parameter var senderobject = request["__eventtarget"]; // func if(senderobject == "func") { //... } }
my problem more 1 time, , "request" method return me values of first time used it. question how can change this?
ok never mind, error cloned function without noticing, sorry kind of trouble
Comments
Post a Comment