1
protected void RadButton1_Click(object sender, EventArgs e)
{
RadTreeList1.ItemCommand -= new EventHandler<TreeListCommandEventArgs>(RadTreeList1_ItemCommand);
RadButton radbutton1 = (RadButton)Form.FindControl("RadButton1");
TreeListDataItem dataItem = e.Item as TreeListDataItem;
Hashtable table = new Hashtable();
table["RowId"] = (dataItem.FindControl("Label1") as Label).Text;
table["Alias"] = (dataItem.FindControl("Label2") as Label).Text;
}
有我在項目得到錯誤,因爲我不有radbutton TreeListCommandEventArgs
請幫我在這
如果我TreeListCommandEventArgs
這並不meaningul併成爲錯誤的替代EventArgs
運行.....需要在radbutton EventArgs的添加TreeListCommandEventArgs
frrom在這裏,我可以能夠添加TreeListCommandEventArgs ....還是有一個例外...這是我不能能夠ŧ o找到RadTreeList內部的控制RadButton1 ..... –
這裏可以找到RadButton1 –