You must Sign In to post a response.
  • Category: Silverlight

    Open excel file in silverlight 4 and telerik grid

    Hi All,


    I'm using sliverlight 4 and Telerik RadGridView. Here when I click export button, one popup window opening for select save location after that it was stored. Then user need to move the saved location and open the excel file.

    Instead of this user view the excel file with data after that if they want store in somewhere.

    Is there possible to view and save excel file?

    Thanks
  • #716451
    hello


    please refer this code



    SaveFileDialog objSFD = new SaveFileDialog() {
    DefaultExt = "csv",
    Filter = "CSV Files (*.csv)|*.csv|Excel XML (*.xml)|*.xml|All files
    (*.*)|*.*",
    FilterIndex = 1
    };
    string item = TextBox.Text;
    objSFD.GetType().GetMethod(item).Invoke(objSFD, new object[] { item });


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.