or
jquery:document.getElementById('<%= btnContainer.ClientID %>')
radgrid:
<telerik:GridTemplateColumn>
<ItemTemplate>
<asp:LinkButton ID="btnContainer" class="ActionMenuButton" runat="server" >Actions</asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn> An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
|
protected void btnDelete_Click(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
bool flg = false;
foreach (GridDataItem row in Grid.MasterTableView.Items)
{
CheckBox cb = (CheckBox)row.FindControl("ChkDelete");
if (cb.Checked)
{
if (flg)
{
sb.Append(",");
}
else
{
flg = true;
}
sb.Append(row.OwnerTableView.DataKeyValues[row.RowIndex]["LicenseId"].ToString());
}
}