I have a web page (let's call it PageA) that contains an IFrame (ifPageA). The page displayed within ifPageA (let's call it PageB) also contains an IFrame (ifPageB). The page displayed in ifPageB displays a repeater (calendar appointments). When the user clicks an appointment (which is a linkbutton), I want to open the EditAppointment page in ifPageA.
Right now my linkbutton code is this, which doesn't work:
Dim strTransferTo As String
strTransferTo = "../Calendar/Calendar.aspx?Mode=Edit&CalID=" & e.CommandArgument.ToString & "&Date=" & ViewState("Date").ToString
scriptString &= "document.getElementById('ifPageA').src= '" + strTransferTo + "';<"
scriptString &= "/"
scriptString &= "script>"