Webcombo textvalue not shown when onselecting set in linqdatasource

2 replies. Last post: April 5, 2012 4:57 AM by berk kurt
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
berk kurtMember

I set a linqdatasource to a webcombo and set its value field to "Id" and text value field to "Name" and when no onselecting event is set to linqdatasource; all of the text values are shown as expected. 


But when I set a onselecting event to the linqdatasource just to filter the values to only get the values when "Type" column is "1"; webcombo shows the Id values instead of the text values "Name".


onselecting event is like:

dataSource1.Where = @"Type = 1"


Thanks in advance.

All times are GMT -5. The time now is 7:57 AM.
Previous Next