This is a migrated thread and some comments may be shown as answers.

Having problem with drawing rounded corners with borders using RoundedCornersExtender control

1 Answer 47 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
bathinaravi
Top achievements
Rank 1
bathinaravi asked on 22 Jul 2010, 06:13 AM
Hi,
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.



thanks,
Ravi.

1 Answer, 1 is accepted

Sort by
0
Prangadj
Top achievements
Rank 1
answered on 22 Jul 2010, 10:40 AM
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.

Prangadj
Tags
Ajax
Asked by
bathinaravi
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Share this question
or