Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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
Posted 18-Jan-13 3:19am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
jkirkerx at 18-Jan-13 18:12pm
   
good idea, but that's a big learning curve, considering he's not that familiar with HTML elements.
 
For the OP
 
Keep in mind that most ASP.net Objects are just HTML elements. Some objects like the treeview and gridview are more complex, but really just a combination of HTML object put together to form the control. You to can combine HTML objects to build something more complex, it takes time and some experimentation.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 599
1 OriginalGriff 419
2 CPallini 205
3 RyanDev 175
4 Sergey Alexandrovich Kryukov 170
0 OriginalGriff 5,649
1 Sergey Alexandrovich Kryukov 4,783
2 Peter Leow 2,954
3 Maciej Los 2,689
4 DamithSL 2,465


Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid