Hi My RadGrids column width's are not being constrained.
It doesn't matter if i set the header-item-width or the whole radgrid's with or item-width or put div tags around it and constrain the size of the div, - the RadGrid will grow as much as needed to fit all of it's data it will grow to way off the screen, it will not wrap the column's data either.
I've attached a screenshot to illustrate the issue.
And here is the aspx code--- do you see any reason why the column is going off the page like crazy?
It doesn't matter if i set the header-item-width or the whole radgrid's with or item-width or put div tags around it and constrain the size of the div, - the RadGrid will grow as much as needed to fit all of it's data it will grow to way off the screen, it will not wrap the column's data either.
I've attached a screenshot to illustrate the issue.
And here is the aspx code--- do you see any reason why the column is going off the page like crazy?
<
div
style
=
"width:1000px"
>
<
telerik:RadGrid
ID
=
"rgLCSLog"
runat
=
"server"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
GridLines
=
"None"
AutoGenerateDeleteColumn
=
"True"
onneeddatasource
=
"rgLCSLog_NeedDataSource"
AutoGenerateEditColumn
=
"True"
oninsertcommand
=
"rgLCSLog_InsertCommand"
ondeletecommand
=
"rgLCSLog_DeleteCommand"
onupdatecommand
=
"rgLCSLog_UpdateCommand"
Width
=
"1000px"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
EditMode
=
"EditForms"
DataKeyNames
=
"id"
>
<
CommandItemSettings
AddNewRecordText
=
"Add LCS Log"
/>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"time_off"
FilterControlAltText
=
"Filter column column"
HeaderText
=
"Time Off"
UniqueName
=
"column"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"time_on"
FilterControlAltText
=
"Filter column1 column"
HeaderText
=
"Time On"
UniqueName
=
"column1"
DataType
=
"System.DateTime"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"equipment_area"
FilterControlAltText
=
"Filter column2 column"
HeaderText
=
"Equip/Area"
UniqueName
=
"column2"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"affected_customers"
FilterControlAltText
=
"Filter column3 column"
HeaderText
=
"Affected Customers"
UniqueName
=
"column3"
HeaderStyle-Width
=
"100px"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Account_Representative"
FilterControlAltText
=
"Filter column4 column"
HeaderText
=
"Acct Rep"
UniqueName
=
"column4"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"last_updated"
FilterControlAltText
=
"Filter column5 column"
HeaderText
=
"Last Updated"
UniqueName
=
"column5"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"last_updated_by"
FilterControlAltText
=
"Filter column6 column"
HeaderText
=
"Last Updated By"
UniqueName
=
"column6"
>
</
telerik:GridBoundColumn
>
</
Columns
>
<
EditFormSettings
UserControlName
=
"~/ReportControls/AddEditGridControls/AddEditLCSLog.ascx"
EditFormType
=
"WebUserControl"
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
div
>