i am using updatepanel for a linkbutton so that it doesnot refresh the whole page . on click of that linkbutton i need to set an active view in a multiview control which is working fine without updatepanel.
but when i use updatepanel it doesnoot work. can you help me how to do this
updatepanel code
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<ContentTemplate>
<asp:LinkButton ID="changephoto" runat="server" ForeColor="Blue" OnClick="changephoto_Click">Change Photo</asp:LinkButton><br /><br />
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="changephoto" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
on click event
Protected Sub changephoto_Click(ByVal sender As Object, ByVal e As System.EventArgs)
MultiView_Updates.SetActiveView(View_ChangePhoto)
'bindprofileimage()
End Sub
put the multiview inside the updatepanel…..