What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 17032 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET AJAX > fileupload control in UpdatePanel ...
Nkkppp

fileupload control in UpdatePanel

Replies: 8 | Posted by: Nkkppp on 9/25/2012 | Category: ASP.NET AJAX Forums | Views: 741 | Status: [Member] | Points: 10  


Hi All,

Can you please let me know what is the use of fileupload control in UpdatePanel because normally FileUpload control does not work with partial postback which is done in UpdatePanel and it requires a full postback.

So in order to make this work we use Postback trigger and i would like to know by using this will the whole page be postedback or not.

If no, then using fileupload control in UpdatePanel is useful.

If no, can u please explain how can i achieve partial postback without using Ajaxtoolkit controls.

Thanks.

Prathap.


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Jayakumars
Jayakumars  
Posted on: 9/27/2012 5:50:13 AM
Level: Bronze | Status: [Member] | Points: 25

hi

refer this

http://www.aspsnippets.com/Articles/Using-FileUpload-Control-inside-ASP.Net-AJAX-UpdatePanel-Control.aspx



Mark as Answer if its helpful to you

Regards
Email Id: kumaraspcode2009@gmail.com

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Jayakumars
Jayakumars  
Posted on: 9/27/2012 5:50:27 AM
Level: Bronze | Status: [Member] | Points: 25

hi
Please mark as answer if it helpful to you.

Mark as Answer if its helpful to you

Regards
Email Id: kumaraspcode2009@gmail.com

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Ranjeet_8
Ranjeet_8  
Posted on: 9/27/2012 6:13:33 AM
Level: Gold | Status: [Member] | Points: 25

Hi.. u can use below code

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate >
// Your File upload control here
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="Button1" /> // Submit Button ID
</Triggers>
</asp:UpdatePanel>

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Hariinakoti
Hariinakoti  
Posted on: 9/27/2012 6:30:07 AM
Level: Starter | Status: [Member] | Points: 25

Thanq Ranjeet

Thanks & Regards
Hari

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Hariinakoti
Hariinakoti  
Posted on: 9/27/2012 7:10:17 AM
Level: Starter | Status: [Member] | Points: 25

see this links
http://asp.net-tutorials.com/controls/file-upload-control/
http://www.codeproject.com/Articles/1757/File-Upload-with-ASP-NET

Thanks & Regards
Hari

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Hariinakoti
Hariinakoti  
Posted on: 9/27/2012 7:10:50 AM
Level: Starter | Status: [Member] | Points: 25

Please Mark As Answer.If it is helpful to u.

Thanks & Regards
Hari

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Nkkppp
Nkkppp  
Posted on: 9/27/2012 8:01:10 AM
Level: Starter | Status: [Member] | Points: 25

Hi All,

I would like to clarify that I am aware of how to use Fileuploadcontrol in Updatepanel. I just want to know whether the whole page will be posted back or else only the fileupload control.

Just clarify the above doubt.If it is posting back the whole page then there is no use of using AJAX updatepanel with fileupload control.

Thanks.

Prathap.

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Vinay13mar
Vinay13mar  
Posted on: 10/14/2012 10:41:48 AM
Level: Starter | Status: [Member] | Points: 25

check the link
http://dotnetpools.com/Article/ArticleDetiail/?articleId=5&title=Fileupload%20Control%20In%20Asp.net

Nkkppp, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

Found interesting? Add this to:


 Latest Posts

Write New Post | More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 3:41:14 PM