I am trying to show the same modal popup that I show when I insert an item into my grid but the modalpup will not show when I click the edit linkbutton, I tried changing hte defualt insert button from radgrid to command template link button and it also would not pull up the popup.
So at this point I am lost as to what to do. I tried taking the modalpop out of the updatepanel and it still would not call the popup.
This used to work in telerik grids. This works like I said it loads the popup on and insert new record but not on my edit linkbutton.
So at this point I am lost as to what to do. I tried taking the modalpop out of the updatepanel and it still would not call the popup.
This used to work in telerik grids. This works like I said it loads the popup on and insert new record but not on my edit linkbutton.
<
telerik:RadGrid
ID
=
"myRadGrid"
runat
=
"server"
Width
=
"80%"
Skin
=
"Web20"
CssClass
=
"dvGridWrapper"
>
<
MasterTableView
AutoGenerateColumns
=
"false"
Font-Size
=
"10"
DataKeyNames
=
"intRecruiterId"
CommandItemDisplay
=
"Top"
>
<
HeaderStyle
ForeColor
=
"White"
Font-Bold
=
"true"
HorizontalAlign
=
"Center"
/>
<
ItemStyle
HorizontalAlign
=
"Center"
/>
<
AlternatingItemStyle
BackColor
=
"#B0C4DE"
HorizontalAlign
=
"Center"
/>
<
Columns
>
<
telerik:GridTemplateColumn
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkEdit"
runat
=
"server"
CommandArgument='<%# bind("intRecruiterId") %>' CommandName="EditRec" Text="Edit"></
asp:LinkButton
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Protected Sub myRadGrid_ItemCommand(sender As Object, e As GridCommandEventArgs) Handles myRadGrid.ItemCommand
If (e.CommandName = RadGrid.InitInsertCommandName) Then
ddlRecItems()
End If
If (e.CommandName = "EditRec") Then
Dim RecId As Integer = CInt(e.CommandArgument)
HFEditRec.Value = RecId
FillPopup(RecId)
pnlRecruiter_MPE.Show()
End If
End Sub
1st piece of the modalpopup
<
asp:UpdatePanel
ID
=
"udp1"
runat
=
"server"
>
<
Triggers
>
<
asp:AsyncPostBackTrigger
ControlID
=
"lnkSubmit"
/>
<
asp:AsyncPostBackTrigger
ControlID
=
"lnkCancel"
/>
</
Triggers
>
<
ContentTemplate
>
<
asp:panel
ID
=
"pnlRecruiter"
runat
=
"server"
Style
=
"display:none"
CssClass
=
"RecruiterWindow"
>
<
table
style
=
"width:100%"
>