kashwaa
unread,May 16, 2012, 7:09:24 AM5/16/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Juice UI
I'm trying to invoke a client side script on datepicker select, I
wrote this code:
<script type="text/javascript">
$(document).ready(function () {
$('#TextBox5').datepicker({
onSelect: function (dateText, inst) { $
("#TextBox4").datepicker( "setDate" , dateText ); }
});
});
</script>
It seems to work but it disrupts the date picker linked to TextBox5,
It doesn't seem to be able to correctly handle it's properties.i.e.
date format and min date are not set,
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
<juice:Datepicker runat="server" ID="date1"
DateFormat="dd/mm/yy"
MinDate="Today"
TargetControlID="TextBox5" />
Is there any solution to this?