Telerik blogs

Latest

  • Web

    Silverlight TreeView Load on Demand

    Today I created a really simple application that demonstrates "best practice" for using RadTreeView with load on demand and ADO.NET Data Service. The application uses the Northwind database, that can be downloaded here. The tricky part is that in order to create almost codeless application we need to modify the automatically generated code of the service reference. To do that you will need to show all files in the Silverlight application (click the Show All Files in the Solution Explorer title bar) and then open Reference.cs: In this file replace all occurrences of "System.Collections.ObjectModel.Collection" with "System.Collections.ObjectModel.ObservableCollection". This probably will be changed in...
    October 08, 2008
  • Web

    Context Menu for Silverlight. Integration with RadTreeView

    Here at Telerik we are cooking a lot of things with Silverlight. You will see some great new (and big!) controls with our Q3 release that is already knocking on the door. One small, but very popular thing, that is missing in Silverlight2 these days is the Context Menu support. As we got this working already internally, I thought that I'll share the good news with you :) This image above shows the integration between the new RadContextMenu and RadTreeView. As you can see you have full control over the context menu content, and you can also control the shortcut keys that will open the menu. So, any comments about that?  ...
    October 07, 2008
  • Web ASP.NET MVC

    Using Telerik RadGrid in ASP.NET MVC together with RenderPartial, Ajax.Form, Ajax.ActionLink and UpdateModel

    I've made yet another ASP.NET MVC example with RadGrid for ASP.NET AJAX however instead of Html.Form and Html.ActionLink I have used Ajax.Form and Ajax.ActionLink: As a result now you have an ajax enabled grid with paging, sorting, select, edit, update, delete and insert: [Download]...
    October 07, 2008
  • Web ASP.NET AJAX

    AJAX >> Using AJAX to load a usercontrol that requires a custom css file

    Summary The technique demonstrates how to transform a non-AJAX scenario which adds a CSS <link> tag to the head of the page to work with AJAX, using a client-side javascript function to register the  <link>. Using AJAX in an application is probably the standard now. Partial page rendering offers a number of benefits such as increased page responsiveness, as well as close-to-desktop experience using AJAX-based toolkits such as RadControls for ASP.NET AJAX. However, adding UpdatePanels to the page and expecting that all of your “postback” logic will continue to function without changes is only true for simple scenarios. There are many more advanced...
    October 03, 2008
  • Web

    Create a Tabbed MDI using child forms

    If you are developing applications for Windows it is almost certain that you have incorporated the Multiple Document Interface (MDI) at some point. This is where you have a parent form that acts as the host for all forms within the application, minus a few exceptions. I know there are debates about whether MDI is an effective approach, but it doesn’t change the fact that MDI is very heavily used. I have found that the Tabbed Document Interface which is essentially an MDI that implements tab navigation between open items is pretty popular. As a matter of fact, this same...
    October 03, 2008