Browse by Tags

Related Posts

  • Problem writing metadata to jpg

    Hi, I have a small form app that imports a image that a user browses to and adds the metadata to that image based on information provided in the form. The process does work, it just doesn't write the description properties. It writes to the copywrite tag just fine, as well as create and transport...
    Posted to System.Drawing/GDI+ (Forum) by Kosko on 04-27-2009, 12:00 AM
    Filed under: image, jpg, metadata
  • Re: Can we change the name of the table dispayed on the default.aspx page?

    [quote user="amita.deo"] Thanks Steve ...now I can run it successfully with <TableName> but I dont get the <DisplayName> attribute. But the <TableName>attribute screws up many other settings in the application, like the specific routing for customised template fails. Do i...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 03-18-2009, 12:00 AM
    Filed under: Table Name, Display Name, Dynamic Data, Metadata
  • Re: Can we change the name of the table dispayed on the default.aspx page?

    Try something like this: <MetadataType( GetType ([Order].[OrderMD]))> _ <DisplayName( "My Orders" )> _ Partial Public Class [Order] Public Overrides Function ToString() As String Dim Manager As String = "" If Not ( Me .Employee.Employee Is Nothing ) Then Manager = Me ...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 03-18-2009, 12:00 AM
    Filed under: Display Name, Dynamic Data, Metadata
  • Re: Can we change the name of the table dispayed on the default.aspx page?

    You can also: [MetadataType( typeof (EmployeeMD))] public partial class Employee [DisplayName( "Name of table to display" )] { public class EmployeeMD { [DisplayName( "Name of field" )] public object LastName { get ; set ; } } } OR [MetadataType( typeof (EmployeeMD))] public partial...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 03-17-2009, 12:00 AM
    Filed under: Display Name, Dynamic Data, Metadata
  • Re: Can we change the name of the table dispayed on the default.aspx page?

    Hi Amita, if it the name of the table you want to change you would do this via Metadata classes see this example: [MetadataType( typeof (EmployeeMD))] public partial class Employee { public class EmployeeMD { [DisplayName( "Last Name" )] public object LastName { get ; set ; } } } Here you are...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 03-17-2009, 12:00 AM
    Filed under: Display Name, Dynamic Data, Metadata
  • Re: NON dynamic data website with custom providers

    I see a custom metadata Provider is something different, what you want to do is add metadata to the model outside of Dynamic Data site. The metadata will be applied unless you use the Dynamic Data provider as in the Global.asax file but then you should be abel to get at it the same way as in DD
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 02-02-2009, 12:00 AM
    Filed under: Dynamic Data, Metadata
  • Re: Columns not displayed

    [quote user="jcmag"]Could the problem come from the nvarchar(max) type? Because the columns that are not displayed are these ones [/quote] Yes that would be the reason as these are automatically set to ScffoldColumn(false) so in your metadata you will need to annotate them like so: [MetadataType...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 12-05-2008, 12:00 AM
    Filed under: ScaffoldColumn, Dynamic Data, Metadata
  • Re: A few problems with my dynamic data website

    [quote user="mdesoysa"] 1. I have a table which using dynamic data has created columns that uses an ID from another table to create a link column. What I want to do is remove this column but since it doesn't actually exist in the main table how can I apply metadata attributes to remove...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 12-04-2008, 12:00 AM
    Filed under: ScaffoldColumn, Dynamic Data, Metadata, Entity Framework
  • Re: overriding how a particular DB column is displayed

    The first thing to understand is that in your case the differance between state_ID and State is on is the actual column FK and the other reresents the relationship which is standard Linq to SQL and EF, DD treats the column and the Entity Ref differently first of all the FK fields are not displayed by...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 12-03-2008, 12:00 AM
    Filed under: ScaffoldColumn, Dynamic Data, Metadata
  • Re: Dynamic filter order by

    Imports Microsoft.VisualBasic Imports System.Web.DynamicData Imports System.ComponentModel Imports System.ComponentModel.DataAnnotations <MetadataType(GetType(Series_Master_Best_Cost))> _ <DisplayColumn("USER_MASTER", "USER_MASTER", False)> _ Partial Public Class Series_Master_Best_Cost...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 11-26-2008, 12:00 AM
    Filed under: Partial Classes, Dynamic Data, Metadata
Page 1 of 8 (79 items) 1 2 3 4 5 Next > ... Last ยป