Telerik blogs

Latest

  • Web

    Never access the controls collection in Page_Init or Page_PreInit with declarative data-binding in ASP.NET 2.0

    If you have a GridView, DataGrid, DetailsView, FormView, DataList or Repeater bound using DataSourceID you should never touch the controls collection in Page_Init or Page_PreInit. If you do this your declarative data-binding will be lost on any outside of the control post-back. How to check this?Example:aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server">    <title>Untitled Page</title></head><body>    <form id="form1" runat="server">        <asp:Button ID="Button1" Text="Button1" runat="server" />        <asp:GridView ID="GridView1" AllowPaging="true" DataSourceID="AccessDataSource1"            runat="server">        </asp:GridView>        <asp:DetailsView ID="DetailsView1" DataSourceID="AccessDataSource1" AllowPaging="true"            runat="server">        </asp:DetailsView>        <asp:FormView ID="FormView1" DataSourceID="AccessDataSource1" AllowPaging="true"            runat="server">            <ItemTemplate>                ProductID :                <%# Eval("ProductID") %>            </ItemTemplate>        </asp:FormView>        <asp:DataList ID="DataList1" DataSourceID="AccessDataSource1" runat="server">            <ItemTemplate>               ...
  • Web ASP.NET AJAX

    Firewalls breaking ASP.NET AJAX!

    This one is serious and may bite you any time. Yesterday Shaun posted this problem in our forums: he and his users were experiencing odd errors when requesting ASP.NET AJAX-based sites, and yes, that means RadControls "Prometheus" based ones as well. Partial rendering requests initiated by UpdatePanel controls failed with the cryptic message: ============== Sys.WebForms.PageRequestManagerParserErrorExeption: The message received from the server could not be parsed.  Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.  Details:  Error parsing near '<!DOCTYPE html P''. ============== Of course all that comes without any trace of Response.Write(),...
  • Mobile

    Using RadEditor as a Wiki Editor in MOSS

    There have been a number of questions, regarding the RadEditor for MOSS and whether it is possible to use it in the SharePoint 2007 Wiki libraries and sites. The short answer to this question is - yes it's possible. Here is the long version: Wiki pages in MOSS 2007 are stored as normal document libraries. This means that when you edit a Wiki page, you are actually editing a list item. RadEditor for MOSS  supports this scenario and you can use it to replace the default editor in all major browsers - Internet Explorer, Firefox, Safari, etc. Here is how...
  • Release

    RadControls for Silverlight June CTP. Registration now open!

    You can now register for the CTP release of our Silverlight controls and you'll soon receive an e-mail with instructions about where you can download the installation. The controls are using Silverlight 1.0 so all you need to have installed is the Silverlight 1.0 plugin and Visual Studio 2005 or Visual Studio Orcas Beta 1.We've added a MediaPlayer control to the set of controls with which you may have already got acquainted from our online examples. Some of the cool features of the MediaPlayer control which you also may find intriguing are:- Coming with three predefined themes: Telerik, Vista and Simple- Support for...
    June 22, 2007
  • Release

    New online resources for the past two weeks (06/18/2007 - 07/01/2007)

    Below is a summary of the new online resources available for our ASP.NET controls: RadGridCode library entries: Filter RadGrid on external textbox key press:http://www.telerik.com/community/code-library/submission/b311D-mtkce.aspx Help topics: Insert/Update/Delete records -> How-to -> Put all items in edit mode without additional rebind (not published yet)
  • Web

    RadEditor for MOSS; Telerik RadControls for MOSS

    When we released the RadEditor Lite for MOSS a few months back, customers immediately contacted us and clearly stated that they need a rich-text editor that was not limited only to the features that are available in the Microsoft's default MOSS editor. People not only required a cross-browser editing experience but also demanded ALL the capabilities of RadEditor in MOSS. So, after a few months of preparations and development, I'm really excited to make a few announcements: 1. RadEditor for MOSS is finally here! You can find more information here: http://www.telerik.com/products/sharepoint/overview.aspx. You can also find a comparison between the Lite and the...
  • Web

    How to: Optimize RadCombobox Ajax

    One of the nice things about attending conferences like TechEd is all of the direct feedback you get from Telerik "fans" (people that use the RadControls everyday and love them). These fans love to use the RadControls and they also love to push the controls to their limits. That often leads to some interesting questions, such as this one I was presented with at the Telerik booth:"Is it possible to delay the RadCombobox autocomplete callback until a certain number of characters have been typed? Or is it possible to delay the callback so that it doesn't start until users stop...
    June 18, 2007
  • Web

    RadControls in Safari for Windows

    Like it or not, another browser has been added to the list of Windows browsers that you need to test your application against before deploying to production. Apple's release of Safari for Windows is unlikely to to win a lot of converts from FireFox and IE, but if your application must be widely available to as many users as possible it cannot be ignored in your testing. One of the advantages of using RadControls in your projects is Telerik's dedication to delivering cross browser compatibility. And even though Safari on Windows is still a beta product (thus not officially supported by...
    June 18, 2007
  • Release

    RadEditor and Community Server 2007 integration

    It's been a while since I had to work with Telligent's Community Server software. Our last attempt to use RadEditor as the default editor was back in CS version 2.0. The latest version (2007) features a new and easier way to add new editors for the blogs/forums/etc. parts of Community Server. I decided to update our code and write a new wrapper for RadEditor 7. The new code is cleaner, since it directly inherits from the RadEditor class instead of adding the editor as a child control:public class RadEditorWrapper: RadEditor, ITextEditor, ITextControl{...The new wrapper is available for download here. Inside the archive you will find the Telerik.CommunityServer.RadEditorWrapper.dll...
  • People

    Satisfaction Survey: Share your feedback on Telerik Support Services

    We want to hear how we meet your expectations and how we can further improve. Support Services are important for us and we appreciate your time. Take the Survey *Do not forget that we give 2000 Telerik points ($20) to everyone who has submitted a survey.
    June 11, 2007