Hi,
I have a ASPX page, which when tried to open on Javascript wondow.open, the radchart is not displaying.
But when the URL (that is used in JavaScript) is pasted on the main window (IE), the radchart is displayed.
Please help!
Regards
Saroop
I have a ASPX page, which when tried to open on Javascript wondow.open, the radchart is not displaying.
But when the URL (that is used in JavaScript) is pasted on the main window (IE), the radchart is displayed.
Please help!
Regards
Saroop
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 18 Feb 2014, 05:33 AM
Hi Saroop,
window.location.href is a property that will tell you the current location of the browser. Setting this property with a URL will redirect to that page. window.open() is a method that you can pass a URL to that you want to open in a new window. Please have a look into the below JavaScript code both works fine at my end.
JavaScript:
Thanks,
Shinu.
window.location.href is a property that will tell you the current location of the browser. Setting this property with a URL will redirect to that page. window.open() is a method that you can pass a URL to that you want to open in a new window. Please have a look into the below JavaScript code both works fine at my end.
JavaScript:
<script type=
"text/javascript"
>
function
pageLoad() {
window.location.href =
"Default.aspx"
;
// url of the page
//or
window.open(
"Default.aspx"
);
// url of the page
}
</script>
Thanks,
Shinu.
0
Saroop
Top achievements
Rank 1
answered on 18 Feb 2014, 07:20 AM
Hi Shinu,
I'm using window.open.
There is a rad tree list. On click of a hyperlink of a column, I'm using window.open.
I'm attaching two images, one when hyperlink is clicked and page is opened, second image calling the same page directly.
Regards
Saroop
I'm using window.open.
There is a rad tree list. On click of a hyperlink of a column, I'm using window.open.
I'm attaching two images, one when hyperlink is clicked and page is opened, second image calling the same page directly.
Regards
Saroop
0
Saroop
Top achievements
Rank 1
answered on 18 Feb 2014, 07:24 AM
Hi Shinu,
I'm using window.open.
I'm using a rad tree list. On click of hyperlink available on the tree list, a aspx page is opened, with window.open.
I'm attaching two images, first will tell you on click of the hyperlink how the radchart is shown. 2nd will tell you when the radchart page is called, how the chart is visible.
The busy indicator on window.open remains the same for a long time.
Regards
Saroop
I'm using window.open.
I'm using a rad tree list. On click of hyperlink available on the tree list, a aspx page is opened, with window.open.
I'm attaching two images, first will tell you on click of the hyperlink how the radchart is shown. 2nd will tell you when the radchart page is called, how the chart is visible.
The busy indicator on window.open remains the same for a long time.
Regards
Saroop
0
Saroop
Top achievements
Rank 1
answered on 18 Feb 2014, 07:56 AM
OK, got the issue, there is no data in the dataset.
That is why the busy indicator is visible and no graphs. But cannot it show no data found like in radgrid.
That is why the busy indicator is visible and no graphs. But cannot it show no data found like in radgrid.