Having problem with drawing rounded corners with borders using RoundedCornersExtender control

2 posts, 0 answers
  1. bathinaravi
    bathinaravi avatar
    1 posts
    Member since:
    Jul 2010

    Posted 22 Jul 2010 Link to this post

    I have created panel using below syntax <asp:Panel id="panel4" style="z-index:4;top:270px;left:270px;width:320px;height:200px;position:absolute;"  Enabled="True" CssClass="Panel" TabIndex="4" Visible="True" runat="server" ToolTip="" BackColor="" BorderStyle="NotSet" BorderWidth="0px">  <div style="clear:both"></div></asp:Panel> and added rounded corner extened control using <cc1:RoundedCornersExtender ID="RoundedCornersHeaderpanel4" Corners="All" runat="server" TargetControlID="panel4" BorderColor="Black" Enabled="True" Radius="10"></cc1:RoundedCornersExtender>

    Issue: At run time   there is  a gap between border and corners.iam using doctype of this" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >"
    if i changed the doc type to below "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    <html xmlns="http://www.w3.org/1999/xhtml" >" its working fine.

    Is there any solution for this with out changing the doc type?
    Advanced thanks for your help.

  2. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 22 Jul 2010 Link to this post

    Using xhtml1 doctype is more accurate, it is the default in VS 2008/2010. For more questions ask in the asp.net forums, I see no Telerik controls in your code.

Back to Top