I am using Aps.net web application..
In my rad grid i need to delete multiple rows...
i am using following code i get multi row deletion...
But when i am using MutiPage View in Radtap strip..
I cant delete Multiple rows....
Is Anything i need to put on my code...when i am using tap strip control
protected void btnDelmails_Click(object sender, EventArgs e)
{
foreach (GridDataItem item in grdInbox.MasterTableView.Items)
{
CheckBox chkbx = (CheckBox)item.FindControl("chkSelect");
if (chkbx.Checked)
{
int Mails = Convert.ToInt32(item.GetDataKeyValue("QuestionId").ToString());
BllAlerts.DeleteInbox(Mails);
}
}
BindInbox();
}
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" MultiPageID="RadMultiPage1" Skin="Web20">
<Tabs>
<telerik:RadTab runat="server" Text="INBOX">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="SENT MAILS" Selected="True">
</telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
Regards
Friend