Telerik blogs

Latest

  • Web ASP.NET AJAX

    Don't Use BODY ONLOAD in ASP.NET AJAX Websites

    In the past developers used <body onload="..."> to execute some script as soon as the page is loaded. Nowadays this is rather old-fashioned, no matter how you look at it. What's more, it doesn't work as expected in ASP.NET AJAX websites. Consider the following example:   <body onload="MyFunction()">    <script type="text/javascript">       function MyFunction()     {        var myAjaxControl = $find("myAjaxControlClientID");        myAjaxControl.doSomething();     }    </script>    </body>    The client-side page load event is fired by the browser as soon as all HTML and scripts have been loaded. However, this happens before the controls' client-side instances have been created. As a result, myAjaxControl will be null and the doSomething() method will trigger a Javascript error. So, a lot better approach...
    May 27, 2021 1 min read
  • Web

    Showing RadToolTip on RadInput input error

    One of the tools in the RadControls for ASP.NET AJAX suite that is getting a lot of attention these days is the RadInput control. More specifically, the RadInputManager. With this "Manager" control, you can easily add validation to any textbox on your page without littering your markup with ASP.NET validator controls. Plus, you'll get a much more dynamic validation experience when you use RadInput instead of the OTB (Out of The Box) ASP.NET validation controls and better page performance (since the manager enables you to save a lot of HTML and JavaScript). One of the other features of the RadInput textboxes, including textboxes...
    May 27, 2021 8 min read
  • Release

    Make your applications look like Office 2007 with the RadRibbonBar

    The ribbon bar was first introduced with the release of Microsoft Office 2007.  It resides across the top of a window and is the primary means of accessing application functionality.  Unlike the classic menu toolbar approach the ribbon bar offers the ability to display functions and commands in an way that you can locate what you need more quickly.  This is in large part due to the context sensitive way that functionality is displayed.  The ribbon bar is a great usability improvement to most applications since functionality is not buried beneath a multitude of hierarchical menus and toolbars.  Microsoft has...
    May 27, 2021 2 min read
  • People

    IMS London 2008 – First European Thrills for Sitefinity

    … And surely not the last ones! This massive event on content management and Web 2.0 technologies gave us the chance to see the way a conference goes in Europe. We were definitely not disappointed – the event was huge, all of the usual suspects were there of course :) It turned to be a very interesting experience – our staff at the booth quickly learned that the approach here should be different – the audience primarily consisted of business users who were not exactly into coding; the attendees seemed to be more reserved and shy when approaching the exhibitors;...
    May 27, 2021 1 min read
  • Productivity

    Getting Started with ADO.NET Data Services and Telerik Open Access - The First step

    To my opinion the day the Astoria incubation project was unveiled,  all about querying and pushing data through a webservice changed for good. I was pretty amazed to see that the REST paradigm was so easily embraced in the .NET world. Now some time later, this is an official release and it is called ADO.NET Data Services. For all of you that are not familiar with ADO.NET Data Services you can find more information here. To put it shortly: <quote>“The goal of the ADO.Net Data Services framework is to facilitate the creation of flexible data services that are naturally integrated with...
    May 27, 2021 5 min read
  • Web ASP.NET AJAX

    Enabling Asp.net development on Vista 64

    Well as I figured it out it was not a complicated thing, but there are some specifics of course: Installing IIS By default IIS7 is included in the distribution (I use the Enterprise edition of Windows Vista), but is not installed by default. To do so open ControlPanel > Programs and Features. On the right side of the window click the "Turn Windows features on or off" link and a dialog will open: Installing required features You can select and check the Internet Information Services feature. By default not everything required gets selected. You have to check also the Internet Information Services>World Wide Web Services>Security>...
    May 27, 2021 1 min read
  • Desktop WinForms

    RadMessageBox for WinForms

    Hello folks. I am sure all of us are enjoying with Telerik’s good looking and reach theming mechanism for WinForms. But in every application there is a need for user interaction and very often it uses some type of question or message to guide the user what he is supposed to do.   I am sure that you have used the default WinForms MessageBox class and its Show method  The standard appearance of this message box, however, does not fit nicely in the slick design of an application built with RadControls for WinForms, and I know how boring it is to implement your own...
    May 27, 2021 2 min read
  • Release

    New online resources for the past four weeks (11/01/2008 - 12/01/2008)

    Below is a summary of the new online resources available for our ASP.NET AJAX/Winforms/WPF/Silverlight controls: RADCONTROLS FOR ASP.NET AJAX RadScheduler Help topics Appearance and Styling -> Horizontal Scrolling:http://www.telerik.com/help/aspnet-ajax/scheduler-horizontal-scrolling.html Appearance and Styling > Inline Form Resizing:http://www.telerik.com/help/aspnet-ajax/scheduler-inline-form-resizing.html Knowledge base articles Limit the number of concurrent appointments just for a single resource:http://www.telerik.com/support/kb/aspnet-ajax/scheduler/limit-the-number-of-concurrent-appointments-just-for-a-single-resource.aspx RadTreeViewHelp topics How To > Client-Side Programming > How-to distinguish whether node.get_parent() returns the parent node or the parent treeview:http://www.telerik.com/help/aspnet-ajax/treeview-get-parent.html How To > Client-Side Programming > Implement findNodesByAttribute method:http://www.telerik.com/help/aspnet-ajax/treeview-find-nodes-by-attribute.html How To > Client-Side Programming > Set the tooltip of the node with javascript:http://www.telerik.com/help/aspnet-ajax/treeview-set-node-tooltip-clientside.html Usability > Validation:http://www.telerik.com/help/aspnet-ajax/treeview-validation.html How To > CheckBoxes > Validate treeview by checked nodes:http://www.telerik.com/help/aspnet-ajax/validate-treeview-by-checked-nodes.html Code library entries Undo Drag & Drop operations:http://www.telerik.com/community/code-library/aspnet-ajax/treeview/undo-drag-drop-operations.aspx FindNodebyText() case...
    November 01, 2021 2 min read
  • Web ASP.NET AJAX

    Optimize your ASP.NET data entry validation

    With RadControls for ASP.NET AJAX Q3 2008 we introduced our brand new component called RadInputManager. You can find more info about this unique control on following articles: Introducing the RadInputManager control for ASP.NET AJAX Using Regular Expression TextBox Using RadInputManager RadInputManager First Look I've made small demo to check how the input manager will perform compared to standard validation approach in ASP.NET and here is the result: - RadInputManager: 200 standard TextBox controls with skins (hover, focus, empty, negative, enabled/disabled, read-only & invalid styles), in-place validation and formatting and many more.   - Standard Validation controls: Huge render size & JavaScript, no in-place validation (only on...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    Taming Ajaxified asp:HiddenField Controls in Internet Explorer

    If you are using asp:HiddenField controls (rendered as <input type="hidden" />) in your website and update their values with AJAX requests, you may observe some unexpected changes in the page layout in Internet Explorer (IE). It will seem that an empty line is inserted at each location where a HiddenField control resides. The behavior is observed only in IE and looks like a problem caused by the browser or the MS AJAX client-side framework. A quite easy workaround for this glitch is to wrap the HiddenField in a container with no height and reduced font size. Here is an...
    May 27, 2021 1 min read