使用 asp.net MVC 进行调度

发布于 2024-08-30 01:15:42 字数 578 浏览 5 评论 0原文

我想在我的 MVC 项目中使用像 Telerik Scheduler 这样的调度程序。问题在于 Scheduler 是一个 Asp.Net WebForm 控件。为此,我必须在我的Mvc项目中创建一个WebForm页面来放置Scheduler控件。

当我显示页面时,渲染控件的布局效果很好,但如果我尝试与它交互;点击更改日期,从日视图变为周视图,控件不变。

我知道回发在 mvc 项目中不起作用,但是它在 Mvc 项目中的 WebForm 页面中起作用吗?如果它不起作用,这就是当我尝试与控件交互时控件没有响应的原因。

我认为这是因为回发不起作用,并且调度程序使用 100% 数据绑定,当我更改日期时,回发不包含我已更改的任何数据,因此,控件无法更改布局。

您对 MVC 项目中使用 WebForm 进行回发有什么想法吗?

我可以采用什么类型的设计? (两个不同的项目:一个用于我的带有 WebForm 的 Scheduler,另一个用于 Mvc 项目中我的网站的所有其余部分)

是否有其他易于与 Scheduler 一起使用的控件?

在 MVC 项目中同时需要 WebForms 控件和 MVC 控件时,有人有任何提示和技巧吗?

I want to use a Scheduler like Telerik Scheduler in my MVC project. The problem is that the Scheduler is a Asp.Net WebForm control. For this reason, I must create a WebForm page in my Mvc project to put the Scheduler control.

When I show the page, it work fine to render the layout of the control but if I try to interact with it; click for change date, change to day view to week view, the control don't change.

I know that postback doesn't work in mvc project but does it work in a WebForm page in a Mvc project? If it doesn't work, it is the reason why when I try to interact with the control, the control don't respond.

I think it's because the postback don't work and the Scheduler use 100 % Databinding where when I change date, the postback don't contain any data that I have changed and for this reason, the control can't change is layout.

Do you have any ideas about postback with WebForm in a MVC project?

What type of designs can I adopt? (Two differents projets: One for my Scheduler with WebForm and another for all the rest of my website in Mvc project)

Are there any other controls that are easy to use with Scheduler?

Does anyone have any tips and tricks when needing both a WebForms control and MVC control in an MVC project?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我ぃ本無心為│何有愛 2024-09-06 01:15:43

您可以尝试 DayPilot Pro(我的产品,商业版),它有 ASP.NET 和 MVC 版本。

ASP.NET:

MVC

You can try DayPilot Pro (my product, commercial) which has both ASP.NET and MVC versions.

ASP.NET:

MVC

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文