当前位置: 首页>>代码示例>>C#>>正文


C# RadComboBoxSelectedIndexChangedEventArgs类代码示例

本文整理汇总了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;
 }
开发者ID:EgyFalseX,项目名称:WebSites,代码行数:7,代码来源:AchievementsAdmin.ascx.cs

示例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));

        }
    }
开发者ID:dcolonvizi,项目名称:ViziAppsPortal,代码行数:27,代码来源:PublishingForm.aspx.cs

示例3: courseList_SelectedIndexChanged

 protected void courseList_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
 {
     gradeList.SelectedIndex = 0;
     BindTree();
     InitTree();
     grid.Rebind();
 }
开发者ID:Homory-Temp,项目名称:LeYi,代码行数:7,代码来源:CGCatalog.aspx.cs

示例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;
         }
     }
 }
开发者ID:nguyenppt,项目名称:biscorebanksys,代码行数:25,代码来源:CashWithdrawalsBuying.ascx.cs

示例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");
    }
开发者ID:dcolonvizi,项目名称:ViziAppsPortal,代码行数:31,代码来源:ManagePageData.aspx.cs

示例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);
    }
开发者ID:dcolonvizi,项目名称:ViziAppsPortal,代码行数:29,代码来源:Admin.aspx.cs

示例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;
        }
    }
开发者ID:dcolonvizi,项目名称:ViziAppsPortal,代码行数:33,代码来源:AppDevice.aspx.cs

示例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;
            }
        }
开发者ID:nguyenppt,项目名称:tfinance0115,代码行数:59,代码来源:InwardProcessCreditAcc.ascx.cs

示例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;
            }
        }
开发者ID:nguyenppt,项目名称:tfinance0115,代码行数:59,代码来源:InwardCashWithdraw.ascx.cs

示例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();
 }
开发者ID:WFPVAM,项目名称:GRASPReporting,代码行数:8,代码来源:IndexManagement.aspx.cs

示例11: combo_SelectedIndexChanged

 protected void combo_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
 {
     BindTree();
     InitTree();
     grid.Rebind();
     view.Rebind();
     viewX.Rebind();
 }
开发者ID:Homory-Temp,项目名称:LeYi,代码行数:8,代码来源:Authorize.aspx.cs

示例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--";
    }
开发者ID:hurricanechaser,项目名称:CareerJobs,代码行数:10,代码来源:Job_AdminLocation.aspx.cs

示例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();
 }
开发者ID:nguyenppt,项目名称:biscorebanksys,代码行数:10,代码来源:CashDeposits.ascx.cs

示例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();
 }
开发者ID:nguyenppt,项目名称:biscorebanksys,代码行数:10,代码来源:UnBlockAcct_Enquiry.ascx.cs

示例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));
 }
开发者ID:zgying,项目名称:CRMWeiXin,代码行数:11,代码来源:CustomFilteringColumn.cs


注:本文中的RadComboBoxSelectedIndexChangedEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。