Properly overriding the Width Property of Web Control?

Posted by: Rick Strahls WebLog, on 15 Oct 2006 | View original | Bookmarked: 0 time(s)

Ok, heres a stupid question I keep running into this from time to time and I waste a few minutes on this every time I do and Ive never really resolved this properly.   If I have a control that inherits say from a Panel control (which basically generates a <div>) and I want to override the width to a different default value I do:   /// <summary> /// Override default Width /// </summary>           [DefaultValue(typeof(Unit),"250px")] public...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2385 | Hits: 484

Similar Posts

  • Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness more
  • Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier more
  • Ajax Control Toolkit: new controls, bug fixes more
  • Announcing the WebsiteSpark Program more
  • Announcing the Microsoft AJAX CDN more
  • Intersoft Solutions Announces WebUI Studio 2009 Service Pack 1 more
  • Tutorial: create a custom Silverlight Splash Screen more
  • Creating Objects with Observable Properties in JavaScript more
  • RadFormDecorator is Getting Even More CSS3 more
  • ASP.NET MVC: DevExpress Mail Demo more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD