I have one string. resource file value for
Resume / career highlights
and i want to congardinate some spaces and some text in razor view (razor view or another way)
But I try this below code.
@functions{
public string GetSomeString()
{
return MakeMeChangeMyJob.Strings.Resume.PadRight(100) + " (min 100 characters )";//Add space and some tect
}
}
@Html.Label(GetSomeString(), new { @class = Model.AccountType == MakeMeChangeMyJob.Models.AccountType.User ? "required" : "none" })
I was checked in this line are quickwatch
MakeMeChangeMyJob.Strings.Resume.PadRight(100) + " (min 100 characters )";
Its(the methode return) giving correct format for
Resume / career highlights (min 100 characters )
But Not working in lablefor
You like,Please answer me
Have a happy coding.
http://dotnet--solutions.blogspot.in