开发者

Pass through more then one argument with a Javascript .NET postback

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(',')

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜