asp.net拖放? [英] asp.net drag and drop?

查看:58
本文介绍了asp.net拖放?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是学校时间表



当然还有老师和他们的课程,但这课时间不同

一课3小时另一课课程5小时例如



我想做什么



1-X老师登录本网站

2 - 所以课程列表将来自X老师的数据库(当然这课程有不同的时间)

3-X老师将选择Y课程拖放属性

他或她放在时间表上

Y课程有3小时,例如一小时星期一8:00

两小时周五12:00- 14:00



如果Y课程完成在时间表上分发,请选择另一课程......



如何使用哪个组件可以用于课程列表和时间表。

我该如何拖放。



感谢您的关注

解决方案

ASP.NET本身不支持drag和d rop因为这是客户端功能。要在浏览器上执行拖放操作,您需要使用javascript来执行此操作。我所知道的最简单,最强大的方法是使用 JQuery UI - Draggable [ ^ ]库。如何在页面上布置控件等取决于您自己。一旦完成这些操作并且您无法实施拖放操作,请向我们展示一些代码段并询问与您的特定问题相关的更具体的问题。欢呼声。

this is for school timetable

of course there are teachers and their lessons but this lessons hours different
one lesson 3 hour another lesson 5 hour for example

I want to do

1-X teacher login this web site
2-so list of lessons will come from database for X teacher(of course this lessons has diffrent hours)
3-X teacher will select Y lesson drag and drop property
he or she put on time table
Y lesson has 3 hour for example one hour monday 8:00
two hour friday 12:00-14:00

if Y lesson finish to distribute on the time table select another lesson so on...

how to do that which component can I use for list of lessons and time table.
how can I do drag and drop.

thank for your interest

解决方案

ASP.NET in itself does not support drag and drop because that is client side functionality. To perform drag and drop on a browser, you need to incorporate javascript to do this. The easiest and most robust way I know of for this is to use the JQuery UI - Draggable[^] library. How to layout your controls and such on the page is up to you. Once you have those done and you get stuck on implementing the drag and drop, show us some code snippets and ask a more specific question related to your specific problem. Cheers.


这篇关于asp.net拖放?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆