Web Forms :: How To Update Server Processing Condition To Client
Oct 15, 2010
My scenario is that when a user clicks a link to download a file, a large file will be downloaded. But many files are zipped and to become a requested large file, files are needed to be unzipped at the server side and download it. Meanwhile unzipping the files, I wanna show to the user how many percent of files have been unzipped.
So, I save the current condition of % into the session () and it has been updated accordingly and in the other page session is called using the iframe to be seem as they are in the same page. But the problem is that,
while updating the iframe with update pannel and timmer tick event doent work and only when unzipping process has done, it works.
View 1 Replies
Similar Messages:
Jan 4, 2010
Which processing is fast Client-side or Server-side? for client side processing browser need to download every JavaScript first and in server side programming everything happens on server without downloading anything to user PC? if for a particular functionality we have solution in both javascript and php/asp then what should be chosen and why?
View 3 Replies
Mar 18, 2010
We are in the process of building a huge site. We are contemplating on whether to do the processing of HTML at server side (ASP .Net) or at the client side. For example we have HTML files which acts like templates for the generation of tabs. Is it better for the server side to get hold of content section (div) of HTML load the appropriate values and send the updated HTML to the browser or is it better that a chunk of data is passed onto client and make Javascript do the work?
View 2 Replies
Feb 23, 2010
I have devloped a dashboard, which contains different sections. Each section shows a certain user control. some user controls shows graphs and grids and some information after some calculations. Some of these controls take times (10 seconds) to load, that's why whole page take a remarkable time to load.
I wana display skelton of page and some of controls, not taking much time, and display some processing sign on controls taking time more than 5 seconds. and refresh contents of these controls after processing at server done.
View 2 Replies
Jan 18, 2010
i would like to update database which resides on web server from my database which is on my computer. One method is to upload the file and than make a connectionstring. But its not possible while I do so in every 10 secs.
Is there any method which can make the connection string from desktop to web server or any other way.
View 10 Replies
Nov 18, 2010
I am new to asp.net, so this might be a basic question. But I am struggling on this for more time... I have loaded a COM object in Server script using code behind (C#) and that COM object will trigger events in some random interval. I need to update the client page whenever I receive an event from the COM object from server side (code behind).My question is, Is there a way to make the client page do postback from the code behind(C#)? ie., The client page needs to be updated whenever an event occurs in the server. Is that possible? The com event does not trigger a postback since it only occurs in the server and not in the client.
View 3 Replies
Feb 11, 2012
in a posyback button click event i get the status(condition ) from database by executin query as said earlier currently i have this controls visible true/ false on server side code in posyback button click event after getting the condition but as suggested by u as it takes longer time on server side to makes controls visible true false to do it on client side so in posyback button click event i assigned a hidden control with the condition value now i want to pass this value to client side script so that i can toggel the visiblity depending on hidden control value from posyback button click event i am activating the setype function in client side which has the code as mentioned...wht i need is pass the hidden value to clinet side & make & position the controls on client side.
View 1 Replies
Dec 28, 2010
i need to update client on any changes occurred on server.for that i found 2 approach.
1. using ajax which is also known as reverse ajax for this purpose.
2. using COMET.
but i don't know exact difference in both.
my site contains news content and i want that news to be automatically updates when new news is entered by my CMS application. i have got hundreds of concurrent users on my web application.
NOTE: i am using .net framework 2.0 but if its not possible in 2.0 then can also move to 3.5
View 1 Replies
Jul 13, 2010
I need to write condition on client side within GridView itemtemplate.
<% if(Eval("item").Contains("keyword"){%>
<img src='<# Eval("imagepath") %>' />
<%}
else if(Eval("item").Contains("keyword2")){
%>
View 3 Replies
Jul 4, 2010
I want to run code at the server(sql update) on a client button click, but i dont want a postback (more specifically, page flicker or loss of scrolling position).
How would I do this?
View 4 Replies
Mar 27, 2010
I have a process, that outputs step by step messages (i.e., Processing item 1... Error in item 2 etc etc).
I want this to be outputted to the user during the process, and not at the end.
I pretty sure i need to do this with threading, but can't find a decent example.
View 1 Replies
May 24, 2012
What is Web services? What is Web services? How can I Transfer the data from server to client and  client to server using XML. Need one simple Example program(C# web Application) ...
View 1 Replies
May 11, 2010
I have a page that the users get redirected to. On page load this page runs a bunch of code behind that and loads table. The processing could take a few seconds to minutes depending on how big a report is run. Is there any way to completely render the page before automaticly kicking off the code? I am trying to stay away from forcing the user to click on another button.
View 3 Replies
Nov 30, 2010
This is what I am doing now:
Step 1 : The partner does an HTTP post on my server webpage.
Step 2 : My webpage gets the posted data, and does processing and generates a response number. I have a literal in this webpage, and I assign the response to this literal.
Step 3: The client parses and gets the response code from my webpage.
My question, How can I know that the client got my response code? (ie there is no time out issue)
View 5 Replies
Feb 18, 2010
I was wondering if there was anyway to populate the page with asp.net code like "<asp:Repeater ID="rptProducts" runat="server">MORE_CODE</asp:Repeater>" and then have the server use that code on the page. I'm not sure if i'm making sense. Like writing the asp.net front end code to the page dynamically before the .net engine generates the output html.
View 3 Replies
Aug 25, 2010
I have Requirement to update the label text as we are processing the code (Long running).
Example:
I have Label and button on aspx page.
On button Click Iam calling the AppCode which is going to do long work for me.
I want to update the label text from the appcode (which should reflect in the page then and there.)
I have tryed to pass the text value to the label but it shows the changed text only after the event for the button click is finished.
I tryed using timer but as soon as i click the button the refreshing stops.
I tryed progress template and UpdateProgress without success. (I know we can update at the start and end of proccess using this)
I dont want to use iframe (I know we can do using iframe)
View 3 Replies
Jul 22, 2010
how to catch update panel's request start (before partial updation request is sent to server) and response receive (before update panel is updated) events.
View 1 Replies
Mar 17, 2010
Is is possible to initiate a partial page update whenever a client makes an update (say inserrting a record) and this will update the panel of all clients who are actually viewing the page ie eliminate the use of a timer control to refresh the panel each second because am getting many problems when using timercontrol.
View 2 Replies
Oct 30, 2010
What is the best way to update data constantly on the client using asp.net Timer + Update Panel, or I need to use Reverse AJAX for that?
View 3 Replies
Feb 7, 2011
I have a request that allows the end user the option to select a radiobutton with the following values;
>= or <=
and then provide a numerical value in textbox So i would like to know if i can pass in 2 parameters to the procedure.. so that my where statement is built based on the inputs from the user.
Example would be
@conditionvalue
@numericalvalue
SELECT *
FROM mytable
WHERE column1 @conditionvalue @numericalvalue
Whats the best way to accomplish this.. the statement is pretty simple, selecting a few columns and 2 where conditions, the one above and another parameter.
View 13 Replies
Mar 25, 2011
Below is my SQL query in which I have used UNION All In my outer query.so I want to select data onwards particulardate. [code]...
View 1 Replies
Mar 5, 2010
I have seen a few posts regarding this issue but not one specific to my problem and I have no ideas as to what I need to do to debug this.I have some combo boxes on an aspx pages, when I select a value from the first one, it fills the second with value and so on with the third and fourth. This works with no problems until I wrap an asp.net UpdatePanel around the combo boxes and try to "ajaxify" the whole process so the page isn't dancing around. The exact error I get is: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 404
View 1 Replies
Jan 7, 2014
I have a page that performs some server side processing before redirecting to PayPal. The page has a gif image to indicate that activity is occurring. It is appearing as an animated image at design time but as a still image at run time. How can I get the gif image to animate at run time?
View 3 Replies
Feb 14, 2011
My web application goes onto several client servers and I wrote a simple VB6 app that when run downloads relevant files and copies them into the directory.If I wanted the web application to perform this update can I assume this is impossible, i.e. FTP the files and copy them accordingly?Also I am now pre-compiling my site each time using the aspnet_compiler and this seems to update every page, do I need to copy each page every time or simply the ones I've changed.
View 1 Replies
Feb 3, 2011
I have stumbled upon the issue when I need to retract html controls I've added client-side using JavaScript after the postback (due to server-side validation - this is not optional). I'm trying to achieve this is cr*p and there's a better way of doing this.
basically, what I'm doing is cloning a textbox control for up to 10 times on the page when the user hits "Add" and storing entered values from each of those texboxes in a hidden field to read from in the code behind. This works fine, however, when the server side validation doesn't pass after postback, all those dynamically added (cloned) texboxes disappear, since ViewState knows nothing about them.
I am considering 2 possible solution, both of which seem hacky:Rebuild all cloned textboxes on document onload() using stored values in the hidden field wrap the form in ajax update panel and place the cloned texboxes outside of it, thus, not refreshing this part of the screen on postback now, is it possible to somehow "update" ViewState to make it aware of all the html controls I've added using client-side script? I'd like to achieve this with client-side script, therefore not considering cloning textboxes on server-side,
View 1 Replies