//选择往来单位分类树节点 protected void RT_CompanyClass_NodeClick(object sender, RadTreeNodeEventArgs e) { if (!string.IsNullOrEmpty(e.Node.Value)) { RGCussent.Rebind(); } }
//选择往来单位分类树节点 protected void RtCompanyClassNodeClick(object sender, RadTreeNodeEventArgs e) { SearchKey = string.Empty; if (!string.IsNullOrEmpty(e.Node.Value)) { CompanyClassId = new Guid(e.Node.Value); RGCussent.Rebind(); } }
protected void OnItemRgCussent(object source, GridCommandEventArgs e) { if (e.CommandName == "Search") { SearchKey = ((TextBox)e.Item.FindControl("TB_Search")).Text.Trim(); RGCussent.CurrentPageIndex = 0; RGCussent.Rebind(); } }