Skip to main content
Tweeted twitter.com/#!/StackSharePoint/status/232387224870731776

I have a custom webpart and iI want to upload an image,such such that user provides the local path of the image and the image has to be stored in Sharepoint list Item of Type Hyperlink or Picture. The same has to be displayed once upload is complete. The functionality should be provided on the webpart.

How do iI go about this, do iI start with file upload control and save the image and than use image control to display the image? Can anyone provide me proper guidance as to how to go about the task.

I worked with normal asp application to store image onto the server, by specifying the folder name. Image Upload This works fine for me.

I have never worked with upload tasks to a List/ to a database(asp.net) so this is totally new for me. Any code samples or tutorials would be very helpful.

Thank You.

I have a custom webpart and i want to upload an image,such that user provides the local path of the image and the image has to be stored in Sharepoint list Item of Type Hyperlink or Picture. The same has to be displayed once upload is complete. The functionality should be provided on the webpart.

How do i go about this, do i start with file upload control and save the image and than use image control to display the image? Can anyone provide me proper guidance as to how to go about the task.

I worked with normal asp application to store image onto the server, by specifying the folder name. Image Upload This works fine for me.

I have never worked with upload tasks to a List/ to a database(asp.net) so this is totally new for me. Any code samples or tutorials would be very helpful.

Thank You.

I have a custom webpart and I want to upload an image, such that user provides the local path of the image and the image has to be stored in Sharepoint list Item of Type Hyperlink or Picture. The same has to be displayed once upload is complete. The functionality should be provided on the webpart.

How do I go about this, do I start with file upload control and save the image and than use image control to display the image? Can anyone provide me proper guidance as to how to go about the task.

I worked with normal asp application to store image onto the server, by specifying the folder name. Image Upload This works fine for me.

Source Link
Ishan
  • 774
  • 5
  • 19
  • 44

Uploading an Image file to a Sharepoint List Item of Type Hyperlink or Picture

I have a custom webpart and i want to upload an image,such that user provides the local path of the image and the image has to be stored in Sharepoint list Item of Type Hyperlink or Picture. The same has to be displayed once upload is complete. The functionality should be provided on the webpart.

How do i go about this, do i start with file upload control and save the image and than use image control to display the image? Can anyone provide me proper guidance as to how to go about the task.

I worked with normal asp application to store image onto the server, by specifying the folder name. Image Upload This works fine for me.

I have never worked with upload tasks to a List/ to a database(asp.net) so this is totally new for me. Any code samples or tutorials would be very helpful.

Thank You.