Hi,
I think you don't need to use server side code to hide the popup, just javascript is enough.
The idea is add a onclick attribute to the linkbutton, and invoke the modalPopupExtender's hide method in this event handler.
For instance:
linkbutton.Attributes.Add("onclick", "$find('" + modalExtender.BehaviorID + "').hide();");
No comments:
Post a Comment