Hi,
I use entity datasource for the tabstrip, but in the TabSelected event, the dataItem for the selected tab is 'nothing'. (I use templates for tabs)
How to get the dataitem in the 'tabselected' event
ex:
Protected Sub TabSelected(ByVal sender As Object, ByVal e As RadTabStripEventArgs)
Me.uxTabStrip.SelectedIndex = e.Tab.Index
Dim entity= TryCast(e.Tab.DataItem, entity)
End Sub
## entity is 'Nothing' here
regards,
Naresh
I use entity datasource for the tabstrip, but in the TabSelected event, the dataItem for the selected tab is 'nothing'. (I use templates for tabs)
How to get the dataitem in the 'tabselected' event
ex:
Protected Sub TabSelected(ByVal sender As Object, ByVal e As RadTabStripEventArgs)
Me.uxTabStrip.SelectedIndex = e.Tab.Index
Dim entity= TryCast(e.Tab.DataItem, entity)
End Sub
## entity is 'Nothing' here
regards,
Naresh