Search

You searched for the word(s): userid:795946

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)