@if ((Model.IProductionStatus != 3 && !Model.BIsJobFinished) && (BLSession.BIsProductionAccess || Model.objPageAccessInfo.BIsStatusUpdate))
{
Production Section
@if (Model.IProductionStatus == 0)
{
if(Model.BIsSetupCompleted)
{
Start
Finish
}
else
{
Start
Finish
}
}
else if (Model.IProductionStatus == 1)
{
Stop
Finish
}
else if (Model.IProductionStatus == 2)
{
Start
Finish
}
@if(Model.BIsProductionRunning)
{
@Model.STotalProductionRunningTime
}
else if (Model.BIsProductionStopped)
{
@Model.STotalProductionTime
}
else if (Model.BIsProductionCompleted)
{
@Model.STotalProductionTime
}
Submit
}
I am having a start button in one of my MVC application, when clicking the start button a timer will be started. Now I am duplicating the same page and again clicking the start button again the time is started. But I need to show a popup that it should show it is started already