N
nickless
Hello Alvin,
I am migrating an asp app to asp.net 2.0.
I am trying to set the height of the chart and make it dynamic (the
chart should re-size when i re-size the browser window). This was
easily done in asp using setexpression() method in javascript.
chart.setExpression('height', 'document.body.clientHeight -
headerTable.clientHeight - paramForm.clientHeight')
I try doing the same in an aspx page (using javascript) but the page
freezes when i put the second parameter
(document.body.clientHeight - headerTable.clientHeight -
paramForm.clientHeight) in quotes, It works if i remove the quotes..
but that does not make the chart height dynamic.
Am i missing something here ? could you please let me know how to work-
around or show another way to do this.
Thanks in advance
I am migrating an asp app to asp.net 2.0.
I am trying to set the height of the chart and make it dynamic (the
chart should re-size when i re-size the browser window). This was
easily done in asp using setexpression() method in javascript.
chart.setExpression('height', 'document.body.clientHeight -
headerTable.clientHeight - paramForm.clientHeight')
I try doing the same in an aspx page (using javascript) but the page
freezes when i put the second parameter
(document.body.clientHeight - headerTable.clientHeight -
paramForm.clientHeight) in quotes, It works if i remove the quotes..
but that does not make the chart height dynamic.
Am i missing something here ? could you please let me know how to work-
around or show another way to do this.
Thanks in advance