本文整理汇总了C#中RadComboBoxSelectedIndexChangedEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# RadComboBoxSelectedIndexChangedEventArgs类的具体用法?C# RadComboBoxSelectedIndexChangedEventArgs怎么用?C# RadComboBoxSelectedIndexChangedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RadComboBoxSelectedIndexChangedEventArgs类属于命名空间,在下文中一共展示了RadComboBoxSelectedIndexChangedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RCBID_SelectedIndexChanged
protected void RCBID_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
//RadUploadPicUrl.UploadedFiles.Clear();
if (RCBID.SelectedIndex < 0)
return;
LblState.Text = string.Empty;
}
示例2: NumberOfUsers_SelectedIndexChanged
protected void NumberOfUsers_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
NumberOfUsers.SelectedValue = e.Value;
NumberOfUsers.Text = e.Text;
Util util = new Util();
Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];
if (util.CheckSessionTimeout(State, Response, "../../Default.aspx")) return;
if (NumberOfUsers.SelectedIndex == 1)
{
LimitedUsersPanel.Style.Value = "";
UploadPublishedUserCredentials.Style.Value = "display:none";
ViewPublishedUserCredentials.Style.Value = "display:none";
}
else
{
util.SetLimitedUsersCredentialMethod(State, false, "", "");
LimitedUsersPanel.Style.Value = "display:none";
UploadPublishedUserCredentials.Style.Value = "";
ViewPublishedUserCredentials.Style.Value = "";
UploadPublishedUserCredentials.Attributes.Add("onclick", PopupHelper.GeneratePopupScript(
"../../Dialogs/Publish/UploadUserCredentials.aspx", 350, 800, false, false, false, true));
ViewPublishedUserCredentials.Attributes.Add("onclick", PopupHelper.GeneratePopupScript(
"../../Dialogs/Publish/ViewUserCredentials.aspx", 800, 350, false, false, false, true));
}
}
示例3: courseList_SelectedIndexChanged
protected void courseList_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
gradeList.SelectedIndex = 0;
BindTree();
InitTree();
grid.Rebind();
}
示例4: cmbCustomerAccount_SelectedIndexChanged
protected void cmbCustomerAccount_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
lblCustomerAccount.Text = "";
DataTable tDetail = bd.Teller.AccountForBuyingTC(cmbCustomerAccount.SelectedValue);
if (tDetail == null || tDetail.Rows.Count <= 0)
{
lblCustomerAccount.Text = "Account not found !";
return;
}
DataRow dr = tDetail.Rows[0];
//
lbCustomer.Text = dr["CustomerID"].ToString();
lbCustomerName.Text = dr["CustomerName"].ToString();
lbCurrency.Text = dr["Currency"].ToString();
txtExchangeRate.Value = Convert.ToDouble(dr["CurrencyRate"].ToString());
if (txtAmtFCY.Value.HasValue)
{
txtAmtLCY.Value = txtAmtFCY.Value.Value * txtExchangeRate.Value.Value;
if (txtDealRate.Value.HasValue)
{
lblAmtPaidToCust.Value = txtAmtLCY.Value.Value / txtDealRate.Value.Value;
lblNewCustBal.Value = lblAmtPaidToCust.Value.Value * -1;
}
}
}
示例5: EventField_SelectedIndexChanged
protected void EventField_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];
Util util = new Util();
if (util.CheckSessionTimeout(State, Response, "../Default.aspx")) return;
string selected_event_field = e.Text;
if (selected_event_field.Contains("->"))
{
State["DataSourceEventType"] = null;
State["DataSourceEventField"] = null;
}
else if (selected_event_field.Contains("("))
{
State["DataSourceEventType"] = "page";
State["DataSourceEventField"] = null;
}
else
{
State["DataSourceEventType"] = "field";
State["DataSourceEventField"] = selected_event_field;
}
State["DBCommands"] = null;
EventField.FindItemByText(selected_event_field).Selected = true;
if (selected_event_field.Contains("->"))
ManageDataPanel.Style.Value = ManageDataPanel.Style.Value.Replace("block", "none");
else
ManageDataPanel.Style.Value = ManageDataPanel.Style.Value.Replace("none", "block");
}
示例6: Applications_SelectedIndexChanged
protected void Applications_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
ClearMessages();
//get initial values
if (e.Text.IndexOf("->") > 0)
{
HideForApplications();
return;
}
ShowForApplications();
Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];
string customer_id = State["ServerAdminCustomerID"].ToString();
Util util = new Util();
State["SelectedAdminApp"] = e.Text;
string sql = "SELECT * FROM applications WHERE customer_id='" + customer_id + "' AND application_name='" + e.Text + "'";
DB db = new DB();
DataRow[] rows = db.ViziAppsExecuteSql(State, sql);
string status = "";
DataRow row = rows[0];
string application_id = row["application_id"].ToString();
State["application_id"] = application_id;
status = row["status"].ToString();
ApplicationStatus.Text = status;
db.CloseViziAppsDatabase(State);
}
示例7: DesignedForDevice_SelectedIndexChanged
protected void DesignedForDevice_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
Util util = new Util();
Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];
if (util.CheckSessionTimeout(State, Response, "Default.aspx")) return;
try
{
ClearMessages();
DesignedForDevice.Text = e.Text;
string device_design = e.Value;
DeviceType.Text = e.Text;
XmlUtil x_util = new XmlUtil();
string previous_device_design = x_util.GetAppDeviceType(State);
//State["SelectedDeviceView"] = device_design;
State["SelectedDeviceType"] = device_design;
if (State["SelectedApp"] == null || State["SelectedApp"].ToString().Contains("->"))
{
util.SetDefaultBackgroundForView(State,device_design);
}
x_util.SetAppDeviceType(State, previous_device_design, device_design);
Message.Text = "Main device for App has been set.";
}
catch (Exception ex)
{
util.LogError(State, ex);
Message.Text = "Internal Error: " + ex.Message + ": " + ex.StackTrace;
}
}
示例8: rcbClearingID_OnSelectedIndexChanged
protected void rcbClearingID_OnSelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
switch (rcbClearingID.SelectedValue)
{
case "1":
lbDebitCurrency.Text = "VND";
lbDebitAccount.Text = "03.000255655.1";
lbDebitAmtLCY.Text = "6,000,000";
rcbCreditCurrency.SelectedValue = "VND";
lbCrAmtLCY.Text = "6,000,000";
txtBOName.Text = "Đỗ Bảo Lộc";
txtFOName.SetTextDefault("Nguyễn Văn Trung");
txtNarrative.Text = "TRA VON LAI VANG HANG THANG";
txtIdentityCard.Text = "023867210";
txtIsssueDate.SelectedDate = new DateTime(1999, 7, 25);
txtIsssuePlace.Text = "TP.HCM";
txtTel.Text = "0902587400";
break;
case "2":
lbDebitCurrency.Text = "VND";
lbDebitAccount.Text = "03.000259799.7";
lbDebitAmtLCY.Text = "23,000,000";
rcbCreditCurrency.SelectedValue = "VND";
lbCrAmtLCY.Text = "23,000,000";
txtBOName.Text = "Trẩn Bửu Thạch";
txtFOName.SetTextDefault("Tô Văn Hoa");
txtNarrative.Text = "TRA VON LAI VANG HANG THANG";
txtIdentityCard.Text = "024450096";
txtIsssueDate.SelectedDate = new DateTime(1991, 9, 15);
txtIsssuePlace.Text = "TP.HCM";
txtTel.Text = "0978412544";
break;
case "3":
lbDebitCurrency.Text = "VND";
lbDebitAccount.Text = "03.000662988.9";
lbDebitAmtLCY.Text = "50,000,000";
rcbCreditCurrency.SelectedValue = "VND";
lbCrAmtLCY.Text = "50,000,000";
txtBOName.Text = "Quang Nhật Tường Quyên";
txtFOName.SetTextDefault("Lưu Văn Trí");
txtNarrative.Text = "TRA VON LAI VANG HANG THANG";
txtIdentityCard.Text = "050058770";
txtIsssueDate.SelectedDate = new DateTime(2001, 2, 27);
txtIsssuePlace.Text = "TP.HCM";
txtTel.Text = "01225457800";
break;
}
}
示例9: rcbClearingID_OnSelectedIndexChanged
protected void rcbClearingID_OnSelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
switch (rcbClearingID.SelectedValue)
{
case "1":
lbDebitCurrency.Text = "VND";
lbDebitAccount.Text = "03.000168655.7";
lbDebitAmtLCY.Text = "9,000,000";
rcbCreditCurrency.SelectedValue = "VND";
lbCrAmtLCY.Text = "9,000,000";
txtBOName.Text = "Đỗ Bảo Lộc";
txtFOName.SetTextDefault("Nguyễn Văn Trung");
txtNarrative.Text = "TRA VON LAI VANG HANG THANG";
txtIdentityCard.Text = "192522003";
txtIsssueDate.SelectedDate = new DateTime(2000, 5, 10);
txtIsssuePlace.Text = "TP.HCM";
txtTel.Text = "09033220011";
break;
case "2":
lbDebitCurrency.Text = "VND";
lbDebitAccount.Text = "03.000259755.9";
lbDebitAmtLCY.Text = "10,000,000";
rcbCreditCurrency.SelectedValue = "VND";
lbCrAmtLCY.Text = "10,000,000";
txtBOName.Text = "Trẩn Bửu Thạch";
txtFOName.SetTextDefault("Tô Văn Hoa");
txtNarrative.Text = "TRA VON LAI VANG HANG THANG";
txtIdentityCard.Text = "045231544";
txtIsssueDate.SelectedDate = new DateTime(2005, 6, 19);
txtIsssuePlace.Text = "TP.HCM";
txtTel.Text = "09333778789";
break;
case "3":
lbDebitCurrency.Text = "VND";
lbDebitAccount.Text = "03.000699787.4";
lbDebitAmtLCY.Text = "15,000,000";
rcbCreditCurrency.SelectedValue = "VND";
lbCrAmtLCY.Text = "15,000,000";
txtBOName.Text = "Quang Nhật Tường Quyên";
txtFOName.SetTextDefault("Lưu Văn Trí");
txtNarrative.Text = "TRA VON LAI VANG HANG THANG";
txtIdentityCard.Text = "029002154";
txtIsssueDate.SelectedDate = new DateTime(2000, 5, 10);
txtIsssuePlace.Text = "TP.HCM";
txtTel.Text = "09815457157";
break;
}
}
示例10: ddlForms_SelectedIndexChanged
protected void ddlForms_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
grdIndexFields.Visible = false;
pnlIndexDetails.Visible = false;
grdIndex.Visible = true;
pnlNewIndexHelp.Visible = true;
grdIndex.Rebind();
}
示例11: combo_SelectedIndexChanged
protected void combo_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
BindTree();
InitTree();
grid.Rebind();
view.Rebind();
viewX.Rebind();
}
示例12: rcbclient_SelectedIndexChanged
protected void rcbclient_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
RadComboBox rdCountry = (RadComboBox)o;
GridEditFormItem editItem = (GridEditFormItem)rdCountry.NamingContainer;
RadComboBox rcbCountry = (RadComboBox)editItem.FindControl("rcbCountry");
rcbCountry.ClearSelection();
//rdCountry.SelectedValue = "--Select--";
}
示例13: cmbCurrencyDeposited_OnSelectedIndexChanged
protected void cmbCurrencyDeposited_OnSelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
cmbCashAccount.Items.Clear();
cmbCashAccount.Items.Add(new RadComboBoxItem("", ""));
cmbCashAccount.AppendDataBoundItems = true;
cmbCashAccount.DataSource = DataProvider.Database.BOPENACCOUNT_INTERNAL_GetByCode(rcbAccountType.SelectedValue, lblCustomerId.Text, cmbCurrencyDeposited.SelectedValue, cmbCustomerAccount.Text);
cmbCashAccount.DataTextField = "Display";
cmbCashAccount.DataValueField = "ID";
cmbCashAccount.DataBind();
}
示例14: cmbCategory_onselectedindexchanged
protected void cmbCategory_onselectedindexchanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
rcbProductLine.Items.Clear();
rcbProductLine.Items.Add(new RadComboBoxItem("", ""));
rcbProductLine.AppendDataBoundItems = true;
rcbProductLine.DataSource = DataProvider.DataTam.B_BPRODUCTLINE_GetByType(rcbcategory.SelectedItem.Attributes["Type"]);
rcbProductLine.DataTextField = "Description";
rcbProductLine.DataValueField = "ProductID";
rcbProductLine.DataBind();
}
示例15: list_SelectedIndexChanged
private void list_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
GridFilteringItem filterItem = (GridFilteringItem)((RadComboBox)o).NamingContainer;
if ((this.UniqueName == "Index"))
{
//this is filtering for integer column type
filterItem.FireCommandEvent("Filter", new Pair("EqualTo", this.UniqueName));
}
//filtering for string column type
filterItem.FireCommandEvent("Filter", new Pair("Contains", this.UniqueName));
}