Last post Apr 27, 2010 12:18 PM by betii
Apr 26, 2010 04:13 PM|betii|LINK
I get the search box to work great against 1 field, but when I try to enter 2 like the documentation says you can do, I get a compile error.
Compile error is something like:
Literal content is not allowed within a 'System.Web.UI.WebControls.Expressions.DataSourceExpressionCollection'
Anyone else get this to compile?
Thanks in advance!
Apr 27, 2010 07:17 AM|cninjas|LINK
r u trying to do it in code behind. If that is the case then you need to specify as
hope it helps.thanks,
Apr 27, 2010 12:05 PM|betii|LINK
Thanks for your reply. No, trying to do it in the asp tag on the list page just like from the msdn documentation. I had my post in () but not in the code.
<asp:ControlParameter ControlID="SearchTextBox" />
Apr 27, 2010 12:18 PM|betii|LINK
Hey bud, I did get it to compile with quotes around the whole set, instead of individually like the documentation said.
I marked your reply as answered. Now I need to figure out how to make my tags specific, per table, so I don't get runtime error when trying to look up an element (field) in another table.