uploading only .pdf,word documents RRS feed

  • Question

  • i want an option in my website where user's can upload only .pdf,.word documents, and hen the upload the document should be stored in database how can i provise this option.
    i know that the visual studio has a control in toolbox  upload but it is the general uploading of files....

    please help....... :)

    Friday, November 25, 2011 1:51 PM


  • Hi,

    If you are refering to the upload feature in WSP file manager, then the WSP file manager doesn't contain the feature to limit file extension for uploading at current time, you will need to update the code yourself. Or you can submit a feature request for this option. 

    If you mean you are designing the feature for your own web site, then I suggest you post the question in forums where the experts could help in a more efficient way.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact Microsoft One Code Framework
    Tuesday, November 29, 2011 3:08 AM