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:

220 questions
0
votes
1 answer

Asp.net Dynamic data multiple relational entities on single page

How to create form out of multiple relational entities with Asp.net dynamic data. E.g. I have a customer table associated with address master. (1 -> 0.1) I want to show both these entities to a single page while create and editing customer. How…
bijayk
  • 556
  • 3
  • 18
0
votes
1 answer

How do we give default value to Primary Key fields in websites created through ASP.NET Dynamic Data (Entities)

I am creating ASP.NET Dynamic Data Site (using entities) to manage master tables of my application. All my master table has a Primary Key of "UniqueIdentifier" in SQL Server. Where should I write "Guid.NewGuid()" in order to give default value (as…
Nirman
  • 6,715
  • 19
  • 72
  • 139
0
votes
0 answers

Displaying a Calculated Column in DynamicData Site table?

According to what I've read, to add a calculated Column to display in the ASP DynamicData table, I just need to add a Readonly property to the table class, and set: [ScaffoldColumn(true)] and return the value. Here's what I did according to those…
A.G.
  • 2,089
  • 3
  • 30
  • 52
0
votes
3 answers

Suggestions on which ASP.NET control to use?

I've received a project for internal use. My application has to store about 100 rows of meta data of a game and each row has about 15 fields maximum. Fields can be game name, game category, maker, source code path, etc. I will most likely have to…
burnt1ce
  • 14,387
  • 33
  • 102
  • 162
0
votes
1 answer

ASP.NET Dynamic Data does not render additional properties

I have a case where I need to add properties to my generated model. Basically what I've done is the following: Generate the entity model from an existing database Created a partial class which has the same name and namespace as one of my entity…
Kassem
  • 8,116
  • 17
  • 75
  • 116
0
votes
0 answers

Dynamic Data View based on the type of user

I have dynamic data website, there are 3 Roles: Admin, Data Entry and User. I want it that User can only view, Data Entry can Add/View and Admin can Add/Edit/View. The user will have his/her authentication in Session["user"] and his authority is…
0
votes
2 answers

ASP.NET DynamicData - add table at runtime?

We currently have an ASP.NET Dynamic Data website for our intranet that was developed by a contractor who is no longer with us. None of our developers currently have VS 2008 installed, so are not able to open modify the source code of this intranet…
Brett
  • 1,127
  • 6
  • 11
0
votes
3 answers

Convert below C# dynamic data context registration code to VB?

model.RegisterContext(typeof(NorthwindDataContext), new ContextConfiguration() { ScaffoldAllTables = true, MetadataProviderFactory = (type => new DefaultTypeDescriptionProvider(type, new…
Kevin LaBranche
  • 20,908
  • 5
  • 52
  • 76
0
votes
1 answer

Dynamic Data adding extra columns on Edit page

I have a dynamic data site, that records a project name and customer name. The Insert page works fine, but the edit page duplicates the edit fields. So on the edit page there will be: Project Name : [TextBox] Project Name :1 [TextBox] On the…
Halceyon
  • 299
  • 1
  • 4
  • 12
0
votes
1 answer

asp.net Dynamic Data Entities Site sorting rows

I am working on an admin area that is a Dynamic Data Entities site. My tables have an Int column called OrderID that is meant to be the displayed order for the Admin and front end of my site. Does the asp.net Dynamic Data site have anything built in…
chris_dotnet
  • 844
  • 9
  • 14
0
votes
1 answer

Customize the labels of a foreign key field in a dynamic data website

I'm using Dynamic Data .NET 4 with scaffolding to edit data in my database. I'm using LINQ to SQL, and I have a table that contains 3 fields that all reference the same table with their foreign keys: Matches TeamAId - Foreign key references a team…
0
votes
2 answers

How to use CKEditor in DynamicData project?

I want to use CKEditor with DynamicData Web Site. The all examples that I have found are old version of CKEditor. So How can I integrate CKEditor with asp.net dyamica data web site? Any help will be greately appreciated. İY
ibrahimyilmaz
  • 18,331
  • 13
  • 61
  • 80
0
votes
1 answer

Foreign key shows wrong field in dropdownlis in dynamic data

Foreign key fields in Dynamic Data show the next char field of the child table in dropdownlist. How can I tell it to show another field? Assume these tables: Personnel(PKPersonnelID, PersonnelName, FKDepartmentID) Department(PKDepartmentID,…
Karadous
  • 1,555
  • 3
  • 26
  • 37
0
votes
2 answers

Why is my viewstate growing between postbacks when using dynamic data?

I'm writing a pretty complex web form using ASP.NET Dynamic Data. Several of the controls on this form post back, since there are dependencies between controls. I'm noticing that the viewstate is growing larger with every postback, until after 5…
0
votes
2 answers

How to remove related tables from list.aspx in dynamic data

I'm using ASP.NET Dynamic Data. When table rows are listed in List.aspx there are columns that show the name of tables that have foreign key to this table. These columns are not a field in table and Dynamic Data generates them automatically. How…
Karadous
  • 1,555
  • 3
  • 26
  • 37
1 2 3
14
15