News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
public class Player
{
public String Name { get; set; }
public int LastScore { get; set; }
public int HighScore { get; set; }
}

You need to ensure that the custom formatting is applied to LastScore values when the HtmlHelper. DisplayForModel method is called for any view in the application that has a model of type Player. What should you do?

  1. Rename Score.ascx to LastScore.ascx.

  2. Move Score.ascx from the Views/Shared/DisplayTemplates folder to the Views/Player/DisplayTemplates folder.

  3. Add the following attribute to the LastScore property.
    [UIHint("Score")]

  4. Add the following attribute to the LastScore property

    [Display(Name="LastScore", ShortName="Score")]

Answer: Answer is c
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;