我会将用户拖放到完整的日历事件中。我将访问事件 ID 和用户 ID

问题描述 投票:0回答:1
.net asp.net-mvc fullcalendar
1个回答
0
投票
<div class="kullanicilarList-container" id='external-events'>
    @foreach (var item in Model.Kullanicilar)
    {
        <div class="draggable-User" id="[email protected]" data-item-id="@item.Id" draggable="true" style="background-color:@(item.color)">
            <div class="col-md-2">
                @item.Id
            </div>
            <div class="col-md-2">
                @item.FirstName
            </div>
            <div class="col-md-2">
                @item.LastName
            </div>
        </div>
    }
</div>
© www.soinside.com 2019 - 2024. All rights reserved.