Showing posts with label processing. Show all posts
Showing posts with label processing. Show all posts

Wednesday, March 28, 2012

How do I set off a process and display UpdatePanel on page load

I think this should be a simple task: I have a page that does some lengthy processing and I am using an update panel to show the user that something is happening. Currently, I have to load the page and the user has to press a buttong to start processing. Now, for me, this is a pointless step.. I want the page to kick off the server processing on page load and then display a page with the UpdatePanel which is then updated when the process is complete.

What is the best way to do this?.. Any suggestions?

:)

let me try this idea. once processing starts, you had the actual update panel, and show the update progress control, which gives the idea that processing is going on another page, then show the panel back again.

just a suggestion, since Atlas allows us to work with different parts of the page, somewhat like in windows forms.

a trial.

Regards,
formationusa


repost

Hide instead of had
sorry for the mistake, i have to check my spelling more often.

let me try this idea. once processing starts, you hide the actual update panel, and show the update progress control, which gives the idea that processing is going on another page, then show the panel back again.

just a suggestion, since Atlas allows us to work with different parts of the page, somewhat like in windows forms.

a trial.

Regards,
formationusa

Wednesday, March 21, 2012

How can I UpdatePanel.Update() during processing

Follow the code test.I'm trying to show each line per time... but this 5 lines were showed after the proc ended

How can I do this ?

For iAsInteger = 1To 5
Dim drAs DataRow = Session("dt").Rows.Add
dr("DLLFilename") =CStr(i * 1)
dr("DLLDatetime") =CStr(i * 2)
dr("PackageName") =CStr(i * 3)
dr("PackageID") =CStr(i * 4)
dr("DLLFolder") =CStr(i * 5)
dr("MSIFolder") =CStr(i * 6)

GridView1.DataSource =New DataView(Session("dt"))
GridView1.DataBind()
UpdatePanel1.Update()

System.Threading.Thread.Sleep(1000)
Next

The data is only sent to the browser when the server method completes. Calling Update() only flags the updatepanel to be updated when the server processing is complete.