Unfortunately setting “EnableLinqExpressions = false“ grid is not binding when I change the drop down value..
As soon as I changed the page from 1 to 2 grid was rebinding data is showing. Till now it was working fine, but when I changed the drop down value again
grid was not rebind. But when I click on the change page its showing me the data.
· This is what I am doing:
· When I click paging this is how I’m binding the data:
OnNeedDataSource coding
{
Dim dset As New DataSet
dset = BO_SlInfo.ShowSampleListInfo(nIHLogNumber, dtPicker1, dtPicker2, nLocationID, nLevelId, strPanel, strChemical)
· 'Bind the Sampling Plan List DataSet to RadGrid
· rGrdSampleList.DataSource = dset
}
On Drop down change I’m trying to bind the data as below:
ddlSampleType_SelectedIndexChanged
{
Dim dsSampleList As DataSet
dsSampleList = BO_SlInfo.ShowBlankSampleListInfo(nIHLogNumber, dtPicker1, "", nLocationID, nLevelId, strPanel, strChemical)
'Bind the Sampling Plan List DataSet to RadGrid
rGrdSampleList.DataSource = dsSampleList
rGrdSampleList.DataBind()
}
Please let me know what can be done…