When I have users who wish to create a new appointment using a WebDayView control, I'd like for them to be able to set the start time by double-clicking on a specific time slot in the DayView (note, I'm using my own appointment dialog because the default one didn't work for my needs). Is there a way I can get which time slot the user selected to create a new activity?
Hi ,I m using ultrawebgrid in asp.net .........i am facing porblem like we have one ultrawebgrid and applying AllowSorting =True, in the ultrawebgrid we have multiple paging option let say we are in second page and applying sorting and we have also one button in ultrawebgrid ....in the button click we open one popup window from there we have one save button click on save button saving the popup value and reload the ultrawebgrid page .....after the reloading page index will be change and soting order will be change but we don't want to change the sorting order and don't want to change page order also ....................wnat to do all from javascript ......................Please help ..............................i have already spent much time but didn't find any solution...............................
thanks done
Hi Subhash,
To set active date in WebScheduleInfo on client, you may use member method setActiveDay(Date). Below is example:
<script type="text/javascript">function setDate() { //var date = new Date(2013, 1, 20); var date = new Date();//today //var sched = ig_getWebScheduleInfoById("ctl00_Main_WebPanel2_WebScheduleInfo1"); var sched = ig_getWebScheduleInfoById("<%=WebScheduleInfo1.ClientID%>"); //or //var sched = ig$("<%=WebScheduleInfo1.ClientID%>"); sched.setActiveDay(date);}</script><input type="button" value="setDate" onclick="setDate()" />
Hi I have WebDayView want to set the value like ...........
var sched = ig_getWebScheduleInfoById("ctl00_Main_WebPanel2_WebScheduleInfo1")
want to set the today date by default from javascript.......................