Last post Feb 12, 2010 10:53 AM by pbcclements
Feb 11, 2010 10:08 AM|pbcclements|LINK
I am working through a problem to set certain fields on a formview readonly at runtime - I have written code based around the great help given by Steve on this forum some time ago, but seem to have come to a halt - there sems to be no way to link the use
the Filtered Fields Code for the formview - it seems the columngenerator & rowgenerator are only available on the listview and grideview respectively.
Maybe I'm missing something, but if anyone can comment, it would be much appreciated
table = GridDataSource.GetTable();
GridView1.ColumnsGenerator = new FilteredFieldsManager(table,
Roles.GetRolesForUser()); -- not for formview ??
AutoFieldGenerator and FormView
Feb 11, 2010 05:20 PM|sjnaughton|LINK
Hi Pete, I have a FormView that works with a column generator see:
Custom PageTemplates Part 4 - Dynamic/Templated FromView should give you what you want [:D]
Feb 12, 2010 10:53 AM|pbcclements|LINK
Thanks as ever for your help Steve, really much appreciated.