Click here to Skip to main content
16,004,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Iam having strongly typed view one post method.
@using.beginform("Save","TestController")
{
.................
.................
<button type=submit>Save</button>
}

Public class TestController
{
[httppost]
public save(model testmodel)
{
calling wcf service to save the model data

retern view("Index");
}
}

In the above scenario some time it is taking time to save the data through the wcf service in this case i want to dispaly the waiting progress bar till the save action completes.

I have tried in some ways where i dont have strongly typed model and am calling the action method through ajax call there i could able to achieve this progress bar.

But how can we display the waiting progress bar on form submit method.

Is there any way to maintain a unique waiting progress bar window in application level that we can enable automatically whenever the application take some time.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900