Is it possible to use the RoundedCornerExtender on divs? I got it to work on my panel, but for some reason my panels don't take the CSS class I assign them to.
Thanks!
Is it possible to use the RoundedCornerExtender on divs? I got it to work on my panel, but for some reason my panels don't take the CSS class I assign them to.
Thanks!
I have placed a rounded corner extender inside a datalist. Now I placed a named anchor (<a name="_myanchor">)
In another page I have set a link like "Mypage.aspx#_myanchor"
When its run in IE it works great and page scrolls to the bottom.
When its open in FF it moves to bottom, it takes two secs to draw the rounded corners (my be because there are more than 50 records) and scrolls little up.
I think the reason for this is rounded corner with border is drawn around the actual div resulting in an increase of the size (height also) of the page. When I disabled the extender it works perfect.
Please advice..
Thanks in Advance
Any hope?
Hello,
i am using several RoundedCornerExtenders in an application.
When the page is displayed i notice a delay of about half a second (guessed, not measured) to display the rounded corners. That means when the page is loaded i first see the panel that has been extended and then after the short delay the rounded corners are added.
The property "Radius" is set to 10 and i have set a backgruond color so i get a nice colored bar with round corners at the top and the botton of my panels.
Can anyone give me a hint how this display delay can be removed?
Thanks in advance,
Ralf
You might consider changing the LoadScriptsBeforeUI setting, but be sure you consider the side effects as well:http://ajax.asp.net/docs/mref/P_System_Web_UI_ScriptManager_LoadScriptsBeforeUI.aspx
I created a cortrol that works ok except for the rounded corner on the panel that contains a gridview of selectable items.
i know it has to do with the size of the panel but the grid view will be different heights depending on the items returns for that page.
this one has to be a common problem.
Specificly the rounded corner bottom appears in the middle of the gridview.
Thanks!
KES
Hi,
You may specify the panel's height & width programmatically in the databound event of the GridView.
Thank you for responding
I know i can set the panel size and width the question is by how much? some lines wrap and other do not. I am really looking for a way to get the extender to reconize the current size of the panel as dictated by the objects populating it.
What about use percentage to represent the panle's width and height. For instance:
<%@. Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"></script><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> </div> <asp:Panel ID="Panel1" runat="server" Height="60%" Width="80%"> <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" Height="100%"> </asp:GridView> <ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" BehaviorID="RoundedCornersBehavior1" BorderColor="blue" TargetControlID="Panel1" Radius="6" Corners="All" /> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString%>" SelectCommand="SELECT [EmployeeID], [LastName], [FirstName], [Title], [TitleOfCourtesy] FROM [Employees]" ProviderName="<%$ ConnectionStrings:NorthwindConnectionString.ProviderName%>"> </asp:SqlDataSource> </asp:Panel> </form></body></html>
running atlas,ajax