Using a single RadFileExplorer control to update multiple data fields

2 posts, 0 answers
  1. Jason
    Jason avatar
    9 posts
    Member since:
    Nov 2008

    Posted 08 Apr 2009 Link to this post

    Requirements

    RadControls
    Version

    2009.1.316 and newer

    .NET version   

    V3.5

    Visual Studio version

    2008

    programming language

    C#

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    A small demo app that uses a RadFileExplorer inside a RadWindow that can be called from numerous buttons.  Each button's server-side event updates the QueryString of the .aspx file bein loaded into the RadWindow.  This information allows the InitialPath property of the RadFileExplorer to be set and the file selected.  In this example the files are all images and the RadWindow also displays the selected image.  The closing of the RadWindow is accompanied by the creation of an argument object that contains the newly selected file name and the source control that called for the RadWindow to be opened.  The onClientClose event of the RadWindow extracts the argument object, determines which TextBox control to update and replaces the text with the new file name.  A more detailed description is contained with the application as are a couple of screen grabs of the code working inside a more complete application.
  2. Rumen
    Admin
    Rumen avatar
    12847 posts

    Posted 10 Apr 2009 Link to this post

    Hi Jason,

    Thank you for the code library submission. The example will be helpful for RadFileExplorer and RadWindow users. I have added 3500 Telerik points to your account for the post.

    Best regards,
    Rumen
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top