Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:776593
More Search Options
RSS Available
Matching Posts
Re: Linq to xml not working with kml
This is the Dynamic Data forum. You need to post in the LINQ forum.
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 2/4/2008
Re: Dynamic Data and Enum-bound fields
Excellent. At first this seemed like a very difficult task but once I managed to wrap my head around how the Dynamic Data stuff is actually working the solution became pretty obvious. The ability to add custom types to the DynamicDataFields templates is really pretty cool. I do think that you should really consider native enum support similar to what I've done here. It would be great if this was built in and didn't require a render hint. Thanks. Still really liking Dynamic Data!
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 1/28/2008
Re: Dynamic Data and Enum-bound fields
Well, I couldn't wait so I came up with a solution myself. Now what I'd like to know is if there is a better way to accomplish this. To do it my way I did the following: 1. Open your .dbml file and click on the integer field that should be represented in .NET by an enum type. (If this enum isn't yet defined define it now.) 2. With the field in question selected, in the property pane change the Type property to the name of your enum (just type it in, it won't appear in the dropdown
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 1/28/2008
Filed under: Enum Enumeration LINQ Dynamic Data
Dynamic Data and Enum-bound fields
I've got a table where one of the columns is an integer. In my Linq To Sql mapping I map this column to a field whose type is an Enum. When I pull up this table in Dynamic Data the column in question is not displayed at all. What's up with this? Is there any way to use an Enum-bound field with Dynamic Data?
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 1/28/2008
Re: Creating nested queries with linq
I think it would be something like: string varCatName = "sampleCategory" ; from p in context.Pages join c in context.Categories on p.cat_id equals c.cat_id where c.cat_name == varCatName select p;
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 1/24/2008
Re: Dropdowns not updating correctly
Excellent Marcin! That did it. Both the filter and edit dropdowns are now updating as expected. I'm really pretty impressed by the Dynamic Data stuff. It seems like for years different frameworks and controls promised this sort of out of the box functionality but none managed to actually provide it. From what I've seen of Dynamic Data so far it really delivers where previous attempts have failed. I think it really has the potential to get me 40% of my 80% (in the 80-20 rule) in about 10%
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 12/20/2007
Re: Dropdowns not updating correctly
Honestly I can't imagine an application that wouldn't need immediate updating. I suppose if you had a database with no relations, but what real world app has that? I too have a hard time understanding how this got out the door as part of the preview. It took me 20 minutes of messing around with this thing to find the problem.
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 12/20/2007
Re: Dropdowns not updating correctly
Wow. That's a real disappointment. I sure hope there's a workaround because this bug is a true dealbreaker for me. And I should think for anyone considering actually using the preview . . .
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 12/20/2007
Re: Dynamic filter order by
That's a great question. I was just about to post that one myself . . .
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 12/19/2007
Re: Dropdowns not updating correctly
I am using the default dynamic data project. I've added one or two renderhints but other than that it is standard. I do not have any table-specific pages or controls in action here. This is the script for the db that is having the problem: SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO IF NOT EXISTS ( SELECT * FROM sys.objects WHERE object_id = OBJECT_ID (N '[dbo].[Projects]' ) AND type in (N 'U' )) BEGIN CREATE TABLE [dbo].[Projects]( [ProjectID] [ int ] IDENTITY (1,1) NOT
Posted to
ASP.NET Dynamic Data
(Forum)
by
stevekain
on 12/19/2007
Page 1 of 2 (16 items) 1
2
Next >
ASP.NET:
Death to confirmation dialogs with jquery.undoable
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online