upload image RRS feed

  • Question

  • hi i am fatma

    i would like enable the user to upload images to his web page ?


    Wednesday, December 5, 2007 8:28 AM

All replies

  • Hello, have a look at this quickstart.

    Friday, December 7, 2007 1:37 AM
  • first thanx for your reply

    but this code about the uploading image is related to vs-2008 and silverlight 1.1

    but i use vs 2005 with silverlight 1.0

    i do not know can i upload image with them.

    please help me


    Sunday, December 9, 2007 4:52 AM
  • set your silverlight.createObject properties to include windowless:"true" that way you can use html input controls. Then have a silverlight button launch the file input control in a <div> tag and overlay it ontop of you silverlight app. then click the browse button to grab a local file either do a ajax call to an .aspx page that will simply do the upload for you on the file input's onchange event so: onchange="doAjaxUpload();", passing the file input's value via the querystring.

    Or if you page is already a .aspx page, have your file input be a server control( just add the runat="server" attribute to it and referrence it in codebehind and do the upload on the same page.

    Sunday, December 9, 2007 10:34 AM
  • thank you for your interested

    can you please provide me with an example


    Monday, December 10, 2007 11:25 AM