• This is the third and last in a series of blog posts on the new client-side databinding features we've introduced to RadListView with the Q1 2012 release. In the first blog post, we introduced you to the basics of client-side databinding in RadListView - how to define HTML templates, how to use binding expressions and what properties does the binding context provide for greater flexibility. In the second blog post we showed you how easy it is to bind to any kind of web services. In this blog post, let's dive deeper into the client-side databinding internals in RadListView. We'll see how to implementing paging, sorting and filtering to...

  • This is the second in a series of blog posts on the new RadListView client-side databinding features. In the first post, we introduced you to the basics of HTML templates, binding expressions and the databinding model in RadListView. In this post, we will see how RadListView supports automatic (read codeless) databinding to web services and JSON feeds.

    For a quick reference, here is a brief list of the sections in this blog post:

    1. Web Service Types And Requirements
    2. How Web Service Binding Works
    3. RadListView DataService Settings
    4. Supported HTTP Methods And Default Parameters
    5. Binding To ASMX Web Services
    6. Binding To WCF Services
    7. Binding To OData Services
    8. Binding To Any General JSON Feed

    Web Service Types...

  • The Q1 2012 beta release is out the door and we have some exciting new improvements to brag about. Among everything else is a feature long waited for - client-side databinding for RadListView. In a series of blog posts, I will try to introduce you to the specifics of the client-side databiding with RadListView and give you some insight into the new client cabalities that you can leverage to build performant data bound UI on the client. We will start with a brief introduction to HTML templates, binding expressions and databinding API, we'll go down to databinding to web services and various data sources and will finish off...

  • I have provided technical support for RadScheduler since its inception and I can say that it is truly like an iceberg - the more you dive in knowing the control the more you come to appreciate its power, richness of features, potential for customization and flexibility. But what good is something if you don't know that it exists? For the Q3 2011 release, we have made a thorough review of the RadScheduler demos and realized that they show only a fraction of RadScheduler's potential. So, we have updated some old demos and added a few new ones. We will continue this practice in the future...

  • If you haven't heard, Odata is a Web protocol that exposes your data to the Web, allowing consumers to make queries through a set of URI parameters. RadGrid, Telerik's ASP.NET AJAX Grid control features a rich client-side API that enables you to easily bind to OData services and have all the paging, sorting and filtering done without ever posting the page to the server. That is all fine if your data is flat. Binding to hierarchical data, however, is another story. RadGrid officially supports hierarchical databinding on the server only. But let's go unofficial for a while. In this blog post we'll demonstrate an approach for detail table databinding...

  • RadGrid's client-side databinding capabilities got boosted to a new level with the Q3 2010 release of Telerik RadControls for ASP.NET AJAX. RadGrid now supports automatic databinding to OData web services. For those of you who have never heard, OData (short for Open Data) is a data exchange protocol that enables data transactions to be carried over standard web protocols (HTTP, Atom, and JSON). OData exposes your data over the web to a variety of consumers, building on technology that is widely adopted.

    With the Q3 2010 release, we have added automatic client-side databinding support for OData services. To configure RadGrid for binding to an OData service, you...

  • This is a pretty common scenario when working with WebForms. There are many ways to achieve the desired result, but they have one thing in common – you should make sure that the controls are fully loaded in the page before trying to get a reference to them and use them in your JavaScript code.

    In ASP.NET it is pretty straightforward to do that. For example you could use a label:
    ASPX
    <head runat="server">
       
    <title>Untitled Page</title>
       
    <script type="text/javascript">
       
    function calledFn()
       
    {
           
    alert("code fired"); 
       
    }
       
    </script>
    </head>
    <body>
       
    <form id="form1" runat="server">
           
    <asp:Button ID="Button1" runat="server" Text="Run JavaScript Code" OnClick="Button1_Click" />
            <
    asp:Label ID="Label1" runat="server"></asp:Label>
       ...

  • XML Syntax Rules

    Friday, April 03, 2009 by ASP.NET AJAX Team | Go comment!

    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...

  • Below is a table of the most common client side events in JavaScript. The Table is divided into three columns – the first lists the name of the event. The second contains a short description of the event, and the third lists all page objects, which support the given event.                                         

    Event Name                Description  Supported by objects

     onabort

    The onabort event occurs when loading of an image is aborted.

    image

    onblur

    The onblur event occurs when an object loses...

  • This article is taken from W3Schools.

     

    With JavaScript, it is possible to execute some code NOT immediately after a function is called, but after a specified time interval. This is called timing events.

    It's very easy to time events in JavaScript. The two key methods that are used are:

    • setTimeout() - executes a code some time in the future
    • clearTimeout() - cancels the setTimeout()

    setTimeout()
    Syntax

    var t=setTimeout("javascript statement",milliseconds); 

    The setTimeout() method returns a value - In the statement above, the value is stored in a variable called t. If you want to cancel this setTimeout(), you can refer to it using the variable name.

    The first parameter of setTimeout() is a...