Author: fewl | Posted on: 9/16/2009 10:04:59 AM | Views : 592

Good day.
In *.aspx.cs

public partial class select : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { // many strings } [WebMethod] public void strechGMap(int H, int W) { BigGMap.Height = new Unit(H); BigGMap.Width = new Unit(W); } }


In *.aspx
<script type="text/javascript">
 function OnSplitterResized(splitter) { //Get the left pane's client size var w = splitter.getRightPane().getWidth(); var h = splitter.getRightPane().getHeight(); select.strechGMap(h, w); } </script>
Whats wrong? Why function call "select.strechGMap(h, w);" doesnt work?

...

Go to the complete details ...