|
Respected,
How we Display Progressbar on FileUpload Control in Asp.Net
Thanks.
|
|
|
|
|
You can use AJAX update panel and Update Progress bar for that. But here you can't show the actual progress of upload. Try to use some Flash Uploader.
|
|
|
|
|
Abhijit Jana wrote: You can use AJAX update panel and Update Progress bar for that
How would the Ajax update panel would be used if the fileupload doesnt work when it is inside an update panel unless the update panel has a syncronous postback trigger??
Alexei Rodriguez
|
|
|
|
|
You need to set the Ajax Update Panel Postback Trigger as,
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="Upload" />
</Triggers>
<ContentTemplate>
.....
....
</ContentTemplate>
Where Upload is the ID of Upload Button. And On Client Click on Upload, you need to write ,
function ShowProgress()
{
document.getElementById('<% Response.Write(UpdateProgress1.ClientID); %>').style.display = "inline";
}
Below is the code for Update Progress bar,
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
<ProgressTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/wait.gif" />
</ProgressTemplate>
</asp:UpdateProgress>
Hope this is clear to you
|
|
|
|
|
But this wouldnt show the actual progress, would it??
It looks like it will only show an image indicating activity, or how does it work?
Alexei Rodriguez
|
|
|
|
|
Quoted From my first Answer !
Abhijit Jana wrote: But here you can't show the actual progress of upload. Try to use some Flash Uploader.
|
|
|
|
|
|
Welcome ! Let me know if you have any further issue !
|
|
|
|
|
hi
i would like to sprees some information from HTTPS response we recive and want set some value in https request.
Does any one knows how to do this.
Thanks
Ashwin.
AshwinGupta
|
|
|
|
|
|
Hi All,
I need your help.
I developed a mobile web page for pda in asp.net 2.0. From the page user enter the 10 digit barcode number
and get the result.
My problem is that I am doing auto submit process or OnKeyPress function. When user enter 10 digit number then my JavaScript function called button click event. But its called twice in IE7, its working fine in firefox.
Problem is in IE7 browser. My JavaScript code given below.
function ScanTiket()
{
var val=document.getElementById('ctl00_tbBarCode').value;
if(val.length==10)
{
//alert(val.length);
var ele = document.getElementById('ctl00_btnGetRecords');
if ((ele !== null) && (ele != 'undefined'))
{
ele.click();
}
}
else
{
return false;
}
}
please help me out.
Thanks
Rajesh....
|
|
|
|
|
how can i see how many people are on line in the web site application
|
|
|
|
|
|
Please can any one help me on ho to display the messageBox using the ajax controll tool kit
|
|
|
|
|
If it just a simple message, alert would be good enough. In case there is some functionality, you can use ModalPopExtender.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
dominic kMalisa wrote: Please can any one help me on ho to display the messageBox using the ajax controll tool kit
What is the need of of Ajax Tool kit for showing message.
You can just simple use Alert()
|
|
|
|
|
Hi All,
I need your help.
I developed a mobile web page for pda in asp.net 2.0. From the page user enter the 10 digit barcode number
and get the result.
My problem is that I am doing auto submit process or OnKeyPress function. When user enter 10 digit number then my JavaScript function called button click event. But its called twice in IE7, its working fine in firefox.
Problem is in IE7 browser. My JavaScript code given below.
function ScanTiket()
{
var val=document.getElementById('ctl00_tbBarCode').value;
if(val.length==10)
{
//alert(val.length);
var ele = document.getElementById('ctl00_btnGetRecords');
if ((ele !== null) && (ele != 'undefined'))
{
ele.click();
}
}
else
{
return false;
}
}
please help me out.
Thanks
Rajesh....
|
|
|
|
|
I did not find any tutorial that have discus these httpwebrequest and webresponse classes.
please help where can i find the detail tutorial book or any thing that have discuss these classes in depth
thanks
amirzada
|
|
|
|
|
|
aamirzada wrote: I did not find any tutorial that have discus these httpwebrequest and webresponse classes.
Did you try this[^]?
|
|
|
|
|
when i run the application from my local machine am getting some unwanted characters along with the page link in the browser. shown in Bold below.
http://localhost/(S(bgy3ki2mheunfu45eptcu3nv))/contactus.aspx
why it is coming like this. should i do any setting or anyother changes?. will it come while uploading this website. this characters are showing in all the pages.
|
|
|
|
|
It is due to the Cookies You Enable Cookies..!
Check web.config file SesstionState mode..!
|
|
|
|
|
|
Any Time ..!
|
|
|
|