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"/>

0 件のコメント:

コメントを投稿