Questions tagged [asp.net-dynamic-data]

ASP.NET Dynamic Data allows users to easily create extensible, data-driven Web applications by using scaffolding, which uses metadata from the data model to create the UI for Web applications. It dynamically generates Web Pages at run time from data model with list, add, edit templates with support for sorting and paging.

ASP.NET Dynamic Data is an extension to Microsoft's ASP.NET platform which allows users to easily create extensible, data-driven Web applications by using scaffolding. Scaffolding uses metadata from the data model to create the UI for the Web application. Scaffolding auto-generates Web pages that provide create, read, update and delete (CRUD) operations for each table in the model.

References:

218 questions
136
votes
9 answers

Is it possible to have two partial classes in different assemblies represent the same class?

I have a class called 'Article' in a project called 'MyProject.Data', which acts as the data layer for my web application. I have a separate project called 'MyProject.Admin', which is a web-based admin system for viewing/editing the data, and was…
Jonathan
  • 29,612
  • 37
  • 126
  • 201
14
votes
3 answers

Custom advanced entity validation with Dynamic Data

I'm looking for a solution to perform some custom entity validation (which would require database access, cross-member validation...) when the user saves its changes in a Dynamic Data screen, with Entity Framework. The validation is more complex…
Julien N
  • 3,738
  • 4
  • 26
  • 43
11
votes
7 answers

Order of fields in Dynamic Data?

Does anybody know if it is possible to choose the order of the fields in Dynamic Data (of course, without customizing the templates of each table) ? Thanks !
Cyril Bioley
  • 391
  • 1
  • 3
  • 9
10
votes
1 answer

ASP.NET Dynamic Data PRO and CONS

I heard about ASP.NET Dynamic Data in ASP.NET 4. I would like to know if you have implemented in real scenario web application and your opinions, specially in terms of customization. Some questions: Can I Use custom logic to validate Fields? Is it…
GibboK
  • 64,078
  • 128
  • 380
  • 620
10
votes
1 answer

Customising data annotations in dynamic data

I have come across a scenerio that to customize DataAnnotations in Dynamic Data Web Application. This is the scenerio: [Display(Name="DispName")] public string DName{get;set;} Instead of hardcoding Name="DispName" for Display DataAnnotation, I want…
Sujith S Nair
  • 738
  • 6
  • 20
9
votes
2 answers

Field template for editing XElement datatype in Asp.Net Dynamic Data

I have an Asp.Net 4.0 Dynamic Data website with a LINQ to SQL data context. One of the columns in the SQL Server database is NVARCHAR(MAX) and contains an XML fragment. I have mapped this to XElement in the .dbml file. I have added metadata for the…
flup
  • 26,385
  • 7
  • 48
  • 70
8
votes
2 answers

ASP.NET Dynamic Data Add Additional Filter Criteria to Page

How should I be adding additional search/filter criteria to a Dynamic Data Web Application? I created a Dynamic Data Web Application using the Northwind database and I am using a custom page for the Employees table (based on the ListDetails.aspx…
Aaron Hoffman
  • 5,766
  • 8
  • 53
  • 56
7
votes
2 answers

"The ORDER BY sort key(s) type must be order-comparable" with dynamic data

I'm trying to create a Dynamic Data website which should allow an administrator to directly edit the data in most tables in a database. So far, I have an EDMX and POCO classes, all attached to an Interface used to apply the DataAnnotations on the…
Julien N
  • 3,738
  • 4
  • 26
  • 43
6
votes
1 answer

Define Scaffolding. (with respect to Dynamic Data and ASP.NET MVC)

There is a lot of information about how to implement and customize scaffolding with Dynamic Data and ASP.NET MVC. What exactly is the definition of scaffolding when used in this context?
smartcaveman
  • 38,142
  • 26
  • 119
  • 203
6
votes
4 answers

Adding a search box to an ASP.Net dynamic data list page

Does anyone know how to add a simple search textbox on an ASP.NET Dynamic Data list page? I want to be able to drill down to a specific row immediately, without having to use the dynamic data filters to narrow the scope.
Thomas Vochten
  • 340
  • 1
  • 4
  • 12
5
votes
1 answer

How to best integrate existing database data in a content type

I have an existing database (SQL) with relational data (for example with various 1-n and m-n relationships) that I would like to integrate into a Orchard CMS based website. That database has a ASP.NET Dynamic Data as the backend data maintenance…
5
votes
4 answers

Do you think ASP.Net Dynamic Data is worth it?

At the risk of sounding misinformed, I'm under the belief that this is basically useful for RAD and fast sketching of an application. It feels somewhat Ruby-esque in the sense that it scaffolds pretty much everything you need from a CRUD…
delete
5
votes
2 answers

How to change order of dynamic filter controls?

I have a ASP.NET dynamic data site that has multiple filter controls built using metadata such as: [ScaffoldTable(true), MetadataType(typeof(Fees.Metadata))] public partial class Fees { public class Metadata { …
kravits88
  • 10,347
  • 1
  • 43
  • 48
4
votes
2 answers

Filter rows in a table using ASP.NET Dynamic Data Entities

Currently, ASP.NET Dynamic Data Entities only supports filtering on boolean or Foreign Key relationships out-of-the-box How would I implement a custom filter, based on a dropdown list of values to filter the rows by?
manning18
  • 897
  • 3
  • 8
  • 18
4
votes
2 answers

C# data annotation, can't extend a specific attribute - what are the possibilities?

I'm working on a legacy application build with ASP.NET Dynamic Data. The models, as per usual, are all read-only and one can set the display name or description through attributes. This worked well, however, now I'm in a situation where I need to…
uglycode
  • 2,762
  • 4
  • 23
  • 50
1
2 3
14 15