R
Roy
Hey all,
On my html page I have a datagrid with the column:
<boundColumn datafield="xyz" visible = false>
</boundColumn>
In my code behind, within item data bound event, I dynamically set the
column text like so:
e.item.cells(10).text = mystring.trim
Why I'm doing this is because I'm essentially using the invisible
boundcolumn to store info for use by this datagrid column's hyperlink:
<templatecolumn>
<itemtemplate>
<hyperlink navigateurl="dnl.aspx?a=xyz"
e.item.cells(10) is being set properly and contains the data (or as
best as I can tell). However, the templatecolumn's hyperlink never
changes and always displays the default data in the link.
It's almost as if the hyperlink info gets set prior to the boundcolumn.
How can I get around this?
Thanks.
On my html page I have a datagrid with the column:
<boundColumn datafield="xyz" visible = false>
</boundColumn>
In my code behind, within item data bound event, I dynamically set the
column text like so:
e.item.cells(10).text = mystring.trim
Why I'm doing this is because I'm essentially using the invisible
boundcolumn to store info for use by this datagrid column's hyperlink:
<templatecolumn>
<itemtemplate>
<hyperlink navigateurl="dnl.aspx?a=xyz"
e.item.cells(10) is being set properly and contains the data (or as
best as I can tell). However, the templatecolumn's hyperlink never
changes and always displays the default data in the link.
It's almost as if the hyperlink info gets set prior to the boundcolumn.
How can I get around this?
Thanks.