WebGrid Charts show IDs instead of Labels

5 replies. Last post: February 9, 2011 3:32 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
When I use charting on the WebGrids in my application, any ValueList columns display their integer ID numbers instead of the text from the valuelist.

The WebGrids in my application have columns and valuelists that are created and added dynamically at runtime (so they're not specified in the asp.net markup.)  

  • In the "InitializeDataSource" event I provide a dataset with the grid's data and any lookups as tables.  I set the columns' ValueLists' data sources in that same event.
  • I re-set the data source, DataTextField, and DataValueField in the PrepareDataBinding event.
This works great for all other grid functions - during display, edit, add, group, sort, and other operations, the lookups are always displayed correctly.  But once I generate a chart it just shows ID numbers.

Is there a setting somwhere I can adjust to make these items appear?  Thanks for your help!


note: I'm using the latest webui studio 2010, just purchased last week.

All times are GMT -5. The time now is 12:38 AM.
Previous Next