i want to clear the value of categoryid when redirect to the page
Model:-
public class AddBusinessLocationViewModel
{
public Nullable City_Id { get; set; }
public Nullable CityArea_Id { get; set; }
public Nullable state_id { get; set; }
public string OpenTime { get; set; }
public List CategoryId { get; set; }
}
Controller:-
{
ModelState.Clear(); //this will clear all value
return View(BVM);
}
Nigel FernandesPosted Dec 22, 2016, 8:43 PM
MayankPosted Dec 22, 2016, 5:29 AM
Mangesh GPosted Dec 20, 2016, 8:30 AM
Dr.Ajay KashyapPosted Dec 20, 2016, 8:07 AM
Mangesh GPosted Dec 20, 2016, 7:53 AM
Dr.Ajay KashyapPosted Dec 20, 2016, 7:25 AM
Mangesh GPosted Dec 20, 2016, 7:20 AM