RadWindow issue
I have a page with consists of two columns. In the right column I want to display a pdf when an image in a grid is clicked in the left column.
The problem is even though I use OffsetElementID="divDisplayPDFDocument" ...its not displaying the PDF Document underneath the div I created under the 2nd column.
It always show the pdf document at the top left corner of the page.
If I set it using SetOffSetElementById in the client side function it works the 1st time I click the image but the 2nd time again it shows the pdf at the top left corner of the page
Please advice!!
Thanks in advance
I have a page with consists of two columns. In the right column I want to display a pdf when an image in a grid is clicked in the left column.
The problem is even though I use OffsetElementID="divDisplayPDFDocument" ...its not displaying the PDF Document underneath the div I created under the 2nd column.
It always show the pdf document at the top left corner of the page.
If I set it using SetOffSetElementById in the client side function it works the 1st time I click the image but the 2nd time again it shows the pdf at the top left corner of the page
function ShowPDFDocument(title, url) {
var oWnd = $find("<%= PDFDocument.ClientID %>");
oWnd.set_title(title);
oWnd.setUrl(url);
oWnd.SetOffsetElementId('divDisplayPDFDocument');
oWnd.show();
}
Please advice!!
Thanks in advance