M
manwslohand
Newbie here. Stupid question follows. Please be kind.
I'm using c#.net 2003 and have a web form that uses a datagrid to
display a list from a table. It's working okay but I want to expand the
features of the data being displayed. I've tried the datagrid and data
repeater but I can't customize it to the level I want. I need to be
able to, depending on the data in the table, turn on/off certain
graphics on each line and would selectively display pictures, if one is
available for a record.
I can't see how to do this (reasonably) within the standard controls.
Is there a way to bind a control to a function? I'm thinking to write
out the HTML code manually from within the function (response.write)
and have it display on the form. I need the control to be able to
grow/expand to accomodate lots of records. Don't want the user to have
to scroll within the control.
Any suggestions or code examples on how to do this? Many thanks in
advance.
I'm using c#.net 2003 and have a web form that uses a datagrid to
display a list from a table. It's working okay but I want to expand the
features of the data being displayed. I've tried the datagrid and data
repeater but I can't customize it to the level I want. I need to be
able to, depending on the data in the table, turn on/off certain
graphics on each line and would selectively display pictures, if one is
available for a record.
I can't see how to do this (reasonably) within the standard controls.
Is there a way to bind a control to a function? I'm thinking to write
out the HTML code manually from within the function (response.write)
and have it display on the form. I need the control to be able to
grow/expand to accomodate lots of records. Don't want the user to have
to scroll within the control.
Any suggestions or code examples on how to do this? Many thanks in
advance.