Hello,
I have a RadGridwhich contains a GridButtonColumn named "Update" and a button under the RadGrid wich is invisible.
I want to set the button visible after click to the GridButtonColumn "Update".
code Asp:
<div id="lprulesdetails-container">
<telerik:RadGrid ID="RadGridLPRulesDetails" runat="server" AllowPaging="True" AllowFilteringByColumn="true"
AllowAutomaticDeletes="true" AllowAutomaticUpdates="true" PageSize="5">
<MasterTableView AutoGenerateColumns="false">
<Columns>
...................
<telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Update"
Text="Update" UniqueName="Update" ItemStyle-Width="100px">
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages"></PagerStyle>
</telerik:RadGrid>
<div id="lprulescontainer">
<div id="lprulesaddcontainer" runat="server">
<div id="grid-action">
<div class="action-operation-left">
<telerik:RadButton ID="RadButtonCancelAdding" runat="server" Text="Cancel" Visible="false">
<Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4" />
</telerik:RadButton>
</div>
........................
</div>
Code VB.net
Private Sub RadGridLPRulesDetails_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGridLPRulesDetails.ItemCommand
If e.CommandName = "Update" Then
RadButtonCancelAdding.Visible = True
End If
End Sub
Where is the matter?
Thanks :)
I have a RadGridwhich contains a GridButtonColumn named "Update" and a button under the RadGrid wich is invisible.
I want to set the button visible after click to the GridButtonColumn "Update".
code Asp:
<div id="lprulesdetails-container">
<telerik:RadGrid ID="RadGridLPRulesDetails" runat="server" AllowPaging="True" AllowFilteringByColumn="true"
AllowAutomaticDeletes="true" AllowAutomaticUpdates="true" PageSize="5">
<MasterTableView AutoGenerateColumns="false">
<Columns>
...................
<telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Update"
Text="Update" UniqueName="Update" ItemStyle-Width="100px">
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages"></PagerStyle>
</telerik:RadGrid>
<div id="lprulescontainer">
<div id="lprulesaddcontainer" runat="server">
<div id="grid-action">
<div class="action-operation-left">
<telerik:RadButton ID="RadButtonCancelAdding" runat="server" Text="Cancel" Visible="false">
<Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4" />
</telerik:RadButton>
</div>
........................
</div>
Code VB.net
Private Sub RadGridLPRulesDetails_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGridLPRulesDetails.ItemCommand
If e.CommandName = "Update" Then
RadButtonCancelAdding.Visible = True
End If
End Sub
Where is the matter?
Thanks :)