VB.net Calendar Control
Hi, I have a calendar contral on my web form. I would like to display an image on a different page (a simple html page that ends in .jpg) upon selection of a specific date in the calendar control. I know how to capture the date with the selectedDate method but how do I open up another page to display the image? Thanks in advance
Michael CashePosted Aug 13, 2007, 1:44 AM
Munir ShaikhPosted Aug 9, 2007, 1:31 AM
Hi,
Write a funtion in javascript as
function doOpen()
{
myWindow = window.open("filename", "tinyWindow", 'toolbar,width=150,height=100')myWindow.document.write("Welcome to this new window!")
myWindow.document.bgColor="lightblue"
myWindow.document.close()
}
Call this function while rendering on day as below
Attribute.Add("eventname","functionname");
Regards,
>>Munnamax