I'm using Dynamic Data and LINQ to SQL for some admin pages on a .NET 3.5 web app. All my admin tables have a CreatedBy, CreatedDate, UpdatedBy, and UpdatedDate.
I'm looking for a way to inject the setting of these properties before the objects are inserted and updated.
I've seen an object_inserting hook if you have a linq to sql data...
Hi all,
In my app I need to lay some text which I'm getting from a parsed data. Currently I'm currently laying it in a label. The problem is there are going to be some html tags indicating an image [along with its url] and videos etc in that plaintext. What is a good way to handle this identifying images and videos tags and laying corre...
Is there any way to change the connection string at runtime when working with the Dynamic Data framework and LINQ.
There seems to be no way to register multiple Models (with a single shared DataContext) at runtime, I just get an exception saying the specified DataContext type has already been registered.
I have tried using multiple mod...
Can anyone elaborate on why you'd define ViewData["MenuData"] on every action for something like a dynamic menu?
I have a simple partial view which renders a menu, I render this menu from within a master page. This is intutive for me comming from ASP.NET WebForms, but the only way for me to populate the menu is to pass ViewData["MenuDat...
I have just started to work on Dynamic Data and after trying a lot I am unable to find the solution of this. I have two tables which are parent child have foreign key relationship. Now on my dynamic data website every time when I view children table the column text is always displayed as parent field name not the child field name. I woul...
I am using the Vtip plugin to show title values in a tooltip when hovered. Everything works fine apart from when I try and use the plugin to display toolips on dynamically created data. I normally get around this using live() function. How can I implement the live() function to their code???
this.vtip=function(){this.xOffset=-10;this....
I have just added the Dynamic Data Filtering library to an Entity Framework based Dynamic Data web application, but on trying to access List.aspx, I get the following error. Is there anything I can do about this on .NET 4?
The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called befo...
I have the following metadata property on a Region:
[FilterUIHint("ActivationCampaignFilter")]
[DisplayName("C")]
public object Campaigns { get; set; }
The DisplayName attribute is effective at changing the visible name of Campaigns to just "C", but the FilterUIHint attribute is simple ignored and a standard FK...
Hi,
I'm aware you can map multiple storage tables to a single entity if they have a one-to-one relationship in EF 4.0.
Example:
(storage)
(1)Table: People
Columns: Name, Age
(2)Table: Customers
Columns: Registered
--
Relationship: People <1-1> Customers
(concept)
Entity: Customers
Columns: Name, Age, Registered
I'm wo...
This doesn't work in D:
void doSomething(auto a, auto b){
// ...
}
I'm just curious, will this ever work? Or is this just technically impossible? (Or just plain stupid?)
In anyway, can this be accomplished in any other way? I suppose I could use the ... and look through the argument list, but I'm kinda making a library for lazy n...
In an ASP.NET Dynamic Data web site/project, all the templates have CSS classes like CssClass="DDFilter", but I can't find these styles anywhere. Are they served dynamically from a handler or something, or do I have to provide them all myself?
...
Hi people,
I have a Dynamic Data custom page with a child formview that connects to the main formview with a query extender via a controlfilterexpression
As per the first diagram: http://msdn.microsoft.com/en-us/library/dd985039(VS.100).aspx#
I've hooked the ItemInserted event and would like to call an insert on the child using the id...
Hi,
I just wanna ask if there's a possibility to change:
<input type="hidden" name="reference" value="ABC"/>
into this:
<input type="hidden" name="reference" value="any values I want"/>
where I can set any values behind .cs/C# - making it dynamically. The payment gateway I'm using requires and I can't find a way to included an AS...
Hi,
I need some jQuery plugin, tutorial or guidelines to create simple image gallery which content could be loaded dynamically, it would display one image at the time, and that image would be changed by sliding it to the left or right.
I have tried jCarousel, but I could not manage to make it show only one image at the time with dynam...
Hi All,
I'm developing my first Dynamic Data website and I need very simple authentication (basically, you have access to the application or not - there is no field or table level requirements).
I've found a number of articles about enabling authentication however these seems to focus on a more complex granular level of requirement.
...
I have a ASP.NET (VB) Dynamic Data Project in ASP.NET 4.0. It works great - and offers filtering - but now I want to add searching to it. What is the best way to accomplish this in ASP.NET 4.0? Is there any built-in functionality for performing searches declaratively?
...
I'm quite confused. I created a dynamic data site with a LINQ to SQL model, and everything seems to work find, except the insert button's don't show up on any of the list pages. I've checked and the control is in the page, but it's not rendering anything.
Anyone have any ideas?
...
I'm porting a Dynamic Data project from L2S with DD preview 4 to EF with .NET 4. My custom code which works with MetaTable.GetQuery() results has stopped working. I have used the following code to apply ordering/filtering expressions to the MetaTable contents:
public static IEnumerable GetOrderedItems(this MetaTable table)
{
var que...
The default ASP.NET Dynamic Data template by default uses a GridView to display the menu repeating vertically. This doesn't look particularly well. I'm wondering if there is either (a) a way to get the gridview repeating horizontally or (b) use another control that allows horizontal repeating.
...
I've figured out how to use metadata to define the displaynames for table data I want to rename - but I haven't figured out how to do this to the tables themselves - so that when the initial dynamic data menu comes up the menu options are friendly rather than the actual table names. Any suggestions?
...