FineUI 官方论坛
标题:
页面布局知识咨询
[打印本页]
作者:
lrAbel
时间:
2020-7-28 10:49
标题:
页面布局知识咨询
本帖最后由 lrAbel 于 2020-7-28 10:51 编辑
如图,我在前台页面希望把asp.net的控件和fineui的控件放在一起的,但是Grid的分页那块和列是绑在一起的,没有铺开,是不是我写的前台代码不对前台代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f: PageManager ID="P ageManager1" runat="server" AjaxAspnetControls="btnUpload,upload" FormMessageTarget="Qtip" AjaxLoadingType="Mask" />
<f: Panel runat="server" ID="Panel2" ShowBorder="false" ShowHeader="false">
<Items>
<f:ContentPanel runat="server" ID="cp" ShowHeader="false">
<Items>
<asp:Button runat="server" ID="btnUpload" CssClass="Button" Text="上传" Width="67px" Style="height: 24px; margin: 3px 3px 3px 11px;" />
<asp:FileUpload runat="server" AllowMultiple="true" ID="upload" Style="height: 24px; margin: 3px 3px 3px 11px;" />
</Items>
</f:ContentPanel>
</Items>
<Items>
<f:Grid EnableMultiSelect="true" AllowPaging="true" EnableColumnLines="true" ShowPageSize="true" ShowHeader="false" ShowBorder="false" runat="server" ID="grdMain"
IsDatabasePaging="true">
<Toolbars>
<f:Toolbar ID="Toolbar1" runat="server">
<Items>
<f:Button runat="server" Text="保存" Icon="SystemSave" ID="btnAdd"></f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Grid>
</Items>
</f: Panel>
</form>
</body>
</html>
作者:
sanshi
时间:
2020-7-30 12:00
Panel2里面只放一个Items属性,可以用VBox布局:
https://www.cnblogs.com/sanshi/archive/2012/07/27/2611116.html
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4