ラベル screen の投稿を表示しています。 すべての投稿を表示
ラベル screen の投稿を表示しています。 すべての投稿を表示

2012年3月21日水曜日

roundedcorners postback flicker

Hey guys.

I have a formview within a panel. Everything works great and when adding a post the screen wont flicker and the post is viewable in the panel immediately.

I recently tried to apply an ajax roundedcorners tool on the panel and it works but the screen flickers at every postback. Is there a way around this?

Could you post some sample code that reproduces the issue? I tried it out but perhaps I am missing something.

<asp:ScriptManagerrunat="server"></asp:ScriptManager><asp:PanelID="Panel1"runat="server"Width="330px"BackColor="Blue"><asp:FormViewrunat="server"ID="EmployeeFormView"AllowPaging="True"DataSourceID="ObjectDataSource1"></asp:FormView><asp:ObjectDataSourceID="ObjectDataSource1"runat="server"DeleteMethod="Delete"InsertMethod="Insert"OldValuesParameterFormatString="original_{0}"SelectMethod="Select"TypeName="SessionTodoXmlDataObject"UpdateMethod="Update"><DeleteParameters><asp:ParameterName="Original_ItemID"Type="Int32"/></DeleteParameters><UpdateParameters><asp:ParameterName="Title"Type="String"/><asp:ParameterName="Description"Type="String"/><asp:ParameterName="Priority"Type="Int32"/><asp:ParameterName="Original_ItemID"Type="Int32"/></UpdateParameters><InsertParameters><asp:ParameterName="Title"Type="String"/><asp:ParameterName="Description"Type="String"/><asp:ParameterName="Priority"Type="Int32"/></InsertParameters></asp:ObjectDataSource></asp:Panel><cc1:RoundedCornersExtenderID="RoundedCornersExtender1"runat="server"BehaviorID="RoundedCornersBehavior1"TargetControlID="Panel1"Radius="10"Corners="All"/><asp:Buttonrunat="Server"Text="Postback"/>

RoundedCornersExtender control problem

I've hit an issue with the screen "flickering" when i use the RoundedCornersExtender on multiple panels. It only happens if you place a drop down on one of the panels. If you get rid of the dropdowns it won't do it.

The funny thing is it only happens in IE...works fine in FireFox.

Anyone have any ideas?

here is the html for the page:

<%@dotnet.itags.org.PageLanguage="C#"AutoEventWireup="true"CodeFile="test.aspx.cs"Inherits="MasterPages_test" %>

<%@dotnet.itags.org.RegisterAssembly="AtlasControlToolkit"Namespace="AtlasControlToolkit"TagPrefix="cc5" %>

<%@dotnet.itags.org.RegisterAssembly="Microsoft.Web.Atlas"Namespace="Microsoft.Web.UI"TagPrefix="cc4" %>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<cc5:RoundedCornersExtenderID="RoundedCornersExtender1"runat="server">

<cc5:RoundedCornersProperties

TargetControlID="Panel1"

Radius="6"

/>

<cc5:RoundedCornersProperties

TargetControlID="Panel2"

Radius="6"

/>

<cc5:RoundedCornersProperties

TargetControlID="Panel3"

Radius="6"

/>

</cc5:RoundedCornersExtender>

<cc4:ScriptManagerID="ScriptManager1"runat="server">

</cc4:ScriptManager>

<headrunat="server">

<title>Untitled Page</title>

</head>

<body>

<formid="form1"runat="server">

<asp:PanelBackColor="blue"runat="server"width="100%"ID="Panel1">

<centerid="center1">test1</center>

<asp:ButtonBorderStyle="Groove"ID="Button1"runat="server"Text="Button"/>

<asp:ButtonBorderStyle="Groove"ID="Button2"runat="server"Text="Button"/>

<asp:ButtonBorderStyle="Groove"ID="Button3"runat="server"Text="Button"/>

</asp:Panel>

<asp:PanelBackColor="blue"runat="server"width="100%"ID="Panel2">

<centerid="center2">test2</center>

<asp:ButtonBorderStyle="Groove"ID="Button4"runat="server"Text="Button"/>

<asp:ButtonBorderStyle="Groove"ID="Button5"runat="server"Text="Button"/>

<asp:ButtonBorderStyle="Groove"ID="Button6"runat="server"Text="Button"/>

<asp:dropdownlistID="Dropdownlist2"runat="server"></asp:dropdownlist>

</asp:Panel>

<asp:PanelBackColor="blue"runat="server"width="100%"ID="Panel3">

<centerid="center3">test3</center>

<asp:ButtonBorderStyle="Groove"ID="Button7"runat="server"Text="Button"/>

<asp:ButtonBorderStyle="Groove"ID="Button8"runat="server"Text="Button"/>

<asp:ButtonBorderStyle="Groove"ID="Button9"runat="server"Text="Button"/>

<asp:dropdownlistID="Dropdownlist1"runat="server"></asp:dropdownlist>

</asp:Panel>

</form>

</body>

</html>

Hi robpor88,

Thanks for bringing this to our attention. Does it flicker when loading, scrolling, or at other times? Could you perhapsfile a bug over at CodePlex?

Thanks,
Ted