Allow Drop and ASP .NET
-
Hey everyone i was wondering. I know in VB .NET if you set the forms allowdrop property to true then you can drag and drop items onto a windows form in runtime. I was wondering if there was a way to drag and drop a control(like a panel) on a webpage during runtime. I figure there is bound to be a way to do this, but I can't seem to find any documentation on this. I have tried to find a way to make it work, but I have been unsucessful. If anyone knows how to do this or has any ideas on what i need to do to get this to work, If you would please let me know. Thanks for everyone's help, ccotton333
-
Hey everyone i was wondering. I know in VB .NET if you set the forms allowdrop property to true then you can drag and drop items onto a windows form in runtime. I was wondering if there was a way to drag and drop a control(like a panel) on a webpage during runtime. I figure there is bound to be a way to do this, but I can't seem to find any documentation on this. I have tried to find a way to make it work, but I have been unsucessful. If anyone knows how to do this or has any ideas on what i need to do to get this to work, If you would please let me know. Thanks for everyone's help, ccotton333
Why does everyone want to turn web apps into Windows apps? It's possible, Microsoft does it in SharePoint. How do they do it? I don't really know, but I bet it's more complicated than a forum post could answer.
-
Hey everyone i was wondering. I know in VB .NET if you set the forms allowdrop property to true then you can drag and drop items onto a windows form in runtime. I was wondering if there was a way to drag and drop a control(like a panel) on a webpage during runtime. I figure there is bound to be a way to do this, but I can't seem to find any documentation on this. I have tried to find a way to make it work, but I have been unsucessful. If anyone knows how to do this or has any ideas on what i need to do to get this to work, If you would please let me know. Thanks for everyone's help, ccotton333
Jeff has a good point. However, it can be done. Check out this CP article: http://www.codeproject.com/aspnet/drag_drop.asp[^] ~Javier Lozano
-
Jeff has a good point. However, it can be done. Check out this CP article: http://www.codeproject.com/aspnet/drag_drop.asp[^] ~Javier Lozano
Hey guys thanks for the posts. I figured out how to make the panel object moveable by using a javascript. The problem I am having now is that i need to find a way to say the coordinates after the dragging is complete so i can use the coordinates to make the page display like that the next time it is loaded. I'm sure i could use a cookie or something to make it pull the information from so it is displayed properly. Anyone have any idea as to how to get this information and the best way to store it i would appreciate it. Thanks for all you guys' help, ccotton333
-
Hey guys thanks for the posts. I figured out how to make the panel object moveable by using a javascript. The problem I am having now is that i need to find a way to say the coordinates after the dragging is complete so i can use the coordinates to make the page display like that the next time it is loaded. I'm sure i could use a cookie or something to make it pull the information from so it is displayed properly. Anyone have any idea as to how to get this information and the best way to store it i would appreciate it. Thanks for all you guys' help, ccotton333
I'm not sure about getting the coordinate information. I don't think javascript allows for that type of mouse support. However, instead of using cookies, use hidden fields to store the coordinates and a "session" id. Reason? The user might have cookies disabled. ~Javier Lozano
-
I'm not sure about getting the coordinate information. I don't think javascript allows for that type of mouse support. However, instead of using cookies, use hidden fields to store the coordinates and a "session" id. Reason? The user might have cookies disabled. ~Javier Lozano
Thanks for the quick reply to my problem. I think you are right that is a very good idea/reason. Thanks for your help, ccotton333
-
Thanks for the quick reply to my problem. I think you are right that is a very good idea/reason. Thanks for your help, ccotton333
Sorry I read that wrong. I don't need the mouse coordinates; I need the coordinates of the panel after it has been moved from its default location. Do you have any ideas on how this might can be achieved? Thanks, ccotton333