Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
Strangest Error
posted

My grid doesnt load any data when the page is first loaded but when I do a scroll (using ajax) the data shows up.

 Any ideas?

Parents
  • 410
    posted

    Bump.. here is my html. Anyone?

     

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

    <%@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

    Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html>

    <head>

    <title>AMWeb</title>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <link href="amweb_styles1.css" rel="stylesheet" type="text/css" />

    <script language="JavaScript" type="text/JavaScript">

    <!--

    function MM_swapImgRestore() { //v3.0

    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=aIdea)&&x.oSrc;i++) x.src=x.oSrc;

    }

    function MM_preloadImages() { //v3.0

    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (aIdea.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=aIdea;}}

    }

    function MM_findObj(n, d) { //v4.01

    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

    if(!(x=dNo)&&d.all) x=d.allNo; for (i=0;!x&&i<d.forms.length;i++) x=d.formsIdeaNo;

    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layersIdea.document);

    if(!x && d.getElementById) x=d.getElementById(n); return x;

    }

    function MM_swapImage() { //v3.0

    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

    if ((x=MM_findObj(aIdea))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

    }

    //-->

    </script></head>

     

    <body onLoad="MM_preloadImages('images/buttonsideover.gif','images/logoutover.gif')">

    <!-- header and footer table -->

    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="outertable">

    <tr>

    <td class="top">

     

    <!-- start of header table -->

    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="headerback2">

    <tr>

    <td>

    <table border="0" cellspacing="0" cellpadding="0" class="headertable">

    <tr>

    <td rowspan="2" class="seal"><img src="images/seal2.gif" width="83" height="75"></td>

    <td class="title1"><img src="./images/amweb.gif"></td>

    <td class="logout"><a href="#"><img src="images/logout.gif" name="logout" width="64" height="18" border="0" id="logout" onMouseOver="MM_swapImage('logout','','images/logoutover.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>

    </tr>

    <tr>

    <td colspan="2" class="nav">

    <table border="0" cellspacing="0" cellpadding="0" class="navtable">

    <tr>

    <%page_security();%>

    </tr>

    </table>

    <asp:ObjectDataSource ID="oDataSrc" runat="server" SelectMethod="oDsSelect" TypeName="AMWebDataLayer">

    </asp:ObjectDataSource>

    </td>

    </tr>

    </table>

    </td>

    <td class="headeredge" width="10"><img src="images/headeredge.gif" width="10" height="57"></td>

    </tr>

    </table>

    <!-- end of header table -->

     

     

     

    <!-- content table -->

     

    <table border="0" cellpadding="0" cellspacing="0" class="containertable1">

    <tr>

    <th>Availibilty Matrix - FY08 - 20/Dec/07 (specific filter applied)</th>

    </tr>

    <tr>

    <td>&nbsp;</td>

    </tr>

    <tr>

    <td>

     

     

    <table border="0" cellspacing="0" cellpadding="0" class="tablemargin1">

    <tr>

    <td class="cell2">Tab: <select id="Select4" name="tabs">

    <option selected="selected">5 Year Cycle</option>

    <option>Det Level Detail</option>

    <option>C12 C26 Drilldown</option>

    <option>Coded ETT</option>

    <option>State FSA by DET Roll Up</option>

    <option>SRC to FSA Rollup</option>

    <option>State Rollup Sort</option>

    <option>AK</option>

    </select></td>

    <td>

    <!-- button -->

    <div class="button" onMouseOver="MM_swapImage('go','','images/buttonsideover.gif',1)" onMouseOut="MM_swapImgRestore()"><a href="#">Go</a></div>

    <div class="buttonside"><img src="images/buttonside.gif" name="go" width="10" height="18" id="go"></div>

    <!-- end button -->

    </td>

    </tr></table>

     

     

    <table border="0" cellspacing="0" cellpadding="0" class="tablemargin1">

    <tr>

    <td class="cell2">Custom Filter: <select id="Select1" name="">

    <option selected="selected">bde group</option>

    <option>Patch</option>

    <option>CMD Level</option>

    <option>UIC</option>

    <option>Unit Type</option>

    <option>State</option>

    <option>EFF Date</option>

    <option>Unit Name</option>

    <option>Unit ABBR</option>

    </select>

    <select id="Select2">

    <option selected="selected">equals</option>

    <option>does not equal</option>

    <option>is greater than</option>

    <option>is less than</option>

    </select>

    <input id="Text1" type="text" />

    <select id="Select3">

    <option selected="selected">equals</option>

    <option>does not equal</option>

    <option>is greater than</option>

    <option>is less than</option>

    </select>

    <input id="Text2" type="text" /></td>

    <td>

    <!-- button -->

    <div class="button" onMouseOver="MM_swapImage('filter','','images/buttonsideover.gif',1)" onMouseOut="MM_swapImgRestore()"><a href="#">Filter</a></div>

    <div class="buttonside"><img src="images/buttonside.gif" name="filter" width="10" height="18" id="filter"></div>

    <!-- end button -->

    </td>

    </tr></table>

     

    <table border="0" cellspacing="0" cellpadding="0" class="buttontable1">

    <tr>

    <td><!-- button -->

    <div class="button" onMouseOver="MM_swapImage('export','','images/buttonsideover.gif',1)" onMouseOut="MM_swapImgRestore()"><a href="#">Export to Excel</a></div>

    <div class="buttonside"><img src="images/buttonside.gif" name="export" width="10" height="18" id="export"></div>

    <!-- end button --></td>

    <td><!-- button -->

    <div class="button" onMouseOver="MM_swapImage('print','','images/buttonsideover.gif',1)" onMouseOut="MM_swapImgRestore()"><a href="#">Print</a></div>

    <div class="buttonside"><img src="images/buttonside.gif" name="print" width="10" height="18" id="print"></div>

    <!-- end button --></td>

    <td><!-- button -->

    <div class="button" onMouseOver="MM_swapImage('workingV','','images/buttonsideover.gif',1)" onMouseOut="MM_swapImgRestore()"><a href="#">Make Working Version</a></div>

    <div class="buttonside"><img src="images/buttonside.gif" name="workingV" width="10" height="18" id="workingV"></div>

    <!-- end button -->

    </td>

    </tr>

    </table>

    </td>

    </tr>

    </table>

    <span style="position:relative;top:-7%;left:2%">

    <form name="mainForm" runat=server>

    <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Browser="Xml" DataSourceID="oDataSrc"

    Height="533px" Width="1198px">

    <Bands>

    <igtbl:UltraGridBand>

    <AddNewRow View="NotSet" Visible="NotSet">

    </AddNewRow>

    <RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge">

    <BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px" />

    </RowTemplateStyle>

    </igtbl:UltraGridBand>

    </Bands>

    <DisplayLayout AllowColSizingDefault="Free" AllowDeleteDefault="Yes" AllowUpdateDefault="Yes"

    BorderCollapseDefault="Separate" LoadOnDemand="Xml" Name="UltraWebGrid1" RowHeightDefault="20px"

    SelectTypeRowDefault="Extended"

    TableLayout="Fixed" Version="4.00" Section508Compliant="True" XmlLoadOnDemandType="Virtual">

    <FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"

    BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Height="533px"

    Width="1198px">

    </FrameStyle>

    <Pager MinimumPagesForDisplay="2">

    <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </PagerStyle>

    </Pager>

    <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">

    </EditCellStyleDefault>

    <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </FooterStyleDefault>

    <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </HeaderStyleDefault>

    <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

    Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">

    <Padding Left="3px" />

    <BorderDetails ColorLeft="Window" ColorTop="Window" />

    </RowStyleDefault>

    <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">

    </GroupByRowStyleDefault>

    <GroupByBox>

    <BoxStyle BackColor="ActiveBorder" BorderColor="Window">

    </BoxStyle>

    </GroupByBox>

    <AddNewBox>

    <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">

    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

    </BoxStyle>

    </AddNewBox>

    <ActivationObject BorderColor="" BorderWidth="">

    </ActivationObject>

    <FilterOptionsDefault>

    <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

    CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

    Font-Size="11px" Height="300px" Width="200px">

    <Padding Left="2px" />

    </FilterDropDownStyle>

    <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">

    </FilterHighlightRowStyle>

    <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"

    BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

    Font-Size="11px">

    <Padding Left="2px" />

    </FilterOperandDropDownStyle>

    </FilterOptionsDefault>

    <SelectedRowStyleDefault BackColor="#E0E0E0">

    </SelectedRowStyleDefault>

    </DisplayLayout>

    </igtbl:UltraWebGrid></form>

    </span>

    </td>

    </tr>

    </table>

    <!-- end header and footer table -->

    </body>

    </html>

     

Reply Children
No Data