Telerik blogs

Latest

  • Web ASP.NET AJAX

    Integrated Description field in RadScheduler for ASP.NET AJAX

    .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; } One very common issue that we’ve addressed in the Q3 release is the lack of a description field for the appointments. Until now you had to customize the advanced template in order to get one, but not any more. How to enable the integrated description field: Data Source - set DataDescriptionField to the corresponding column in your database: <telerik:RadScheduler runat="server" ID="RadScheduler1" DataSourceID="AppointmentsDataSource" DataKeyField="ID" DataSubjectField="Subject" DataDescriptionField="Description" DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"> ... </telerik:RadScheduler> Provider – set EnableDescriptionField to “true” and persist the Appointment.Description value in your provider. <telerik:RadScheduler runat="server" ID="RadScheduler1" ProviderName="XmlSchedulerProvider" EnableDescriptionField="true" > ... </telerik:RadScheduler> This is all you need for editing and storing the description, but what about showing it? A simple appointment template will do: <AppointmentTemplate> <div> <%#...
    December 17, 2009
  • Web

    How To: Display RadGridView Row Details with RadWindow for Silverlight

    In one of my previous blog posts I have explained how to display hierarchical data with Row Details. Now, if you are familiar with Row Details features, you know that you are not limited to showing the details inside RadGridView. You can show them anywhere by using the handy external DetailsPresenter. As a matter of fact, each GridViewRow has one of those DetailsPresenter’s inside its template. So you will be using the same class that we are using internally to show the details of each single row. The documentation states that in order to display Row Details outside RadGridView, you need to place...
    December 11, 2009
  • Web

    How to add a scrollbar to Telerik RadMenu for Silverlight

    As we received a lot of questions on how to add a ScrollViewer to the RadMenu control for Silverlight, in this blog post I am going to explain how you can achieve this. Adding a ScrollViewer to RadMenu for Silverlight can be easily accomplished using Expression Blend. Step 1. Create a new Silverlight 3 Application. Step 2. Add references to Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Navigation.dll in your project. Step 3. Drag RadMenu and RadMenuItem controls from the Toolbox and drop them on the design surface.   Step 4. Right-click on one of the RadMenuItems and select EditStyle or select it and from the menu by choosing Object -> Edit Style ->...
    December 10, 2009
  • Web ASP.NET AJAX

    RadFormDecorator – New Styling Options for WebKit Browsers

    I am happy to announce that with Q3.2009 SP1 we have added a new important styling option for the scrollbars of textboxes and overflown <div /> elements for Apple Safari and Google Chrome: If you are running a custom skin and would like to use the new functionality, here are a few easy steps to upgrade: 1. Make sure that you are using Q3.2009 SP1 (2009.3.1208.35). 2. Open [RadControlsInstallationRoot]/Skins/FormDecorator.css – the base stylesheet of RadFormDecorator and go to line (Ctrl + G) 612, i.e. where the "ScrollBar CSS Settings for WebKit" code comment is. 3. Copy the CSS rules from line 612 to the...
    December 10, 2009
  • Web ASP.NET AJAX

    RadControls for ASP.NET AJAX CDN Support and Visual Studio Extensions

    You've probably already heard about the CDN support of RadScriptManager and RadStyleSheetManager (part of the RadControls for ASP.NET AJAX suite).   Removing the need to manually edit the web.config file, the Project Management Wizard (started through the Telerik -> RadControls for ASP.NET AJAX > Convert to Telerik Project/Configure WebSite menu) now allows you to define if you want to enable or disable CDN support for each of the controls globally (website wide).   In a manner, similar to the global skin, CDN support can be enabled/disabled at control level, overriding the global setting in the web.config file. All you need is use the CDNSettings property...
    December 09, 2009