'&' in DataBinding expressions

  • Thread starter Thread starter Vik
  • Start date Start date
V

Vik

Concatenation operator & used in the databinding expressions for the
datagrid template columns appears as '&' in HTML. It causes an error
when opening the pages. I have to replace '&' by '&' each time I edit
the template column. Is there a way to avoid this problem?

Thank you.
 
Vik said:
Concatenation operator & used in the databinding expressions for the
datagrid template columns appears as '&' in HTML. It causes an error
when opening the pages. I have to replace '&' by '&' each time I edit
the template column. Is there a way to avoid this problem?

Use the '+' concatenation operator or String.Concat()?
 
Back
Top