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
100
"Literal content '&nbsp' is not allowed within a infragistics
posted
Hi all,

When I drag an infragistics control into the designer in Visual studio 2008. It gives me this error.

"Literal content '&nbsp' is not allowed within a infragistics.WebUI.WebdataInput.WebImgButton"

Basically the white spaces inbetween the tags are appended with '&nbsp'

My code:

<
igtx:webimagebutton ID="imgBtnFind1" runat="server" style="height: 20px; width: 50px; float: right;" ToolTip="Search Product Types">

<appearance>

<image url="~/Images/Standard/Applications Vista/PNG/16X16/_Base Image/Find.png" />

</appearance>

</igtx:webimagebutton>


I get an error for the above.

But if delete those spaces, it works fine.

<igtx:webimagebutton ID="imgBtnFind1" runat="server" style="height: 20px; width: 50px; float: right;" ToolTip="Search Product Types"><appearance><image url="~/Images/Standard/Applications Vista/PNG/16X16/_Base Image/Find.png" /></appearance></igtx:webimagebutton>

Any help or suggestions to get rid of this problem is greatly appreciated.

Thanks,
Sara