Hello,
I have an asp.net page that accesses a datasource to get information about an object Game for the year. Each Game has a start date and end date.
I want to dynamically generate slider for each game. However, here's the twist. The WIDTH of the HANDLE of slider should be scaled
according to the game length = start date - end date.
I am lost as to how to approach this problem. Any help would be appreciated.
Example :
The database returns the following
Game 1: Start Date = Apr, End Date = June , Hence Length = 3
Game 2: Start Date = Feb, End Date = Aug, Hence Length = 7
Game 2: Start Date = Oct, End Date = Nov, Hence Length = 2
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
Game 1 ---------------------[|||||||||||||||||||||||||||||||||]--------------------------------------
Game 2 -------[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||]--------------------------
Game 3 ----------------------------------------------------------------[|||||||||||||||||]-----
Also, I should be able to get slider values. Can this be done using Telerik or do I need to do this using Jquery or some other library.
Any help would be appreciated.
Thanks
I have an asp.net page that accesses a datasource to get information about an object Game for the year. Each Game has a start date and end date.
I want to dynamically generate slider for each game. However, here's the twist. The WIDTH of the HANDLE of slider should be scaled
according to the game length = start date - end date.
I am lost as to how to approach this problem. Any help would be appreciated.
Example :
The database returns the following
Game 1: Start Date = Apr, End Date = June , Hence Length = 3
Game 2: Start Date = Feb, End Date = Aug, Hence Length = 7
Game 2: Start Date = Oct, End Date = Nov, Hence Length = 2
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
Game 1 ---------------------[|||||||||||||||||||||||||||||||||]--------------------------------------
Game 2 -------[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||]--------------------------
Game 3 ----------------------------------------------------------------[|||||||||||||||||]-----
Also, I should be able to get slider values. Can this be done using Telerik or do I need to do this using Jquery or some other library.
Any help would be appreciated.
Thanks