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:818344
More Search Options
RSS Available
Matching Posts
Re: Updates with Linq and Dynamic Data - How does this work?
I guess what I'm asking is, "Is DD serializing entities and deserializing them so that it can attach them to contexts between requests?" In other words, if I write my own application without DD, and my client edits data, it is now disconnected from the context that produced it. When I make a request to update the data store, a new context has to be spun up. Now I can't just attach that entity and update unless I have a timestamp or, or unless I have the original entity, or unless
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 5/21/2009
Updates with Linq and Dynamic Data - How does this work?
I've written and put into Production a Dynamic Data application using Linq To SQL. But, there is something that is still unclear to me: Normally with L2S, in order to update an entity, you have to attach a disconnected entity and have timestamp so that Linq can handle concurrency. Either that or you have to make an additional round trip to the database and, then a refresh, and then submitchanges(). How does this work with Dynamic Data? What's happening back there with updates?
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 5/21/2009
Filed under: update, Dynamic Data, Linq to SQL
Re: Filter one datasource column with multiple values
Nice. I tried using that at one point but was confused by there being no constructor on the objects. That worked. Thanks for your help Steve!
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/12/2009
Re: Filter one datasource column with multiple values
So is ForeignKey_MultiSelect from Josh's Dynamic Data Filtering project?
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/12/2009
Re: Filter one datasource column with multiple values
That would be nice if you get a chance to do that. Thanks Steve.
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/11/2009
Re: Filter one datasource column with multiple values
I see your blog on that, but although it mentions [Filter(FilterMode=FilterControlMode.MultilSelect)] I don't know what to do with it after that. I'm already using Josh's coolness, but he doesn't really go into how to do this either.
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/11/2009
Re: Filter one datasource column with multiple values
Understood. But then, what is "InExpressionParameter" and what are the Attributes I see for setting filtermode == multiselect and such? It looks like capabilities are there from an API perspective. Ok, well we tried using OnSelecting to implement Linq, but as I noted in my original post, the results, although they showed as filtered in the Result object while in debug, did not render to the page filtered. Then we tried OnSelected, but the e.Result is readOnly there.
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/11/2009
Filter GridDataSource by multiple values in one column
I have a GridDataSource (DynamicLinqDataSource actually) and I'm trying to filter a column by multiple values. This would be like using "contains" or "in". I originally wanted to leverage my existing code which already filters on one column in page_init: GridDataSource.WhereParameters.Add( new Parameter( "it.Location" , TypeCode.Int32, _location)); I'm not sure how I'd accomplish "contains" style filtering with that. So I tried this: using (MyDataContext
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/10/2009
Filed under: contains, filter, GridDataSource
Filter one datasource column with multiple values
I've done some poking around, but didn't see an answer on this. I have a GridDataSource that I want to filter when the page loads. But I want to filter a column by multiple values, like using a "contains" or an "in". The column is an integer value. I tried this: protected void GridDataSource_Selecting( object sender, LinqDataSourceSelectEventArgs e) { if (someCondition) { using (MyDBContext db = new MyDBContext ()) { e.Result = db.Employees.Where(emp => _currentUser
Posted to
ASP.NET Dynamic Data
(Forum)
by
jtlembke
on 3/10/2009
Filed under: contains, filter, GridDataSource, in
Custom Error Page doesn't work on deployment
Using some code I found at Coding4Fun I implemented a custom friendly error page using Application_Error to server.transfer to the custom pages. On my localhost machine, this works beautifully with the following code: void Application_Error( object sender, EventArgs e) { Exception error = Server.GetLastError().GetBaseException(); LogEvent(error.Source, error.Message, EventLogEntryType.Error, error.StackTrace); Response.Clear(); CompilationSection compilationConfig = (CompilationSection)WebConfigurationManager
Posted to
Configuration and Deployment
(Forum)
by
jtlembke
on 12/22/2008
Filed under: customerrors
Page 1 of 6 (53 items) 1
2
3
4
5
Next >
...
Last ยป
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
ASP.NET:
Bytes by MSDN: Brad Abrams Interview with Billy Hollis: Silverlight 4, RIA Services and VS2010
Mix Online:
Pictures or it Didn't Happen
Channel 9:
Reactive Extensions API in depth: even more Zip
TechNet Edge:
SDL For Agile
Mix Online:
Test Lab Note
Channel 9:
Enabling Help in the Visual Studio 2010 Shell
Channel 9:
Office Casual - Smart Art
WindowsClient:
Prism and MEF
IIS.NET:
Overcoming the Challenges Enterprises Face with Streaming Video
Silverlight:
MEF, Silverlight and the HVP
TechNet Edge:
Client and Cloud Security
TechNet Edge:
Client and Cloud Security
Channel 9:
Building on Azure: Persistent Systems
Channel 9:
Building on Azure: Persistent Systems
TechNet Edge:
AD RMS Certificate Hierarchy and the Protection Process
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online