Trying to get RoundedCornersExtender to work in MVC

Mar 9, 2011 at 4:39 AM

When I put the recommended code directly in the view:




<tc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="true" CombineScripts="true">





<asp:Panel ID="SidePanel1" runat="server" CssClass



tc1:RoundedCornersExtender ID="RCE_SidePanel1Inline" runat="server" Radius="15" TargetControlID="SidePanel1" BorderColor="#334499" Color="#FFFACE" Enabled





 The Browser just displays the panel as square, as if it is ignoring the rounded corner directive.

Would like  to know how to use the extender from the Controller and get it into the View().

When I Use RoundedCornersExtender rce = new RoundedCornersExtender(); and assign values to the properties, it all works in intellisense in the Controller, but I cannot get it into a readable object in the view.

 Please help me discover where I am going wrong on this.


Brian Popvec