<HeaderStyle BackColor="#004000" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Font-Size="XX-Small" ForeColor="Black" HorizontalAlign="Center" />
<ItemStyle BackColor="#E0E0E0" Font-Size="XX-Small" ForeColor="SpringGreen" HorizontalAlign="Center" />
<AlternatingItemStyle BackColor="Silver" Font-Bold="False" Font-Names="Arial" Font-Size="XX-Small"
ForeColor="RosyBrown" HorizontalAlign="Center" />
// add a new pane (in the splitter) for each mapfor (int i = 0; i < _numMaps; i++){ if (i > 0) { // add splitter-bars in between each map RadSplitBar rsb = new RadSplitBar(); rsMaps.Items.Add(rsb); } RadPane rp = new RadPane(); // set URL rp.ContentUrl = _mapUrlBase + Request.QueryString["URL" + i.ToString()] + "&MultiMap=true&Title=" + Request.QueryString["Title" + i.ToString()]; rsMaps.Items.Add(rp);}function LoadPanes(sender){ var rsMaps = sender; var panes = rsMaps.getPanes(); for (var i = 0; i < panes.length; i++) { var pane = panes[i]; var contentUrl = getContentUrl(i); // this would come from the Request String pane.set_contentUrl(contentUrl); // >>>> PSEUDO-CODE: this is the bit I'd like to do <<<< while (!pane.HasFinishedLoading) { sleep(1000); } } }function UpdateTotal(sender, eventArgs) { var node = eventArgs.get_node(); var pnode = node.get_parent(); var attribs = pnode.get_attributes(); var cnt = attribs.getAttribute("Count"); if (!node.get_checked()) { cnt++; } else { cnt--; } attribs.setAttribute("Count", cnt);// var cnodes = pnode.get_nodes();// var cnt = 0;// for (var i = 0; i < cnodes.get_count(); i++) {// if (cnodes.getNode(i).get_checked()) {// cnt++;// }// } pnode.set_text(attribs.getAttribute("DefaultName") + ' (' + cnt + ')'); }

Hi all, I know this a more a general .NET question, but hopefully someone can help.
I've got a service that simply returns a string, which i use to populate the Tooltip.
Runs all fine locally through the IIS development environment, but when i deploy it on my server to run through IIS it errors.
Initially the error was due to be not having <webServices> reference in my web.config.
I've now added that in and am getting a different error.
I've limited it down to this line:
<WebMethod()> _
<ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
Public Function GetDataByRegion(ByVal context As Object) As String
System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Web.Services.Protocols.HttpServerType..ctor(Type type) at System.Web.Services.Protocols.HttpServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
If it's not specified the service seems to return XML ok.
Whats going on ?