Need help on Jquery on usercontrols.Thanks.
I am trying to get jquery to work on a form I have on a usercontrol. My web application has a masterpage, The current page I am working on has several forms which are on usercontrols loaded onto the parent page by the click of a menu control option,which then loads the required form contained on a usercontrol dynamically via a place holder located on the parent page.The placeholder is itself placed in an ajax update panel control. Below is how I have tried to register the jquery datepicker on one of my usercontrols. The usercontrol also contains a textbox which displays the datepicker when a mouse clicks it.However when I run the parent page to load this usercontrol in the placeholder. Nothing happens, nothing is loaded into the placeholder and no error message also. I read it somewhere that javascript codes cannot be registered on usercontrols this way.Please I need full explanations and c sharp codes on how to implement this. I am a beginner asp c# developer with little knowledge on jquery and javascript as well. Thanks.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="InsertReservation.ascx.cs" Inherits="UserControls_Customers_InsertReservation" %>
<link type="text/css" href="~/jquery/css/ui-lightness/jquery-ui-1.7.2.custom.css" />
<script src="~/jquery/js/jquery-1.4.1.min.js" type="text/javascript" ></script>
<script src="~/jquery/js/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function()
{
$("#txtArrivalDate").datepicker();
}
);
</script>
Sticky Posts
My Zoho Story #19 - How and IT service provider, CTSP, are streamlining customer support using Zoho
My Zoho Story is a video podcast series where we connect with Zoho users worldwide to hear from them about their experiences with Zoho and how it became an integral part of their everyday business life. Our recent 'My Zoho Story' took us to Australia
My Zoho Story #18- How Mirage Visual Limited achieved enhanced customer service experience, using Zoho
My Zoho Story is a video podcast series where we connect with Zoho users worldwide to hear from them about their experiences with Zoho and how it became an integral part of their everyday business life. Our recent interview with Sam Blenkiron from Mirage
My Zoho Story #17 - How Superior Trucking Payroll Service scaled their business with Zoho
My Zoho Story is a video podcast series where we connect with Zoho users worldwide to hear from them about their experiences with Zoho and how it became an integral part of their everyday business life. In our recent episode, we had the opportunity to
Update on the upcoming Zoho User Group meetups - Q1
Hey Zoho Community! How're you all doing? We have an important announcement about the Zoho User Group meetups this quarter - Owing to the looming threat of COVID - 19, we're recalling several of our ZUG meetups that can't be run locally and are pulling back our Zoho teams who have traveled for these events. We have also suspended Zoho meetups run by our local partners and user group leaders as we do not want any of our users to come in harm's way. For those of you who have not seen the email about
Eighth day of Christmas - Zoho Recruit
Check out the story behind our sixth day of Christmas post. The eighth day of the 12 days of Christmas relates to Zoho Recruit "On the eighth day of Christmas my true love sent to me: eight maids a milking, seven swans a swimming, six geese a laying, five golden rings, four calling birds, three french hens, two turtle-doves, and a partridge in a pear tree." The eight maids walking up with portfolios in their hands signifies Zoho Recruit's recruitment solutions built to provide diverse, end-to-end