A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/telerik/ui-for-aspnet-mvc-examples below:

telerik/ui-for-aspnet-mvc-examples: A collection of Telerik UI for ASP.NET MVC examples

UI for ASP.NET MVC Examples

This repo contains a collection of Telerik UI for ASP.NET MVC examples. They are located in the Area folder of the project for convenience to the user. The provided samples:

DISCLAIMER: The Telerik.Examples.Mvc project is created only for demonstration purpose of the code samples and syntax. Its references, external packages and current versions should not be used in production and we don't claim responsibility for any package security.

To run projects from this repository:

  1. Clone the repo.
  2. Open the Telerik.Examples.Mvc.sln file in Visual Studio.
  3. Clean the solution.
  4. Restore any missing NuGet packages.
  5. Build the solution and run the project.

To add a new sample, you can

  1. Create a new Area which will contain all the necessary files. The Naming of the sample should follow this logic:

  1. Delete the web.config file and Views/Shared folder as they are optional.
  2. Alternatively, you can copy another working Area and do mass-renaming.
  3. It is important to apply namespaces to the Controllers and Models of the example so the classes do not become ambiguous, e.g. Telerik.Examples.Mvc.Areas.GridSelectionByField.Models
  4. If you are adding an example with database, ensure that you change the EF model class names, but not the collection names:

And then you can add new Entity definition to the Web.config like this:

	  <add name="GridEditingInLineDatabaseEntities" connectionString="metadata=res://*/Areas.GridEditingInLineDatabase.Models.SampleModel.csdl|res://*/Areas.GridEditingInLineDatabase.Models.SampleModel.ssdl|res://*/Areas.GridEditingInLineDatabase.Models.SampleModel.msl;provider=System.Data.SqlClient;provider connection string='Data Source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\Sample.mdf;integrated security=True;connect timeout=30;MultipleActiveResultSets=True;App=EntityFramework'" providerName="System.Data.EntityClient" />


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4