Tags » Mvc

MVC Web grid with column with line break

Controler::
__________________________

public ActionResult EmployeeTaskReport()
{
using (DataAccessLayer.DatabaseContext db = new DataAccessLayer.DatabaseContext())
{
int UserLoginID = UserRepository.GetLoginUserID();
var UserTaskList = db.TaskMasters.Where(_ => _.LoginID.Value.Equals(UserLoginID)).ToList();
ViewBag.TaskStatus = db.TaskStatusMasters.ToList(); 166 more words

MVC DELETE CONFIRMATION

Razer View:
@{
ViewBag.Title = “Home Page”;
}

.dialog_css
{
border: 0px none !important;
-moz-box-shadow: 1px 2px 4px 2px rgb(136, 136, 136);
-webkit-box-shadow: 1px 2px 4px 2px rgb(136, 136, 136); 125 more words

MVC

Models and Views and Controllers, Oh My!

What is MVC?

The MVC framework stands for Models - Views - Controllers and is the basic structure of any Rails application (although not used exclusively in Rails). 613 more words

Ruby

MVC partial view grid with working paging and shorting

#region EmployeeWorkReport Controler Page Coding

public ActionResult EmployeeWorkReport()
{
using (DataAccessLayer.DatabaseContext db = new DataAccessLayer.DatabaseContext())
{
ViewBag.LoginID = new SelectList(db.Employees.Where(_ => _.status.Equals(“1”) && _.Role.Equals(“Employee”)).Select(_ => new { LoginID = _.LoginID, UserName = _.Firstname + “” + _.Lastname + “-” + _.EmployeeID}).ToList(), “LoginID”, “UserName”); 705 more words

MVC

Forms and WebForms pt3

And the POC and learning continues. I did not like hiding the WebForms form, and it turns out that’s not necessary. You can include the Form controls in \Views\Shared\ElementBlocks. 323 more words

EPiServer 9