Hi,
I am having trouble making this right. So I have a page containing one radgrid showed in a iframe (as attached).
The weird this is that the first time it shows, the grid width is not 100% consuming the whole iframe width. But, when I page into page 2, it resizes itself to 100% (the width I was expecting to be in the first load).
Any idea on how to fix this?
I use radgrid width 100% and all other column item and header is in percentage.
I am having trouble making this right. So I have a page containing one radgrid showed in a iframe (as attached).
The weird this is that the first time it shows, the grid width is not 100% consuming the whole iframe width. But, when I page into page 2, it resizes itself to 100% (the width I was expecting to be in the first load).
Any idea on how to fix this?
I use radgrid width 100% and all other column item and header is in percentage.
<
telerik:RadGrid
ID
=
"gvPreAddReturnsRequiringUserConfirmation"
runat
=
"server"
Width
=
"100%"
AllowPaging
=
"true"
BorderStyle
=
"None"
ShowHeader
=
"true"
ShowFooter
=
"false"
PageSize
=
"2"
AutoGenerateColumns
=
"false"
>
<
PagerStyle
AlwaysVisible
=
"false"
/>
<
MasterTableView
RetrieveAllDataFields
=
"false"
ClientDataKeyNames
=
"PreAddReturnID"
DataKeyNames
=
"PreAddReturnID"
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"UniqueIdentifier"
DataField
=
"UniqueIdentifier"
HeaderText
=
"Unique ID"
>
<
ItemStyle
Width
=
"15%"
/>
<
HeaderStyle
Width
=
"15%"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"FirstName"
DataField
=
"FirstName"
HeaderText
=
"First Name"
>
<
ItemStyle
Width
=
"20%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"20%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"LastOrBusinessName"
DataField
=
"LastOrBusinessName"
HeaderText
=
"Last/Business Name"
>
<
ItemStyle
Width
=
"20%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"20%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"StreetAddress"
DataField
=
"StreetAddress"
HeaderText
=
"Address"
>
<
ItemStyle
Width
=
"15%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"15%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"City"
DataField
=
"City"
HeaderText
=
"City"
>
<
ItemStyle
Width
=
"10%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"10%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"StateCode"
DataField
=
"StateCode"
HeaderText
=
"State"
>
<
ItemStyle
Width
=
"5%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"5%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"ZipCode"
DataField
=
"ZipCode"
HeaderText
=
"Zip Code"
>
<
ItemStyle
Width
=
"10%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"10%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"IOCMatchIndicator"
DataField
=
"IOCMatchIndicator"
HeaderText
=
"Match Indicator"
>
<
ItemStyle
Width
=
"5%"
HorizontalAlign
=
"Center"
/>
<
HeaderStyle
Width
=
"5%"
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>
</
Columns
>
<
NoRecordsTemplate
>
<
div
class
=
"box_notification info"
>
No PreAdd Returns</
div
>
</
NoRecordsTemplate
>
</
MasterTableView
>
</
telerik:RadGrid
>