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:795946
More Search Options
RSS Available
Matching Posts
Method not Found ConvertEditedValue
I have asp.net 3.5 SP1 beta installed and am using DynamicField in a gridview. Everything works fine on the development machine but when I deploy it on another server which has also had asp.net 3.5 sp1 beta installed and try to edit a row I get the following error: Method not found: 'Void System.Web.DynamicData.FieldTemplateUserControl.ExtractForeignKey(System.Collections.IDictionary, System.String)'. for foreign key fields and it complains about ConvertEditedValue for regular text fields
Posted to
ASP.NET Dynamic Data
(Forum)
by
TonyHawe
on 6/28/2008
Filed under: ASP.NET Dynamic Data, ConvertEditedValue, DynamicField
DynamicValidator not catching exceptions when deleting.
I have installed the 3.5 SP1 beta. I have put some code in the OnValidate handler to return some friendly error messages. The exception thrown on Insert/Update displays fine in the DynamicValidator. Any of the errors thrown on Delete are not handled by the DynamicValidator and ends up as an unhandled exception. partial void OnValidate( ChangeAction action) { if (action == ChangeAction .Insert || action == ChangeAction .Update) { RequisitionDataContext rdc = new RequisitionDataContext (); var query
Posted to
ASP.NET Dynamic Data
(Forum)
by
TonyHawe
on 6/26/2008
Filed under: DynamicValidator Dynamic Data Onvalidate Exception
Re: ASP.NET Dynamic Data + guid
Sorry Scott, only feeling my way around these controls at the moment. Found the Fields collection in the DynamicDetailsView so I can omit the offending column when new is clicked cheers. If the boss decides they want the ID field displayed too I'll use renderhints to point to a custom _Edit Dynamic Data field that just displays the value in a literal and shows "New" if the value is blank. Cheers for the speedy response.
Posted to
ASP.NET Dynamic Data
(Forum)
by
TonyHawe
on 4/14/2008
Re: ASP.NET Dynamic Data + guid
I have a similar problem using an auto-incrementing numeric as a primary key. When adding a new item using the default template it creates a textbox for the ID. Hiding the column is no good as it will complain that the column is required. Whatever number you type in it will save the next available ID anyway, unless you type an existing ID, in which case it will complain the ID already exists. IsDbGenerated is set to true. Is there an easy, or even a dirty way around this? Hide the ID column and pass
Posted to
ASP.NET Dynamic Data
(Forum)
by
TonyHawe
on 4/14/2008
Page 1 of 1 (4 items)
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
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)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online