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:801472
More Search Options
RSS Available
Matching Posts
Re: ASP.NET Dynamic Data + guid
I would guess there isn't until a new version comes out. It took MS a couple weeks to get back with that solution at this point and I believe they have noted it for the new version.
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 7/29/2008
Re: ASP.NET Dynamic Data + guid
So here is the working solution for this issue. Using the same namespace as your data model create a class. Then create your partial class of the table you wish to use a SQL server set newid() guid. Here is a copy of the class I created. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace YourOwnDataModel { [ MetadataType ( typeof ( ClientInformation_MD ))] partial class ClientInformation { public ClientInformation
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 6/2/2008
Re: FileUpload HasFile returns false everytime.
I'm having the same issue...the FileUpload field is not returning the file I selected. Checking to see if there is a 'FileName' didn't work either. Any other ideas?
Posted to
Web Forms
(Forum)
by
aspnerd
on 5/19/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
Hey Scott...I emailed you...did you receive it?
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/16/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
ok so I grabbed the namespace 'LifeGroupDataModel' it didn't show the ClientGUID now....but when I hit 'Insert' I got an error... Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: an error occurred while updating the entries. see the InnerException for details.
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/15/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
yes...this is what it looks like... using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace LifeGroup { //public class CustomClass //{ //} [ MetadataType ( typeof ( ClientInformation_MD ))] partial class ClientInformation { } partial class ClientInformation_MD { [ Scaffold ( false )] public object ClientGUID { get ; set ; } } }
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/15/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
ok so my custom page is now set back to autogeneraterows="true" but the field is still there and I get this error... List of validation errors The ClientGUID field is required
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/15/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
It's still requiring the primary key field. If I go and list out all of the fields AutoGenerateRows="false" > <Fields> <asp:DynamicField DataField="ClientName"></asp:DynamicField> Then
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/15/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
It's still requiring the primary key field. If I go and list out all of the fields AutoGenerateRows="false" > <Fields> <asp:DynamicField DataField="ClientName"></asp:DynamicField> Then I get an error....on the first line here... finally { if (_this._xmlHttpRequest != null ) { _this._xmlHttpRequest.onreadystatechange = Function.emptyMethod; _this._xmlHttpRequest = null ; } } this file seems to be a dynamic file...
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/15/2008
Re: Primary Key Field Displayed when using Ado.Net Entity Data Model
David...where are you placing the ScaffoldColumn(false)?
Posted to
ASP.NET Dynamic Data
(Forum)
by
aspnerd
on 5/15/2008
Page 1 of 2 (13 items) 1
2
Next >
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
IIS.NET:
SiteShell
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online