开发者

PostBackTrigger control id

开发者 https://www.devze.com 2023-01-21 07:45 出处:网络
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.

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

精彩评论

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