0
...razorview 나는이 같은 일부 jQuery를 가지고
내가 ViewDescription이 비어있는 경우에 조건이 따라 표시 할init: function() {
var self = this;
this.dataSource = new kendo.data.DataSource({
transport: {
read: {
url: $.url.action(self.controller, self.action, { projectId: projectId }),
cache: false,
dataType: "json"
}
},
schema: {
model: {
id: "StudyId",
fields: {
Name: { type: "string" },
ViewName: { type: "string" },
Description: { type: "string" },
ViewDescription: { type: "string" },
UpdateDate: { type: "date" },
StudyId: { type: "number" },
NextMilestoneName: { type: "string" },
NextMilestoneDate: { type: "date" },
StudyStatus: { type: "string"}
}
}
},
sort: { field: "UpdateDate", dir: "desc" },
sortable: { mode: "single", allowUnsort: false },
pageSize: 4
});
...
@if (!String.IsNullOrEmpty(????))
{
<span><strong>@Resources.Resources.Description1 </strong>#:ViewDescription#</span>
<br>
}
내가 할 수있는 ' 그것을 알아낼! 내가 ViewDescription에 액세스하려면 ?????를 넣어야합니까?