Hello,
I've got a Problem after Migrating to the new AJAX.DLL. The Trigger doesn't work for the Gridview anymore.
I set
<asp:UpdatePanelID="udpanel"runat="server"UpdateMode="Conditional"ChildrenAsTriggers="true"RenderMode="Inline">
<ContentTemplate>
<asp:Gridview ... />
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTriggerControlID="gview"EventName="RowCommand"/>
</Triggers>
</asp:UpdatePanel>
The RowCommand-Event in the Codebehind doesn't be fired.
Thanks a lot!
Paul
You really do not need to set a AysnchPostBackTrigger on the Event - unless the ChildrenAsTriggers is false (default is true) then everything is already thrown into the update controls collection.
Problems arise when you duplicate triggers as it will remove both of them if they have the same ref I believe...
No comments:
Post a Comment