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
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Munir ShaikhRank #472 · 5.3K reputationPosted Aug 8, 2007, 9:31 PM EDT
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
Michael Cashe3 reputationPosted Aug 12, 2007, 9:44 PM EDT