using System; using FastReport.Dialog; using static FastReport.Web.Constants; namespace FastReport.Web { public partial class Dialog { private void RadioButtonClick(RadioButtonControl rb, string data) { bool oldValue = rb.Checked; rb.Checked = data == "true"; rb.FilterData(); rb.OnClick(null); if (oldValue != rb.Checked) rb.OnCheckedChanged(EventArgs.Empty); } private string GetRadioButtonHtml(RadioButtonControl control) { string id = GetControlID(control); string html = $"" + $"" + $""; return html; } private string GetRadioButtonStyle(RadioButtonControl control) { return GetStandardStyle(control); } } }