Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 21st, 2009, 09:43 PM
Registered User
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Greeting Cards Image Upload Inside Update Panel

I am trying to adapt the SelectImage.ascx control from the Greeting Cards (Ch. 11) application for use on a site but having trouble getting this to work inside an update panel. I am continually just getting "Please select an image first..." error. If I move the control outside the update panel it works fine.

Any suggestions out there on how to make this work?

Thanks!
  #2 (permalink)  
Old January 22nd, 2009, 03:31 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Uploading files from within an UpdatePanel is not supported out of the box due to security and other technical reasons. Take a look here:

http://geekswithblogs.net/ranganh/ar....net-ajax.aspx
http://forums.asp.net/t/1105208.aspx
http://www.google.com/search?hl=en&q...ePanel&aq=f&oq=

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #3 (permalink)  
Old October 4th, 2012, 09:56 AM
Registered User
Points: 33, Level: 1
Points: 33, Level: 1 Points: 33, Level: 1 Points: 33, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2010
Posts: 9
Thanks: 5
Thanked 0 Times in 0 Posts
Default Asking for an quick help

Imar Spaanjaars,
i used your books code to design a greeting card for my system (website). but i am facing a very big problem i am not able to upload files to /temp folder on my windows server (where i have hosted my files). i tried chaging the file permissions for read and write of the temp folder but i got failed permission changing. please help me do so.
  #4 (permalink)  
Old October 4th, 2012, 09:57 AM
Registered User
Points: 33, Level: 1
Points: 33, Level: 1 Points: 33, Level: 1 Points: 33, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2010
Posts: 9
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Imar Spaanjaars,
i would be thanks full for your suggestion. actually i am not able to update files on my web server on one of my deployed servers.
  #5 (permalink)  
Old October 4th, 2012, 04:06 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look here: http://imar.spaanjaars.com/290/how-d...-and-databases and here: http://imar.spaanjaars.com/287/how-d...un-my-web-site

Depending on your version of IIS (7.x), your account may be named after your connection pool.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Denno Secqtinstien (October 16th, 2012)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update panel in .net 2.0 DIlip Kumar Sittu .NET Framework 2.0 1 July 18th, 2008 06:44 AM
Wrox Greeting Cards rai.ashis BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 December 17th, 2007 03:25 AM
Javascript Update Panel. blink18jew ASP.NET 1.0 and 1.1 Basics 0 June 30th, 2007 06:46 AM
Masterpage Update Panel Question jazzcatone ASP.NET 2.0 Basics 1 June 14th, 2007 09:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.