Recently a question regarding how to change the BackColor of the RadMenu for WinForms. I thought it might be easier to outline this process with screenshots so I put together a quick post to answer the question. After creating a new WinForms application project, I added a RadMenu. The screenshot below shows that the default color of the menu is blue. The quickest way to accomplish this task is to click on the SmartTag in the DesignView. Then select the Edit UI Element menu option. This will open a new window which is called the Element hierarchy editor. Within the Element hierarchy editor, select the...
All XML Elements Must Have a Closing Tag In HTML, you will often see elements that don't have a closing tag: <p>This is a paragraph <p>This is another paragraph
In XML, it is illegal to omit the closing tag. All elements must have a closing tag:
<p>This is a paragraph</p> <p>This is another paragraph</p> Note: You might have noticed from the previous example that the XML declaration did not have a closing tag. This is not an error. The declaration is not a part of the XML document itself, and it has no closing tag. XML Tags are Case Sensitive XML elements are defined using XML tags.
XML tags are case sensitive. With XML, the tag <Letter> is different from the...
I’ve made small demo on how to save and restore various RadGridView settings using ApplicationSettingsBase.
To turn on this for your grid you can simply set RadGridViewSettings.IsEnabled attached property: <Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:local="clr-namespace:WpfApplication1" xmlns:ts="clr-namespace:Telerik.Settings" Title="Window1"> <Grid> <Grid.Resources> <ObjectDataProvider x:Key="customers" ObjectType="{x:Type local:NorthwindDataContext}" MethodName="get_Customers"> </ObjectDataProvider> </Grid.Resources> <telerik:RadGridView ts:RadGridViewSettings.IsEnabled="True" x:Name="RadGridView1" ItemsSource="{Binding Source={StaticResource customers}}"/> </Grid></Window>
Saved settings...
We would like to thank the over 200 attendees who came to our booth at the spring edition of DevConnections 2009 which took place March 22 - 25, 2009 at the JW Marriott Orlando Grande Lakes in Orlando, Florida. We were happy to be a Platinum sponsor of the event which comprised of ASP.NET connections, Visual Studio connections, SQL Server connections and SharePoint connections. Everyone who visited the Telerik booth got a cool .NET Ninja T-shirt and had the chance to meet our friendly staff in person and see demos of our new products and product features. Telerik’s Developer evangelist John Kellar...
Had I posted the big news yesterday, many people would've probably thought that it's an April Fools' Day joke. Luckily, it's not a prank and we are very excited to announce that RadControls for ASP.NET AJAX works on the latest distribution of Mono.
Telerik customers have been asking us for Mono support since 2006 and we have been quietly working with Novell to make it happen. After many rounds of feedback and fixes, we are very happy that our collaboration yielded great results - now customers can make their ASP.NET applications truly cross-platform. It's a good time to say a BIG...
I’m pleased to announce that with our upcoming service pack for Silverlight/WPF (middle of April) you will have the ability to style and format easily your data just before export: Enjoy!...
I’ll be heading to Nashville, TN this August for DevLink 2009. And as if attending this great conference isn’t enough, they’re giving me a 3-hour time slot and room with a projector and everything. I guess that means I need to find something educational to impart to the those of you who will be in attendance. Good thing I’ve got the perfect session already planned out: ASP.NET AJAX Client Side Framework Deep Drive ASP.NET developers interested in creating rich, client-side web applications must develop a deep understanding of the ASP.NET AJAX client library. Join me as I show you how to...
As you probably know some of our controls support web service load on demand (a.k.a. client-side databinding). Also in ASP.NET MVC we can call controller actions via Ajax. In this blog post I will show you how to populate RadComboBox and RadTreeView on demand by using a controller action which returns JsonResult. Let's start with RadComboBox: Configure RadComboBox for Load on Demand I have added the RadComboBox control to the default Index.aspx view and configured it like this: <telerik:RadComboBox runat="server" ID="RadComboBox1" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EmptyMessage="Type here ..." Height="200px"> <WebServiceSettings Path="Home" Method="LoadItems" /></telerik:RadComboBox>
.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; }
The important thing here is that RadComboBox is configured as if it were using a web service...
We have updated our MVC Forum sample application to use the official ASP.NET MVC 1.0, RadControls for ASP.NET Ajax Q1 2009 and the latest installment of Telerik OpenAccess ORM. Online demo | Download...
Starting from the Q3 '08 release, the jQuery library is an integral part of RadControls for ASP.NET AJAX. We've posted instructions on how to use the included version in your code and how to enable IntelliSense. The bad news is that the instructions for enabling IntelliSense no longer work with the Q1 '09 version. The reason is that Visual Studio 2008 has a problem with parsing the jQuery library from version 1.3 and up. This required us to come up with a new way to enable IntelliSense. The good news is that the new approach is much cleaner and doesn't require external...