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
155
Simple Demo Grid won't build
posted

Hi All,

 Just installed everything and the webgrid won't build. Followed the instructions for setting up the web.config, etc... but I still get the following error when I try to build the solution.

 Error 49 Literal content ('</header>  </infragistics.webui.ultrawebgrid.ultragridcolumn>          </Columns>              </addnewrow>  </infragistics.webui.ultrawebgrid.ultragridband>') is not allowed within a 'Infragistics.WebUI.UltraWebGrid.BandsCollection'. F:\WebSites\SSI.CRMWeb\SecuredUsers\HorzPhone.ascx 45 

Here's the code for it (all generated from the designer)

 <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="200px"

Width="325px">

<bands>

<infragistics.webui.ultrawebgrid.ultragridband key="DataBand"><Columns>

<infragistics.webui.ultrawebgrid.ultragridcolumn basecolumnname="PhoneNumber"

key="PhoneNumber">

<header caption="Phone Number" title="" titlemode="Always"></header>

</infragistics.webui.ultrawebgrid.ultragridcolumn>

</Columns>

 

<addnewrow view="NotSet" visible="NotSet"></addnewrow>

</infragistics.webui.ultrawebgrid.ultragridband>

</bands>

<displaylayout allowcolsizingdefault="Free" allowcolumnmovingdefault="OnServer"

allowdeletedefault="Yes" allowsortingdefault="OnClient"

allowupdatedefault="Yes" bordercollapsedefault="Separate"

headerclickactiondefault="SortMulti" name="ctl00xUltraWebGrid1"

rowheightdefault="20px" rowselectorsdefault="No"

selecttyperowdefault="Extended" stationarymargins="Header"

stationarymarginsoutlookgroupby="True" tablelayout="Fixed" version="4.00"

viewtype="OutlookGroupBy">

<framestyle backcolor="Window" bordercolor="InactiveCaption"

borderstyle="Solid" borderwidth="1px" font-names="Microsoft Sans Serif"

font-size="8.25pt" height="200px" width="325px">

</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 hidden="False">

<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>

</displaylayout>

</igtbl:UltraWebGrid>

Any ideas?

 Thanks

 

Parents
  • 8680
    posted

    Instead of: <infragistics.webui.ultrawebgrid.ultragridband key="DataBand">
    Use:           <igtbl:ultragridband key="DataBand">

    Instead of: <infragistics.webui.ultrawebgrid.ultragridcolumn ...>
    Use:           <igtbl:ultragridcolumn ...>

Reply Children