本文整理汇总了C#中RadComboBoxItemEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# RadComboBoxItemEventArgs类的具体用法?C# RadComboBoxItemEventArgs怎么用?C# RadComboBoxItemEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RadComboBoxItemEventArgs类属于命名空间,在下文中一共展示了RadComboBoxItemEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: rcbLCType_ItemDataBound
protected void rcbLCType_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView row = e.Item.DataItem as DataRowView;
e.Item.Attributes["LCTYPE"] = row["LCTYPE"].ToString();
e.Item.Attributes["Description"] = row["Description"].ToString();
e.Item.Attributes["Category"] = row["Category"].ToString();
}
示例2: OnDropDownContactInfo_ItemDataBound
protected void OnDropDownContactInfo_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
Literal lblContactInfo = (Literal)e.Item.FindControl("lblContactInfo");
if (lblContactInfo != null)
{
lblContactInfo.Text += e.Item.DataItem as string;
}
}
示例3: rcbCustomerID_ItemDataBound
protected void rcbCustomerID_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView row = e.Item.DataItem as DataRowView;
e.Item.Attributes["CustomerName"] = row["CustomerName2"].ToString();
e.Item.Attributes["Address"] = row["Address"].ToString();
e.Item.Attributes["IdentityNo"] = row["IdentityNo"].ToString();
e.Item.Attributes["IssueDate"] = row["IssueDate"].ToString();
e.Item.Attributes["IssuePlace"] = row["IssuePlace"].ToString();
}
示例4: rcbApplicantID_ItemDataBound
protected void rcbApplicantID_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
var row = e.Item.DataItem as DataRowView;
e.Item.Attributes["CustomerName"] = row["GBFullName"].ToString();
e.Item.Attributes["Address"] = row["GBStreet"].ToString();
e.Item.Attributes["IdentityNo"] = row["DocID"].ToString();
e.Item.Attributes["IssueDate"] = row["DocIssueDate"].ToString();
e.Item.Attributes["IssuePlace"] = row["DocIssuePlace"].ToString();
e.Item.Attributes["City"] = row["GBDist"].ToString();
e.Item.Attributes["Country"] = row["CountryName"].ToString();
}
示例5: rcbCounterparty_OnItemDataBound
protected void rcbCounterparty_OnItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
var row = e.Item.DataItem as DataRowView;
e.Item.Attributes["CustomerName"] = row["CustomerName2"].ToString();
e.Item.Attributes["CustomerID"] = row["CustomerID"].ToString();
}
示例6: rcbChargeAcct_ItemDataBound
protected void rcbChargeAcct_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView row = e.Item.DataItem as DataRowView;
e.Item.Attributes["Id"] = row["Id"].ToString();
e.Item.Attributes["Name"] = row["Name"].ToString();
}
示例7: comboDrawerCusNo_ItemDataBound
protected void comboDrawerCusNo_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
var row = e.Item.DataItem as BCUSTOMER;
e.Item.Attributes["CustomerID"] = row.CustomerID;
e.Item.Attributes["CustomerName2"] = row.CustomerName;
}
示例8: cboNostroAcct_ItemDataBound
/*
* Method Revision History:
* Version Date Author Comment
* ----------------------------------------------------------
* 0.1 NA
* 0.2 Sep 30, 2015 Hien Nguyen Fix bug 46 _ remove Nostro Account field
*/
protected void cboNostroAcct_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
//var row = e.Item.DataItem as DataRowView;
//if (row == null) return;
//e.Item.Attributes["Code"] = row["Code"].ToString();
//e.Item.Attributes["Description"] = row["Description"].ToString();
//e.Item.Attributes["Account"] = row["AccountNo"].ToString();
}
示例9: cmbCategory_onitemdatabound
protected void cmbCategory_onitemdatabound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView row = e.Item.DataItem as DataRowView;
e.Item.Attributes["Type"] = row["Type"].ToString();
}
示例10: rcbLimitID_OnItemDataBound
protected void rcbLimitID_OnItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView data = e.Item.DataItem as DataRowView;
e.Item.Attributes["MainLimitID"] = data["MainLimitID"].ToString();
}
示例11: comboRemittingBankNo_ItemDataBound
protected void comboRemittingBankNo_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView row = e.Item.DataItem as DataRowView;
e.Item.Attributes["Code"] = row["Code"].ToString();
e.Item.Attributes["Description"] = row["Description"].ToString();
}
示例12: cmbStandard_ItemChecked
protected void cmbStandard_ItemChecked(object sender, RadComboBoxItemEventArgs e)
{
var dropdown = (RadComboBox)sender;
ViewState[_standardFilterKey] = dropdown.CheckedItems.Count > 0 ? dropdown.CheckedItems[0].Value : "";
SetFilterVisibility();
SearchResources();
}
示例13: rcbCustAccount_OnItemDataBound
// gan cac thuoc tinh Name, ID cho cac khach hang khi duoc chon , su kien xay ra khi co du lieu do vao combobox
protected void rcbCustAccount_OnItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView row = e.Item.DataItem as DataRowView;
e.Item.Attributes["CustomerName"] = row["CustomerName"].ToString(); //CustomerName
e.Item.Attributes["CustomerID"] = row["CustomerID"].ToString();
}
示例14: rcbCustomerID_OnItemDataBound
protected void rcbCustomerID_OnItemDataBound(object sender, RadComboBoxItemEventArgs e)
{
DataRowView Data = e.Item.DataItem as DataRowView;
e.Item.Attributes["DocType"] = Data["DocType"].ToString();
e.Item.Attributes["DocID"] = Data["DocID"].ToString();
e.Item.Attributes["DocIssuePlace"] = Data["DocIssuePlace"].ToString();
e.Item.Attributes["DocIssueDate"] = Data["DocIssueDate"].ToString();
e.Item.Attributes["DocExpiryDate"] = Data["DocExpiryDate"].ToString();
//if (Data["DocExpiryDate"].ToString() != null)
//{
// e.Item.Attributes["DocExpiryDate"] =
//}
e.Item.Attributes["GBFullName"] = Data["GBFullName"].ToString();
}
示例15: SetClassList
/// <summary>
/// OnItemDataBound event. Basic template that we might need
/// to fire during an objects DataBinding event
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void SetClassList(object sender, RadComboBoxItemEventArgs e)
{
if (e.Item is RadComboBoxItem)
{
var item = e.Item;
}
}