如何在运行时移动ASP.NET的控件。 [英] How do I move controls of ASP.NET during runtime.
本文介绍了如何在运行时移动ASP.NET的控件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的网络表单上拖放标签,以便帮助我获得解决方案..因为我是.net的新手,所以请我找到解决方案。
我尝试了什么:
m以Windows格式获取所有解决方案,但我想以网络形式
解决方案
标准ASP.NET服务器控件不支持Drad和Drop功能。您需要实现客户端(JavaScript)来支持它或使用预处理库来为您处理。您可以使用的一些选项是:
HTML 5 Drag并放弃
JqueryUI Draggable
自定义JavaScript拖放
AJAX Control Toolkit ReorderList Control
I want to drag and drop the label around my web form so help me get the solution for it.. As i am new to .net so please me to find solution.
What I have tried:
m getting all solutions in windows form but i want in web form
解决方案
Drad and Drop functionality isn't supported for standard ASP.NET Server Controls. You need to implement a client-side (JavaScript) to support that or use a pre-cooked library that handles that for you. A few options that you can use are:
HTML 5 Drag and Drop
JqueryUI Draggable
Custom JavaScript Drag and Drop
AJAX Control Toolkit ReorderList Control
这篇关于如何在运行时移动ASP.NET的控件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文