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)
Width="325px">
<bands>
<infragistics.webui.ultrawebgrid.ultragridcolumn basecolumnname="PhoneNumber"
<header caption="Phone Number" title="" titlemode="Always"></header>
</infragistics.webui.ultrawebgrid.ultragridcolumn>
</Columns>
</infragistics.webui.ultrawebgrid.ultragridband>
</bands>
allowdeletedefault="Yes" allowsortingdefault="OnClient"
headerclickactiondefault="SortMulti" name="ctl00xUltraWebGrid1"
selecttyperowdefault="Extended" stationarymargins="Header"
viewtype="OutlookGroupBy">
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">
widthtop="1px" />
</PagerStyle>
</pager>
<editcellstyledefault borderstyle="None" borderwidth="0px">
</editcellstyledefault>
<footerstyledefault backcolor="LightGray" borderstyle="Solid" borderwidth="1px">
</footerstyledefault>
horizontalalign="Left">
</headerstyledefault>
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">
borderwidth="1px">
</addnewbox>
<activationobject bordercolor="" borderwidth="">
</activationobject>
<filteroptionsdefault>
borderwidth="1px" customrules="overflow:auto;"
width="200px">
<padding left="2px" />
</filterdropdownstyle>
<filterhighlightrowstyle backcolor="#151C55" forecolor="White">
</filterhighlightrowstyle>
borderstyle="Solid" borderwidth="1px" customrules="overflow:auto;"
font-names="Verdana,Arial,Helvetica,sans-serif" font-size="11px">
</filteroperanddropdownstyle>
</filteroptionsdefault>
</igtbl:UltraWebGrid>
Any ideas?
Thanks
Instead of: <infragistics.webui.ultrawebgrid.ultragridband key="DataBand">Use: <igtbl:ultragridband key="DataBand">
Instead of: <infragistics.webui.ultrawebgrid.ultragridcolumn ...>Use: <igtbl:ultragridcolumn ...>
Tried both of the suggestons and now I get this;
Infragistics.WebUI.UltraWebGrid.BandsCollection must have items of type 'Infragistics.WebUI.UltraWebGrid.UltraGridBand'. 'igtbl.ultragridband' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.
Infragistics.WebUI.UltraWebGrid.BandsCollection must have items of type 'Infragistics.WebUI.UltraWebGrid.UltraGridBand'. 'addnewrow' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.
Literal content ('</addnewrow> </igtbl.ultragridband>') is not allowed within a 'Infragistics.WebUI.UltraWebGrid.BandsCollection'.
The wierd (or annoying part) is that the "<infragistics.webui.ultrawebgrid.ultragridband " is put in there by default when you drag the control onto the page. Is there something I'm missing but shouldn't the control handle that automatically?
I've setup the web.config as per the installtion instructions. Yet regardless of whether or not I register the assembly within the page it still appears that it does not "know" where the assembly is. I'm thinking this because if I type "<igtbl:" intellisense doesn't find anything for it. I've referenced it. Any ideas?
Also one other strange thing I noticed from the sintallation instructions. The assembly entry in the web.config is;
<add assembly="Infragistics35.WebUI.UltraWebGrid.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"/>
But it also has a runtime binding entry of;
<assemblyIdentity name="Infragistics2.WebUI.UltraWebGrid.v7.1"
<bindingRedirect oldVersion="7.1.20071.1-7.1.20071.31"
Thanks again for the suggestions, while they didn't fix it completely it does look like they got me closer.