Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AJAX calendar extrender control event to initiate javascript

$
0
0

I have an AJAX calendar extender on a textbox. I am trying to bold certain dates based on an array that is sent to javascript using a script manager from VB code behind. The process is working great for the current month only.

I am updating the style to BOLD on the calendar when AJAX onClientShown event fires.

My issue is when the month is changed, it appears I need to again process my date array for the new month that the user may have advanced the calendar to.

I can not figure out how to fire the javascript function again when the AJAX calendar extender control advances months.

ASPX....

    <asp:CalendarExtender ID="TextBox2_CalendarExtender" BehaviorID = "_Calendar1"          runat="server" Enabled="True" TargetControlID="TextBox2" OnClientShown="boldCalDTS" >

The javascript just searches for the title tags which are the dates in the array and changes the style.

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>