I have implemented the javascript function that allows me to do a .NET (4.0) postback
Javascript
__doPostBack('__Page', argument)
C#
pu开发者_如何学Goblic void RaisePostBackEvent(string eventArgument) { //something happens }
Is it possible to pass through more then one argument?
You can pass a string of items separated with, for example, comma and in your code-behind extract them with eventArgument.Split(',')
精彩评论