kendo .cshtml列启用值为或false

发布于 2025-02-09 18:49:09 字数 460 浏览 2 评论 0 原文

我有下面提到的代码块。

<div class="form-group">
<span>Sipariş No</span>
@Html.Kendo().TextBoxFor(x => x.OrderNo).HtmlAttributes(new { @class = "form-control" })
</div>

我希望此列基于条件启用值false或启用值true。 条件平均其他列值正确或错误的

其他列段如下所示。

<div class="form-group" style="margin-top:20px">
@(Html.Kendo().CheckBoxFor(x => x.integration).Label("Entegrasyon"))</div>

这种情况如何?

I have Code blocks which are mentioned below.

<div class="form-group">
<span>Sipariş No</span>
@Html.Kendo().TextBoxFor(x => x.OrderNo).HtmlAttributes(new { @class = "form-control" })
</div>

I want this column based on condition enable value false or enable value true.
condition mean other column value true or false

other column snippet is mentioned below.

<div class="form-group" style="margin-top:20px">
@(Html.Kendo().CheckBoxFor(x => x.integration).Label("Entegrasyon"))</div>

How can doing this case?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文