South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Might be a badly-written script for the onmouseover event handler?
<asp:Button ID="btnSelectCourse" runat="server" CssClass="BlueButton" Text="Select" Width="71px" OnClick="btnSelectCourse_Click" Enabled="False" />
i think you might be correct, i do apply a custom css to the gridviewi know your problem necuno, its I.E 8
post the css.. thou i doubt its that, what type of cpu jump do you get in firefox?
<asp:GridView ID="gvEmployees" runat="server" AutoGenerateColumns="False" class="Grid" GridLines="None">
<Columns>
<asp:BoundField DataField="EmployeeNumber" HeaderText="Number" />
<asp:BoundField DataField="EmployeeFullName" HeaderText="Employee" />
[B] <asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" />
</ItemTemplate>
</asp:TemplateField>[/B]
</Columns>
<EditRowStyle CssClass="GridEditRow" />
<RowStyle CssClass="GridRow" />
<FooterStyle CssClass="GridFooter" />
<PagerStyle CssClass="GridPager" />
<SelectedRowStyle CssClass="GridSelectedRow" />
<HeaderStyle CssClass="GridHeader" />
<AlternatingRowStyle CssClass="GridAternatingRow" />
</asp:GridView>
.Grid td
{
word-wrap: break-word;
padding:4px;
color:#333333;
}
.GridRow
{
background-color:#F7F6F3;
color:#333333
}
.GridFooter
{
background-color:#5D7B9D;
font-weight:bold;
color:#FFFFFF
}
.GridPager
{
background-color:#284775;
color:#FFFFFF;
text-align:center
}
.GridSelectedRow
{
background-color:#E2DED6;
font-weight:bold;
color:#333333
}
.GridHeader th
{
word-wrap: break-word;
padding:3px;
background-color:#5D7B9D;
font-weight:bold;
color:#FFFFFF;
text-align:left
}
.GridEditRow
{
background-color:#999999
}
.GridAlternatingRow
{
background-color:White;
color:#284775
}
That CSS doesn't look like it should break it.
That's the one thing I have about .NET Grids - they add a lot of bloated markup that can slow down the page. I steer as far away from them as possible. Mind you, I steer away as far from a grid-based layout as possible. I HATE data grids!
I haven't even used IE8 yet and realized it's a load of cr@p. Just the mere fact that it tries to be standards compliant "by default" and has an emulation mode for older IE compatibility raises a bit of suspicion. All those extra layers just add bloat and makes browsing the web feel slow and laborious.
/end rant
My IE8 is screwing with me too. I get huge CPU spikes.. on websites. My Web Outlook hangs for 5 seconds while i type, and then contines... , hangs... continues. Never had this problem with IE 7.
I love the new extra dev tool. I used IE Dev Toolbar to death. Looks like the dev IE Dev Toolbar into IE8.i guess its to do with the extra dev tools (press F12) they are nice, it got better when i disabled all the addons and accelorators, but still dragged its feet on a full blown developed page.