Hallo everyone,
I immediately explain my problem. In RadGrid I am using the tag CommandItemTemplate and in this tag I put the following controls:
<asp:LinkButton ID="multipleUpdate" ClientIDMode="Static" runat="server" CommandName="MultipleUpdate" Text="Edit"></asp:LinkButton>
<asp:LinkButton ID="salvaUpdate" ClientIDMode="Static" runat="server" CommandName="MultipleSave" Text="Save"></asp:LinkButton>
When I click on Edit the following code behind is ran:
protected void GridFasce_ItemCommand(object sender, GridCommandEventArgs e)
{
if (e.CommandName == "MultipleUpdate")
{
GridFasce.AllowMultiRowEdit = true;
for (int i = 0; i < GridFasce.SelectedItems.Count; i++)
{
GridFasce.SelectedItems[i].Edit = true;
}
GridFasce.MasterTableView.Rebind();
}
}
Now, all selected rows of the radgrid are editable, but all controls of the page are not available or thery are blocked. For example if I click on MultipleSave, it does not call the postback. It also happes for each controls show on page.
Please, can someone help me?
Regrads,
Achille
I immediately explain my problem. In RadGrid I am using the tag CommandItemTemplate and in this tag I put the following controls:
<asp:LinkButton ID="multipleUpdate" ClientIDMode="Static" runat="server" CommandName="MultipleUpdate" Text="Edit"></asp:LinkButton>
<asp:LinkButton ID="salvaUpdate" ClientIDMode="Static" runat="server" CommandName="MultipleSave" Text="Save"></asp:LinkButton>
When I click on Edit the following code behind is ran:
protected void GridFasce_ItemCommand(object sender, GridCommandEventArgs e)
{
if (e.CommandName == "MultipleUpdate")
{
GridFasce.AllowMultiRowEdit = true;
for (int i = 0; i < GridFasce.SelectedItems.Count; i++)
{
GridFasce.SelectedItems[i].Edit = true;
}
GridFasce.MasterTableView.Rebind();
}
}
Now, all selected rows of the radgrid are editable, but all controls of the page are not available or thery are blocked. For example if I click on MultipleSave, it does not call the postback. It also happes for each controls show on page.
Please, can someone help me?
Regrads,
Achille