FineUI 官方论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

本论坛已关闭(禁止注册、发帖和回复)
请移步 三石和他的朋友们

FineUI首页 WebForms - MVC & Core - JavaScript 常见问题 - QQ群 - 十周年征文活动

FineUI(开源版) 下载源代码 - 下载空项目 - 获取ExtJS - 文档 在线示例 - 版本更新 - 捐赠作者 - 教程

升级到 ASP.NET Core 3.1,快、快、快! 全新ASP.NET Core,比WebForms还简单! 欢迎加入【三石和他的朋友们】(基础版下载)

搜索
查看: 6963|回复: 6
打印 上一主题 下一主题

【不是BUG】RadioButtonList在form中不显示

[复制链接]
跳转到指定楼层
楼主
发表于 2014-2-26 15:05:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
反馈BUG
程序版本: 3.3.1.1
浏览器: Chrome IE10 IE9 IE8 
BUG截图:
BUG地址: -
使用GroupPanel包含Form,且在Form中使用的FormRow
设置GroupPanel的 EnableCollapse="true"后,点击展开GroupPanel,然后RadioButtonList显示不出来
请问怎么解决。
以下是代码
<x:GroupPanel runat="server" Title="高级选项(展开获取更多个性化设置)" ID="gpAdvancedSet" EnableCollapse="true" Layout="Fit">
                            <Items>
                                <x:Form ShowBorder="False" BodyPadding="0px" EnableBackgroundColor="true" ShowHeader="False" runat="server" LabelWidth="80" Width="800">
                                    <Rows>
                                        <x:FormRow ColumnWidths="220 105 100%">
                                            <Items>
                                                <x:RadioButtonList ID="txtSendTime" runat="server" Label="发送时间" Width="150" AutoPostBack="true" OnSelectedIndexChanged="txtSendTime_SelectedIndexChanged">
                                                    <x:RadioItem Text="立即发送" Value="0" Selected="true" />
                                                    <x:RadioItem Text="定时发送" Value="1" />
                                                </x:RadioButtonList>
                                                <xatePicker runat="server" ShowLabel="false" EnableEdit="false" Width="100" DateFormatString="yyyy-MM-dd" ID="txtSetSendTimeDate" HideMode="Display" Hidden="true" />
                                                <x:TimePicker ID="txtSetSendTimeTime" ShowLabel="false" EnableEdit="false" Increment="5" Width="60" runat="server" HideMode="Display" Hidden="true" />
                                            </Items>
                                        </x:FormRow>
                                        <x:FormRow>
                                            <Items>
                                                <x:RadioButtonList ID="txtSendLevel" runat="server" Label="优先级" Width="150">
                                                    <x:RadioItem Text="普通" Value="0" Selected="true" />
                                                    <x:RadioItem Text="优先" Value="1" />
                                                </x:RadioButtonList>
                                            </Items>
                                        </x:FormRow>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
沙发
 楼主| 发表于 2014-2-27 13:43:38 | 只看该作者
又仔细看了一下,在IE11和Chrome中是不行的,在IE7,8是可以显示的。
板凳
发表于 2014-2-27 13:46:41 | 只看该作者
我在 FineUI V4.0 下测试的,没问题。主要是 FormRow 中的控件就不要设置宽度了。


我的测试代码:
  1. <f:GroupPanel runat="server" Title="高级选项(展开获取更多个性化设置)" ID="gpAdvancedSet" EnableCollapse="true" Layout="Fit">
  2.             <Items>
  3.                 <f:Form ShowBorder="False" BodyPadding="0px" ShowHeader="False" runat="server" LabelWidth="80">
  4.                     <Rows>
  5.                         <f:FormRow ColumnWidths="400 50% 50%">
  6.                             <Items>
  7.                                 <f:RadioButtonList ID="txtSendTime" runat="server" Label="发送时间">
  8.                                     <f:RadioItem Text="立即发送" Value="0" Selected="true" />
  9.                                     <f:RadioItem Text="定时发送" Value="1" />
  10.                                 </f:RadioButtonList>
  11.                                 <f:DatePicker runat="server" ShowLabel="false" EnableEdit="false" DateFormatString="yyyy-MM-dd" ID="txtSetSendTimeDate" HideMode="Display" Hidden="true" />
  12.                                 <f:TimePicker ID="txtSetSendTimeTime" ShowLabel="false" EnableEdit="false" Increment="5" HideMode="Display" Hidden="true" runat="server" />
  13.                             </Items>
  14.                         </f:FormRow>
  15.                         <f:FormRow ColumnWidths="400 100%">
  16.                             <Items>
  17.                                 <f:RadioButtonList ID="txtSendLevel" runat="server" Label="优先级">
  18.                                     <f:RadioItem Text="普通" Value="0" Selected="true" />
  19.                                     <f:RadioItem Text="优先" Value="1" />
  20.                                 </f:RadioButtonList>
  21.                                 <f:Label runat="server" Hidden="true"></f:Label>
  22.                             </Items>
  23.                         </f:FormRow>
  24.                     </Rows>
  25.                 </f:Form>
  26.             </Items>
  27.         </f:GroupPanel>
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
地板
 楼主| 发表于 2014-2-27 14:35:39 | 只看该作者
你好,我需要升级到4.0吗?
5#
发表于 2014-2-27 14:47:27 | 只看该作者
奇玉 发表于 2014-2-27 14:35
你好,我需要升级到4.0吗?

把我给的代码在你的环境中测试下,看行不
6#
 楼主| 发表于 2014-2-27 15:00:16 | 只看该作者
您好,你的程序我单独用没有问题。
但加到我的程序中还是不行,这是我的源码,麻烦你给看一下。谢谢了。
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="voicesend.aspx.cs" Inherits="voice_voicesend" %>

  2. <!DOCTYPE html>

  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6.     <title></title>
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.         <x:PageManager ID="PageManager1" runat="server" />
  11.         <x:Panel ID="Panel1" runat="server" AutoHeight="true" AutoWidth="true"
  12.             EnableBackgroundColor="true" BodyPadding="10px" EnableCollapse="True" ShowHeader="false" AutoScroll="true">
  13.             <Items>
  14.                 <x:SimpleForm ID="SimpleForm1" BodyPadding="0px" ShowHeader="false" runat="server" EnableBackgroundColor="true" ShowBorder="false" LabelWidth="75">
  15.                     <Items>
  16.                         <x:DropDownList ID="txtVoiceFile" ShowEmptyLabel="true" runat="server" Width="400"></x:DropDownList>
  17.                         <x:Label ID="Label4" runat="server" Text=" " />
  18.                         <x:TextBox ID="txtTaskName" runat="server" Label="任务名称" MaxLength="100" ShowRedStar="true" Width="400" />
  19.                         <x:Label ID="Label6" runat="server" Text=" " />
  20.                         <x:GroupPanel runat="server" Title="高级选项(展开获取更多个性化设置)" ID="gpAdvancedSet" EnableCollapse="true" Collapsed="true" Layout="Fit">
  21.                             <Items>
  22.                                 <x:Form  ShowBorder="False" BodyPadding="0px" ShowHeader="False" runat="server" LabelWidth="80">
  23.                                     <Rows>
  24.                                         <x:FormRow ColumnWidths="400 50% 50%">
  25.                                             <Items>
  26.                                                 <x:RadioButtonList ID="txtSendTime" runat="server" Label="发送时间" >
  27.                                                     <x:RadioItem Text="立即发送" Value="0" Selected="true" />
  28.                                                     <x:RadioItem Text="定时发送" Value="1" />
  29.                                                 </x:RadioButtonList>
  30.                                                 <x:DatePicker runat="server" ShowLabel="false" EnableEdit="false" DateFormatString="yyyy-MM-dd" ID="txtSetSendTimeDate" HideMode="Display" Hidden="true" />
  31.                                                 <x:TimePicker ID="txtSetSendTimeTime" ShowLabel="false" EnableEdit="false" Increment="5" runat="server" HideMode="Display" Hidden="true" />
  32.                                             </Items>
  33.                                         </x:FormRow>
  34.                                         <x:FormRow>
  35.                                             <Items>
  36.                                                 <x:RadioButtonList ID="txtSendLevel" runat="server" Label="优先级" Width="150">
  37.                                                     <x:RadioItem Text="普通" Value="0" Selected="true" />
  38.                                                     <x:RadioItem Text="优先" Value="1" />
  39.                                                 </x:RadioButtonList>
  40.                                             </Items>
  41.                                         </x:FormRow>
  42.                                         <x:FormRow ColumnWidths="183 100%">
  43.                                             <Items>
  44.                                                 <x:DatePicker runat="server" EnableEdit="false" Width="100" DateFormatString="yyyy-MM-dd" ID="txtSendEndDate" Label="截止时间" />
  45.                                                 <x:TimePicker ID="txtSendEndTime" ShowLabel="false" EnableEdit="false" Increment="5" Width="60" runat="server" />
  46.                                             </Items>
  47.                                         </x:FormRow>
  48.                                         <x:FormRow>
  49.                                             <Items>
  50.                                                 <x:RadioButtonList ID="txtRecord" runat="server" Width="100" Label="是否录音">
  51.                                                     <x:RadioItem Text="否" Value="0" Selected="true" />
  52.                                                     <x:RadioItem Text="是" Value="1" />
  53.                                                 </x:RadioButtonList>
  54.                                             </Items>
  55.                                         </x:FormRow>
  56.                                         <x:FormRow>
  57.                                             <Items>
  58.                                                 <x:NumberBox ID="txtMaxNum" runat="server" MinValue="10" MaxValue="500" Text="100" DecimalPrecision="0" Width="100" Label="最大呼叫并发数" />
  59.                                             </Items>
  60.                                         </x:FormRow>
  61.                                         <x:FormRow ColumnWidths="160 100%">
  62.                                             <Items>
  63.                                                 <x:RadioButtonList ID="txtLimitedTime" runat="server" Width="100" Label="是否限时" AutoPostBack="true" OnSelectedIndexChanged="txtLimitedTime_SelectedIndexChanged">
  64.                                                     <x:RadioItem Text="否" Value="0" Selected="true" />
  65.                                                     <x:RadioItem Text="是" Value="1" />
  66.                                                 </x:RadioButtonList>
  67.                                                 <x:Label Text="(默认发送时间08:00-22:00) " runat="server" CssStyle="color:red;" ShowLabel="false" />
  68.                                             </Items>
  69.                                         </x:FormRow>
  70.                                         <x:FormRow ColumnWidths="120 185 55 100%">
  71.                                             <Items>
  72.                                                 <x:DropDownList ID="txtusernum" Label="播放次数" runat="server" Width="40" >
  73.                                                     <x:ListItem Text="1" Value="1"/>
  74.                                                     <x:ListItem Text="2" Value="2" Selected="true"/>
  75.                                                     <x:ListItem Text="3" Value="3"/><x:ListItem Text="4" Value="4"/>
  76.                                                     <x:ListItem Text="5" Value="5"/><x:ListItem Text="6" Value="6"/>
  77.                                                     <x:ListItem Text="7" Value="7"/><x:ListItem Text="8" Value="8"/>
  78.                                                     <x:ListItem Text="9" Value="9"/><x:ListItem Text="10" Value="10"/>
  79.                                                 </x:DropDownList>
  80.                                                 <x:Label Text="次 (1~10次)    等待用户按键时长" ShowLabel="false" runat="server" Width="185" />
  81.                                                 <x:DropDownList ID="DropDownList1" ShowLabel="false" runat="server" Width="50" >
  82.                                                     <x:ListItem Text="5" Value="5"/>
  83.                                                     <x:ListItem Text="10" Value="10" Selected="true"/>
  84.                                                     <x:ListItem Text="20" Value="20"/>
  85.                                                 </x:DropDownList>
  86.                                                 <x:Label Text="秒 (5~20秒) " ShowLabel="false" runat="server" />
  87.                                             </Items>
  88.                                         </x:FormRow>
  89.                                         <x:FormRow ColumnWidths="125 320 100%">
  90.                                             <Items>
  91.                                                 <x:DropDownList ID="DropDownList2" Label="重呼次数" runat="server" Width="45" >
  92.                                                     <x:ListItem Text="0次" Value="0" Selected="true"/>
  93.                                                     <x:ListItem Text="1次" Value="1"/>
  94.                                                 </x:DropDownList>
  95.                                                 <x:Label Text="(未接通号码系统自动重新呼叫次数)    重新呼叫时间间隔:" ShowLabel="false" runat="server" Width="320" />
  96.                                                 <x:DropDownList ID="DropDownList3" ShowLabel="false" runat="server" Width="50" >
  97.                                                     <x:ListItem Text="30秒" Value="30"/>
  98.                                                     <x:ListItem Text="60秒" Value="60" Selected="true"/>
  99.                                                 </x:DropDownList>
  100.                                             </Items>
  101.                                         </x:FormRow>
  102.                                     </Rows>
  103.                                 </x:Form>
  104.                             </Items>
  105.                         </x:GroupPanel>
  106. </x:Panel>
  107.                     </Items>
  108.                 </x:SimpleForm>
  109.             </Items>
  110.         </x:Panel>
  111.     </form>
  112. </body>
  113. </html>
复制代码



7#
发表于 2014-3-2 12:55:41 | 只看该作者
对比下我给的代码,FormRow 中的控件不需要指定宽度
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|FineUI 官方论坛 ( 皖ICP备2021006167号-1 )

GMT+8, 2024-6-29 08:42 , Processed in 0.053255 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表