通过数据库,建立目录树。主要用于分类信息
摘要:1 //建立目录树,从数据库中读出数据 2 private void BuildTree(RadTreeView tempTV) 3 { 4 5 SqlDataReader reader; 6 string insstr = "Select PType,SType1 from SmsGuestType where PublicName...
阅读全文
Persisting CheckBox control state in GridTemplateColumn on rebind
摘要:There are cases in which the user would like to retain the state for checkbox control inside GridTemplateColumn on grid operation which requires rebinding. In such situation you can use ViewState prop...
阅读全文
Extracting key values client-side
摘要:To simplify the code logic and make some of the column values easily accessible on the client, r.a.d.grid can expose them client-side.To enable the serialization of column values of your choice, you s...
阅读全文
Red.Grid使用,查找MasterGirdView中的控件。
摘要:程序代码: protected void GridView1_ItemDataBound1(object sender, GridItemEventArgs e) { if (e.Item is GridEditableItem) //红色代表是编辑中的项目。Grid有很多item ,全部控件都可以在Item中找到 { GridEdita...
阅读全文
Operations with MS DropDownList in EditItemTemplate of GridTemplateColumn
摘要:This article discusses how to bind a dropdown control in EditItemTemplate with custom values and update the ItemTemplate field after editing. The functionality can be used in cases in which the develo...
阅读全文
Configuring GridDropDownColumn
摘要:Configuring GridDropDownColumnHere is some insight about the mechanism which r.a.d.grid uses to present values for GridDropDownColumn: //sample select command for grid data...
阅读全文