<
telerik:RadGrid
runat
=
"server"
ID
=
"rgAMASM"
DataSourceID
=
"odsAMASM"
AllowPaging
=
"True"
GridLines
=
"None"
Skin
=
"Office2007"
AllowSorting
=
"True"
Height
=
"347px"
OnPageSizeChanged
=
"rgAMASM_PageSizeChanged"
OnColumnCreated
=
"rgAMASM_ColumnCreated"
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
DataSourceID
=
"odsAMASM"
CommandItemDisplay
=
"Bottom"
DataKeyNames
=
"Asset_ID"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
ShowAddNewRecordButton
=
"False"
ShowRefreshButton
=
"False"
>
</
CommandItemSettings
>
<
RowIndicatorColumn
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
>
</
HeaderContextMenu
>
</
telerik:RadGrid
>
<
asp:ObjectDataSource
ID
=
"odsAMASM"
runat
=
"server"
SelectMethod
=
"WT_BROWSEAMASM"
TypeName
=
"WorkTech.WTLIB+WTDAL+Functions"
OnSelecting
=
"odsAMASM_Selecting"
OnSelected
=
"odsAMASM_Selected"
>
<
SelectParameters
>
<
asp:Parameter
Name
=
"uid"
Type
=
"Int32"
/>
</
SelectParameters
>
</
asp:ObjectDataSource
>
Hi Telerik Team,
Before posting this issue, I tried search for similar issue here and tried. But couldn't solve our issue.
About our issue - (Which works fine in Firefox, but not working in IE8/9)
We are using Telerik RadGrid - which is displaying properly if there is NO vertical scrollbar. (Attachment - IE - With No Scrollbar.JPG)
If a vertical scroll-bar appears, the alignment between header and item goes wrong. (Attachment - IE.JPG)
This is displaying fine in Firefox - (Attachment - Firefox.JPG)
We noticed that if we resize the column width using mouse manually, entire alignment issue vanishes!! (Attachment - IE - Resizing.JPG & IE - After Resize.JPG)
I believe this explanation & screen-shots make sense.
This issue really kills the appearance of Telerik RadGrid and we are not satisfied with it - We tried a lot to fix it.
Finally we found that we are using on javascript to resize Grid's height & width based on the browser's width & height. That was causing this issue. When we commented the javascript code to set the grid's width, I think this issue is solved.
After posting the question for help only, we found this solution!!
Let us test this issue and will be back, if we have any issues.
Thanks
Steve
<
radGrid:RadGrid ID="gdViewOrders" runat ="server" AutoGenerateColumns="false" AllowMultiRowSelection="false" EnableAJAX="true" AllowMultiRowEdit="true" OnEditCommand="gdViewOrder_EditMode" OnUpdateCommand="gdViewOrder_UpdateMode">
<MasterTableView EditMode="InPlace" DataKeyNames="OrdID">
<Columns>
<radGrid:GridEditCommandColumn UniqueName="EditCommandColumn"></radGrid:GridEditCommandColumn>
<radGrid:GridBoundColumn HeaderText="Order ID" DataField="OrdID" ReadOnly="true"></radGrid:GridBoundColumn>
<radGrid:GridBoundColumn HeaderText="Name" DataField="CustName" UniqueName="Name"></radGrid:GridBoundColumn>
</Columns>
</MasterTableView>
</radGrid:RadGrid>
protected
void gdViewOrder_UpdateMode(object sender, Telerik.WebControls.GridCommandEventArgs e)
{
GridEditableItem editedItem = (GridEditableItem)e.Item;
int id = Convert.ToInt32(editedItem.GetDataKeyValue("OrdID"));
string objName = (editedItem["Name"].Controls[0] as TextBox).Text;
bool response = objOrders.UpdateOrder(id, objName, objAddress.Text, objSeller.Text, Convert.ToInt32(objStatus.Text));
lblMessage.Text = "Order has not been updated successfully.";
}