I was trying to create a Dynamic Data Website using VS 2010 RC. An attempt to create an App_Code folder where I would put a LINQ to SQL class, failed. When I selected 'Add ASP.NET Folder' to add the folder, I had options to create only the following folders:
App_GlobalResources
App_LocalResources
App_Data
App_Browsers
Theme
What ha...
I'm using the Self-Tracking Entities codegen option in EF4 (VS2010 RC), and I'm trying to use Dynamic Data to build a quick-and-dirty website for editing. The Entities, Data Context, and EDMX files are all in separate assemblies, and this model works well when I call everything in code. But when I try to use it with Dynamic Data, right o...
Hi,
I've got a couple of questions about the naming convention for the DisplayTemplates and EditorTemplates in MVC 2.
If for example I have a customer object with a child list of account how do I:
Create a display template for the list of accounts, what is the file called?
When I'm doing a foreach( var c in Model.Accounts ) how do I ...
I'm working on a project in which we have a database, data layer (entity framework), business layer and web/UI layer.
I want to use ASP.NET Dynamic Data for the web layer, but don't want it to access the data layer or database, as I want it to be purely running off business logic, and not directly accessing the data.
However, it appear...
Since the automatic scaffolding of ASP.NET Dynamic Data Web Pages does most of the things I need to do for this project on its on, I'd like to use it as a basis.
Now, I like to add another link to the "Edit" "Delete" "Details" trio on my custom table view. I'd like it behave much like the "Delete" button, i.e. not call another page, but...
Hi
Dynamic Data question:
I have 2 fields of type Nullable<DateTime> on my model
When I use the insert form and enter a garbage string e.g. "sdfsdfas" for a date it gives me an ugly error message
Unable to convert input string ' rtgh' to type 'System.Nullable`1[[System.DateTime, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyTo...
I'm very disappointed in the built-in GridView control.
I wanted to make a simple data-entry web application, thinking Dynamic Data would save me time.
But it turns out that the GridView doesn't even support basic user interface scenarios such as inserting a new row.
Since the project I'm building will incorporate this scenario a lot,...
I'm making a security permission system for a Dynamic Data site based on the article Securing Dynamic Data Preview 4 Refresh. The system contains an additional permission kind: "deny an operation for a record/field if a record is not owned by an user".
If an user can read only own objects, we need to have an always enabled filter in Lis...
Hello,
Just thinking about the best way to build an Order form that would (from user-perspective):
Allow adding multiple items.
Each item has Name, Job Type drop-down and File upload.
User can add or remove items.
User must provide at least one item.
All the items should be validated (eg: Name, JobType and File are required).
When he ...
I'm new to using asp.net dynamic data apps.. I just generated a simple app from my schema, and in one table I'm trying to insert a record where one of the fields is a varchar(255) field. I am finding that any input that has the "<" character in it will cause the app to throw an error when you try to save it, with the exception being if ...
I'm developing a dynamic data web app. On list.aspx page it has GridViewPager control for paging, it option in drop down list as 10,20,.. rows in a page like that, but it does not an option show all rows in a page.
How I can add "All" option in it?
...
Using Linq-to-SQL and Dynamic Data.
On a Dynamic Data edit screen, a dropdown lists the possible values for a foreign key.
I need to filter the values listed in this dropdown, preferably by adding a where clause on the linq-to-sql query.
Any ideas?
...
I have created a Dynamic Data site against an Entity Framework Model
I have 2 fields which are nvarchar(max) in the DB and they do not get rendered on the list view
This is probably a sensible default
But how do I override this?
Have tried adding various attributes to my MetaData class e.g
[ScaffoldColumn(true)]
[UIHint("RuleData")]...
Hi All,
I am trying to load/show completely different set of values in a combobox(this one resides as a editor within an EditorGridPanel) based on the valueField of another combobox(this one resides outside the grid in top bar). I have already seen a tutorial(http://www.extjs.com/learn/Tutorial%3ALinked%5FCombos%5FTutorial%5Ffor%5FExt%5...
Hi,
I have an web based application. The content for the Home page has been currently mentioned in the HTML code for the Home page using , and tags. To change the content anytime in future, it needs to be changed in the HTML code. :(
Is there a way that we can pick up the content from some external place and get it reflected through ...
While inserting new record in Dynamic Data using Entity Framework 4.0 in ADO.NET, i need to set our own sequence (already created in database) to that primary key column.
How do we set this sequence to Primary key column
...
is there a way to go from a MetaTable to an instance of an entity type so it can be queried with LINQ? What I want to do is this:
MetaTable table = GridDataSource.GetTable ();
var entity = table.GetInstanceOfEntity();
var test = (from t in entity select t).ToList();
where table.GetInstanceOfEntity() is something that I'm not sure how ...
I want to be able to show some data based on criteria the user enters in a text field. I can easily take this data, process the form post, and show the data on another page. However, I want to be able to do it all on the same page - they click the button, and a new div shows up with the information. This doesn't seem too complicated, ...
I would like to create a non-VBA based solution to the following question:
How do I create a multi-series chart that will allow a user to select from a dropdown to change the data being graphed? I can do this already when the data series is contiguous; however, I'd like to be able to do it for non-contiguous data. Is this possible?
M...
Is it possible to use ASP.NET Dynamic Data with SubSonic 3 in-place of Linq to SQL classes or the Entity Framework? MetaModel.RegisterContext() throws an exception if you use the context class that SubSonic generates. I thought I remembered coming across a SubSonic/Dynamic Data example back before SubSonic 3 was released but I can't find...