Hey all,
I want to insert an ID by using eval in a button in GroupHeaderTemplate, can anyone help as I can't access Eval.
My code
Or is there any other way to eval the ID.
Grid view data source.
I want to insert an ID by using eval in a button in GroupHeaderTemplate, can anyone help as I can't access Eval.
My code
<GroupHeaderTemplate> <telerik:RadButton ID="btnAddSpecificDelegationToCashGift" OnClick="btnAddSpecificDelegationToCashGift_OnClick" CommandArgument='' runat="server" Text='<%# Eval("TRP_LOOK_UP.ID") %>' > <Icon PrimaryIconCssClass="rbAdd" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon> </telerik:RadButton></GroupHeaderTemplate>Or is there any other way to eval the ID.
Grid view data source.
protected void gridAddDelegationToCashGift_OnNeedDataSource(object sender, GridNeedDataSourceEventArgs e) { destinationID = int.Parse(Request.QueryString["destinationID"]); if (destinationID != 0) gridAddDelegationToCashGift.DataSource = _srv.GetDelegationNotAddedToCashGift(destinationID); }