Click here to Skip to main content
15,899,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have a web page in my web site. I have used jquery UI Calendar control.Since I have a master page, thats why I've put the script tag inside content place holder. But my jQuery is not functioning at all. Where should I put the script to invoke jquery function.

thanks
Posted

Sounds like it is relative path issue. At times, after deployment or using Master-pages, the path referenced as a source for images, stylesheets, javascript files etc is not correctly formed. This leads to no file found at the location referred because of which images don't download or style-sheets does not get applied.
You would need to make sure that the path is correct such that file is found and used.

I would suggest you to use this Tip and resolve the path correctly before setting the source of the file: Resolving Paths in a Multi-Folder WebSite[^]
 
Share this answer
 
Comments
comred 21-Jun-12 4:41am    
I think you are right. My path may be not correct for necessary images to get css working. But just to confirm it, I made a demo website application with the master page with same directory structure, there its working fine..
try using <%=XX.ClientId%> while binding the control to the calendar control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900