RichTextBox Upload DOCX to PHP

3 posts, 0 answers
  1. Manoj
    Manoj avatar
    2 posts
    Member since:
    Jan 2016

    Posted 08 Apr 2016 Link to this post


    I want to generate and upload docx file within a radrichtextbox on click of a button. On server side, I am using php. Can anyone suggest how to do this?

    Thanks in advance!

  2. Tanya
    Tanya avatar
    583 posts

    Posted 12 Apr 2016 Link to this post

    Hello Manoj,

    You could load a document in RadRichtextBox or export it using the Import() and Export() methods of DocxFormatProvider. They expose different overloads, which you could utilize to obtain the byte array that represents the document.

    However, I'm not sure about the exact setup of the project and if you need further information, I would like to ask you to share more details on the scenario. 

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Manoj
    Manoj avatar
    2 posts
    Member since:
    Jan 2016

    Posted 12 Apr 2016 in reply to Tanya Link to this post

    Hello Tanya,

    My application scenario is as follows:

    1) I have a web server setup of Apache, PHP 5.4 and Mysql

    2) The server will serve telerik richtext and spreadsheet application.

    3) The user will haveto sign in to have access to the application.

    4) When user creates a document/spreadsheet and clicks upload button in menu, the document/spreadsheet will get converted to byte array and will be sent/uploaded to upload.php page.

    5) upload.php will check the session details of the app and will either store it in mysql database or save it as a file on disk.

    Now the problem is,

    1) I don't know how to upload the document/spreadsheet to upload.php and store it on disk on php side

    2) I don't know how to share session details with silverlight app at the time of sign in



    Manoj Agrawal

Back to Top