Is there anyway for the Grid to allow the display of apostrophes?
Apostrophe's in text are a fact of life but when I have a piece of text in a database and example code like the following to display the text, it just breaks the entire javascript and no display occurs.
oGridCell = new Object;
oGridCell.ID = GridCurID;
GridCurCol++;
oGridCell.Name = '';
oGridCell.Type = idxGrid_Text;
oGridCell.SortVal = '<%=rs("Area_Interest_1")%>.';
oGridCell.HTML = oGridCell.SortVal;
oGridCell.Column=GridCurCol;
GridCell_4 = oGridCell;
Note that surrounding the SortVal value with quotations or single quotes makes no difference. Same result.
Any ideas?
thanks.
oGridCell = new Object;
oGridCell.ID = GridCurID;
GridCurCol++;
oGridCell.Name = '';
oGridCell.Type = idxGrid_Text;
oGridCell.SortVal = '<%=rs("Area_Interest_1")%>.';
oGridCell.HTML = oGridCell.SortVal;
oGridCell.Column=GridCurCol;
GridCell_4 = oGridCell;
Note that surrounding the SortVal value with quotations or single quotes makes no difference. Same result.
Any ideas?
thanks.
Steve
November 12,