Hello.
I have a Grid, the maximum of normal. When the user clicks the minimization oradjust the page width less than Gird column fixed width and time, and the last column will lose, I wonder if it is possible to adjust the width of the page in the last column cannot be lost.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test1.aspx.cs" Inherits="Com.Sinoyd.Framework.WebUI_AspNet.Modules.Portal.test1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
id
=
"Head1"
runat
=
"server"
>
<
title
></
title
>
<
style
type
=
"text/css"
>
html body form {
overflow: hidden;
}
</
style
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
DefaultLoadingPanelID
=
"RadAjaxLoadingPanel1"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadGrid1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
UpdatePanelHeight
=
"100%"
></
telerik:AjaxUpdatedControl
>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
/>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
Height
=
"100%"
>
<
telerik:RadSplitter
ID
=
"RadSplitter2"
runat
=
"server"
Orientation
=
"Horizontal"
ResizeWithParentPane
=
"true"
ResizeMode
=
"AdjacentPane"
CssClass
=
"RadSplitter_Custom"
Width
=
"100%"
Height
=
"100%"
BorderSize
=
"0"
PanesBorderSize
=
"0"
>
<
telerik:RadPane
ID
=
"RadPane1"
runat
=
"server"
>
<
div
id
=
"DivDataGrid"
class
=
"DivDataGrid"
style
=
"height: 100%; width: 100%;"
>
<
telerik:RadGrid
ID
=
"RadGrid1"
CssClass
=
"RadGrid_Custom"
Height
=
"100%"
Width
=
"100%"
Style
=
"border: 0; outline: none"
PageSize
=
"12"
AllowPaging
=
"True"
AllowSorting
=
"true"
AllowMultiRowSelection
=
"True"
runat
=
"server"
AutoGenerateColumns
=
"false"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
>
<
MasterTableView
TableLayout
=
"Fixed"
HeaderStyle-Height
=
"22px"
ItemStyle-Height
=
"22px"
HeaderStyle-Wrap
=
"false"
CommandItemDisplay
=
"None"
ClientDataKeyNames
=
""
InsertItemPageIndexAction
=
"ShowItemOnCurrentPage"
NoMasterRecordsText
=
"没有数据"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"Name"
HeaderText
=
"Column1"
Visible
=
"true"
ItemStyle-Width
=
"200"
HeaderStyle-Width
=
"200"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ColIndex"
HeaderText
=
"Column2"
Visible
=
"true"
ItemStyle-Width
=
"200"
HeaderStyle-Width
=
"200"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderNum"
HeaderText
=
"Column3"
HeaderStyle-Width
=
"200"
Visible
=
"true"
ItemStyle-Width
=
"200"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Icon"
HeaderText
=
"Column4"
HeaderStyle-Width
=
"200"
ItemStyle-Width
=
"200"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Url"
HeaderText
=
"LastColumn"
HeaderStyle-Width
=
"100%"
ItemStyle-Width
=
"100%"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
<
PagerStyle
Visible
=
"true"
AlwaysVisible
=
"true"
FirstPageToolTip
=
"首页"
NextPageToolTip
=
"下页"
LastPageToolTip
=
"尾页"
PrevPageToolTip
=
"上页"
PageSizeLabelText
=
"显示记录数:"
PagerTextFormat="跳转页面:{4} [第 <strong>{0}</
strong
> 页共 <
strong
>{1}</
strong
>页] [第 <
strong
>{2}</
strong
> 到 <
strong
>{3}</
strong
>,共 <
strong
>{5}</
strong
>条信息]"></
PagerStyle
>
<
ClientSettings
AllowColumnsReorder
=
"true"
ReorderColumnsOnClient
=
"true"
Selecting-AllowRowSelect
=
"false"
EnableRowHoverStyle
=
"true"
>
<
Resizing
AllowColumnResize
=
"true"
/>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
</
div
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
</
telerik:RadAjaxPanel
>
</
form
>
</
body
>
</
html
>
using
System;
using
System.Collections.Generic;
using
Telerik.Web.UI;
namespace
Com.Sinoyd.Framework.WebUI_AspNet.Modules.Portal
{
public
partial
class
test1 : BasePage
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected
void
RadGrid1_NeedDataSource(
object
sender, GridNeedDataSourceEventArgs e)
{
LoadData();
}
private
void
LoadData()
{
List<
string
> list =
new
List<
string
>();
list.Add(
"Presentation of data"
);
RadGrid1.DataSource = list;
}
}
}
The picture shows problems