Telerik blogs

Latest

  • Web ASP.NET AJAX

    Codeless client-side data-binding for your ASP.NET AJAX DataGrid?

    With RadControls for ASP.NET AJAX Q3 Beta we have provided great client-side data-binding improvement for the grid and now you can bind your data to any web service or page method completely codeless: ...   <ClientSettings>       <DataBinding Location="MyWebService.asmx" SelectMethod="GetDataAndCount" />  ...     Using this new approach you can get both data and total items count in a single request and if you turn on client-side caching the grid will perform request to the server only when needed! I'm really excited to announce that we extended this even more and now you specify following new properties: SortParameterType - SelectMethod sort expressions argument type. Can be set to "String", "List", "Linq" and "Oql". Default is...
    October 20, 2008
  • Web ASP.NET AJAX

    Accessing RadControls for ASP.NET Ajax items with WatiN(by using only the html elements)

    Are you curious how to deal with the complicated rendering of RadControls and WatiN? If so, I will shed some light on this. Here is an example how to print the text of the specific node of RadTreeView and how to expand it: [STAThread] static void Main(string[] args) { IE ie = new IE("http://demos.telerik.com/aspnet/prometheus/TreeView/Examples/Programming/DataBinding/DefaultCS.aspx"); Element ulElement = ie.Element("UL", Find.ByClass("rtUL rtLines")); Element firstLiElement = ulElement.DomContainer.Element("LI", Find.ByIndex(1)); Span textSpanElement = (Span) firstLiElement.DomContainer.Div(Find.ByClass("rtTop")).DomContainer.Span(Find.ByClass("rtIn")); Console.WriteLine(textSpanElement.Text); Span plusSpanElement = (Span)textSpanElement.PreviousSibling; plusSpanElement.Click(); }   Yet another example how to click on a ...
    October 18, 2008
  • Web ASP.NET AJAX

    Beta for Q3 2008 - RadControls ASP.NET AJAX is now available!

    We are very excited to announce the Beta of Q3 2008 for RadControls ASP.NET AJAX. These are the key areas in which we have been working in the past couple of months: Improved Performance Client-Side Features Improving Data Access MVC Support jQuery integration Right-to-Left Support Merging charting into the Telerik.Web.UI.dll Full details and download instructions are available in this forum thread. Enjoy the new bits and send us any feedback you have!
    October 17, 2008
  • Web ASP.NET MVC

    The Grid in Microsoft ASP.NET MVC Beta

    As you know this week Microsoft released ASP.NET MVC Beta and I've updated my last grid example to the latest ASP.NET MVC version. I needed to change only two things: - Ajax.Form changed to Ajax.BeginForm/Ajax.EndForm - Html.SubmitButton changed to plain <input type="submit" /> and everything worked instantly! [Live | Download]...
    October 17, 2008
  • Web ASP.NET AJAX

    RadCombobox with disabled javascript

    Hi, all. We have a couple of requests from customers to do something and make RadComboBox working when javascript is disabled. And we did it. We implemented a new AccessibilityMode property which will render noscript tag containing a select html element. This will make the combobox control usable even if the javascript of the browser is disabled. Yes, it will be displayed like an usual drop down list but still it will be RadComboBox on the server. The following RadComboBox definition : <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" ForeColor="Green" AccessibilityMode="True" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" AutoPostBack="True"> <Items> <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1" ForeColor="green"/> <telerik:RadComboBoxItem...
    October 16, 2008