So I have no idea why I'm getting this issue with the Guid here. Can anyone please lend some insight?

@using System;
@using AC.Common.Comparing
@using AC.Business.Object.B2BOrderHandling
@using AC.Website.Areas.OrderManagement.Views.B2BOrderHandling.App_LocalResources
@using AC.Website.Areas.OrderManagement.Models

@model ComparisonRowModel

@Guid messageID = System.Guid.NewGuid();
@string x = messageID.ToString();

<div @(Model.Current != null ? string.Format("orderdetailsid={0}", Model.Current.OrderDetailsID) : "") data-guid="@(x)" class="current menuitem @(Model.ChangeType == B2BMenuItemChangeTypeModel.Deleted ? "deleted" : "")">
@switch (Model.ChangeType) 

Related posts

Recent Viewed