开发者

Postback from client-generated links (AJAX)

I have AJAX functionality on my page which creates anchor tags. I kno开发者_JAVA技巧w I can fabricate a postback for these links by setting the href attribute to javascript:__doPostBack('ControlID','SomeArgument')

How do I execute server code based on this fake postback for 'controls' that are created on the client side?


You need to implement IPostBackEventHandler on your page.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜