i have template field (twextbox) into radgrtid
i type value in textbox ,but when i get value ,show ""
<telerik:GridTemplateColumn HeaderText="شماره سند" FilterControlWidth="10px" UniqueName="AccountingDoc1">
<ItemTemplate>
<asp:TextBox ID="txtAccountingDoc" runat="server" >
</asp:TextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
*****************************************************************************************************************************
protected void grdDetailAccount_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
e.Canceled = true;
foreach (GridDataItem item in grdDetailAccount.Items)
{
string detailAccountID = grdDetailAccount.MasterTableView.DataKeyValues[e.Item.ItemIndex]["detailAccountID"].ToString();
if (((TextBox)item["AccountingDoc1"].FindControl("txtAccountingDoc")).Text != "")
{
strAccountingDocNo = ((TextBox)item["AccountingDoc1"].FindControl("txtAccountingDoc")).Text;
CDSStockLogic.BusinessObjects.UI.AccountingDocs.updateDetailAccountID(strAccountingDocNo, detailAccountID);
}
}
}
strAccountingDocNo is null but i type value
plz help