Hello All,
I am trying to use ModalPopupExtender from a Grid View and i am having problems with it. Can any one please help ?

I have a grid view as follows :

				            <asp:BoundField DataField="Title" HeaderText = "Title"></asp:BoundField>			            
				            <asp:BoundField DataField="ContactId"></asp:BoundField>
				                    <asp:LinkButton runat = "server" ID="btnEditContact" CssClass="UM_Link" ></asp:LinkButton>
The link button is the Edit and and when i click it, a pop up should come , where i can edit the details..
Code for modal pop up and div which should be displayed
<asp:ModalPopupExtender ID = "ModalPopupExtender1" runat ="server" TargetControlID="btnShowModalPopup" PopupControlID = "divPopUp"
                         BackgroundCssClass = "popUpStyle" DropShadow = "true" CancelControlID ="btnCancel" ></asp:ModalPopupExtender>
                         <div class="popUpStyle" id="divPopUp" style="display:none;">
                         <asp:PlaceHolder ID ="phEditContact" runat = "server" ></asp:PlaceHolder>                         
                        <br />
                        <asp:Label ID ="lblHead" runat ="server"></asp:Label>
                         <asp:Button ID = "btnSave" runat ="server" Text  = "Save" />
                        <asp:Button ID ="btnCancel" runat ="server" Text = "Cancel" />
and i am showing the modal pop up as follows :

Private Sub ContactsGrid_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles ContactsGrid.RowCommand
        If e.CommandName = "EditContact" Then
            lblHead.Text = "Test"
        End If
    End Sub
Now when i click edit, i can see the pop up , but the problem is that, lblHead.Text = "Test" is not getting assigned, if i do the same, in aspx page like text ="test" then it is showing...but i need to show dynamic values there...