Hi friends,
I have several questions for multiple value parameters
I have several questions for multiple value parameters
- What if I want to hard code the values ? for Example Labels may read "Label 1" , "Label 2" , "Label 3" , "Label 4" But the values would be 1,2,3 and 4 res. Below is what I tried.
//Report1.Designer.cs : Designer Code behind (to display the report parameter setup that I have)reportParameter2.AllowBlank =false;reportParameter2.AutoRefresh =true;reportParameter2.MultiValue =true;reportParameter2.Name ="Parameter2";reportParameter2.Text ="Checkbox List";reportParameter2.Type = Telerik.Reporting.ReportParameterType.Integer;reportParameter2.Visible =true;this.ReportParameters.Add(reportParameter1);this.ReportParameters.Add(reportParameter2);// Default.aspx.cspublicpartialclass_Default : System.Web.UI.Page{protectedvoidPage_Load(objectsender, EventArgs e){var report =newWebApplication1.Report1();int[] CheckBoxList = { 0, 1 };report.ReportParameters["Parameter2"].MultiValue =true;report.ReportParameters["Parameter2"].Value = CheckBoxList;//report.ReportParameters[1].Value = Gender;ReportViewer1.Report = report;ReportViewer1.RefreshReport();}} - I can not see the check-boxes with the above scenario ?
- Is there any way so that I can implement the radio button group.As we do doe gender, for example ?