views:

22

answers:

1

Hi,

I have an button ("export") to export data 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!

+2  A: 

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

CD