开发者

PostBackTrigger control id

I have an button ("export") to export d开发者_StackOverflow中文版ata from grid to excel.

But it's inside an update panel. So I'm registering postback trigger.

What should I assign to PostBackTrigger.ControlId ???

Thanks!


If the button is in the update panel you don't net to set a trigger for it.

If you've got any contorl outside the updatepanel you'll need to set a trigger if you'ld like the updatepanel to refresh. the ControlId should be set with the ID of the control.

UpdatePanel Control Overview

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜