Remove column name and ID from grouped column on export

8 replies. Last post: October 29, 2009 6:50 AM by Staffan Eriksson
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

I'm grouping my WebGrid 6.0.216 on this column:
<

<ISWebGrid:WebGridColumn CaptionPriceType" DataMember="PriceTypeID" DataType="System.Int32" EditType="DropdownList" InputRequired="True" InputRequiredErrorText="Add price type!" UseValueListForSorting="Yes" Name="PriceTypeID" Width="125px"> <ValueList DataMember="DefaultView" DataSourceID="PriceTypeDataSource" DataTextField="PriceTypeDescription" DataValueField="PriceTypeID"> </ValueList> </ISWebGrid:WebGridColumn>

<GroupedColumns> <ISWebGrid:WebGridGroup ColumnMember="PriceTypeID" GroupInterval="text" SortOrder="Ascending" /> </GroupedColumns>

The text, not the ID of the column is beautifully shown when running the page, but when exporting to pdf it shows "PriceTypeID: 1" instead of the test of the column. How can I remove "PriceTypeID" from the exported pdf and how can I show the text instead of the ID?

// Staffan E.
All times are GMT -5. The time now is 3:39 AM.
Previous Next