Get behaviour id of the ajax calender extender

 <script type="text/javascript">
        function onCalendarShown2(sender){ 
            //sender is the shown extender self.
            //var cal = $find(sender._id);
            //cal._visibleDate = target.date;
            //cal.set_selectedDate(target.date);
            //cal._switchMonth(target.date);
            var CalendarBehavior = $find(sender._id);
            //here hide this 
           // CalendarBehavior.hide();
            //here show this 
            CalendarBehavior.show();
        }

    </script>

http://forums.asp.net/t/1984233.aspx

posted @ 2014-05-08 16:53  happyu0223  阅读(137)  评论(0编辑  收藏  举报