getting the value from IFrame
-
hi i have a 2 aspx pages. parent page has a IFRAME tag inside which i open the child page... in the child page i show a asp calender control, on selecting a calendar control i need to get the selected date to the main parent page text box. it is not happening now.... //////////// parent.aspx............ function Show() { document.getElementById('myFrame').src= "/workingwebsite/calendar.aspx?formname=frmCalendar.txtDate"; document.all.myFrame.style.visibility="visible"; } any help plzzzzz..................thanks a million in advance.......
-
hi i have a 2 aspx pages. parent page has a IFRAME tag inside which i open the child page... in the child page i show a asp calender control, on selecting a calendar control i need to get the selected date to the main parent page text box. it is not happening now.... //////////// parent.aspx............ function Show() { document.getElementById('myFrame').src= "/workingwebsite/calendar.aspx?formname=frmCalendar.txtDate"; document.all.myFrame.style.visibility="visible"; } any help plzzzzz..................thanks a million in advance.......
Hey Chandler, ASP Calendar Control doesn't support Client Script by it one. To achieve your requirement, * You have to handle the click of each day Or * Wait until it PostBack and store the date in some Hidden Field. Get the Hidden Field value on Page Load of the Child Page.
Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group | Blog Spot