Tags » Mvc

SIU Forward Transfers to Alabama

TUSCALOOSA, Ala. (AP) — Alabama has signed graduate transfer forward Bola Olaniyan from Southern Illinois.

Crimson Tide coach Avery Johnson said Monday that Olaniyan adds experience, leadership and rebounding to the Crimson Tide. 93 more words


Downloading a file from MVC controller to .ascx using javascript ajax

Here is a simple way to download a file to a .net user control from a newer MVC controller.

The Controller code:

public FileResult DownloadSweetFile()
104 more words


MVC Web grid with column with line break


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


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

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


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


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