<asp:ScriptManager runat="server" ID="ScriptManager1" /> <div class="SearchTitle">Notes</div> <asp:Label runat="server" ID="lblStatus" /><br /><br /> <telerik:RadGrid ID="gvSomeTable" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="dsSomeTable" AllowPaging="true" PageSize="25" AllowFilteringByColumn="true" ShowStatusBar="true"> <ClientSettings Selecting-AllowRowSelect="true" EnableRowHoverStyle="true" EnablePostBackOnRowClick="true"> <ClientEvents OnRowSelected="showNote" OnRowContextMenu="RowContextMenu" /> </ClientSettings> <MasterTableView DataKeyNames="someID" ClientDataKeyNames="someID" CommandItemDisplay="Top"> <Columns> <telerik:GridDateTimeColumn DataField="startTime" HeaderText="Date of Event" SortExpression="startTime" /> <telerik:GridBoundColumn DataField="CompName" HeaderText="Company" SortExpression="CompName"> <FilterTemplate> <telerik:RadComboBox ID="cboCompany" Runat="server" Width="250px" DataSourceID="dsCompanyList" DataTextField="Company" DataValueField="Company" AllowCustomText="true" MarkFirstMatch="true" EmptyMessage="Filter by Company" SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("CompanyName").CurrentFilterValue %>' OnClientSelectedIndexChanged="CompanyIndexChanged" /> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> <script type="text/javascript"> function CompanyIndexChanged(sender, args) { var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>"); tableView.filter("CompanyName", args.get_item().get_value(), "EqualTo"); } </script> </telerik:RadScriptBlock> </FilterTemplate> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="feederFundList" AllowFiltering="false" HeaderText="Fund" SortExpression="FundList"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="categoryList" AllowFiltering="false" HeaderText="Category" SortExpression="categoryList"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="AddedBy" HeaderText="By" SortExpression="AddedBy"> <FilterTemplate> <telerik:RadComboBox ID="cboUserList" Runat="server" Width="250px" DataSourceID="dsUserList" DataTextField="AddedBy" DataValueField="AddedBy" AllowCustomText="true" MarkFirstMatch="true" EmptyMessage="Filter by User" SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("AddedBy").CurrentFilterValue %>' OnClientSelectedIndexChanged="userIndexChanged" /> <telerik:RadScriptBlock ID="RadScriptBlock3" runat="server"> <script type="text/javascript"> function userIndexChanged(sender, args) { var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>"); tableView.filter("AddedBy", args.get_item().get_value(), "EqualTo"); } </script> </telerik:RadScriptBlock> </FilterTemplate> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn DataField="AddedOn" HeaderText="On" SortExpression="AddedOn" /> <telerik:GridHyperLinkColumn AllowFiltering="false" DataNavigateUrlFields="someID" DataNavigateUrlFormatString= "~/Events/somepage.aspx?someID={0}" Text="Edit" /> <telerik:GridBoundColumn AllowFiltering="false" DataField="dateRead" Visible="false" ReadOnly="true" /> </Columns> </MasterTableView> </telerik:RadGrid>
<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 ?