Hello Everyone,
I have 2 LLBLGenDataSources on 1 Page - 1 within a User Control, and 1 within the Main Page.
The UserControl's LLBLGenDataSource fires the PerformSelect command correctly, however, the datasource on the page itself does not.
I've set LivePrescence = false.
I noticed that if I manually set the LLBLGenDS.TypedView = SomeTypedView, then performSelect is executed ... however, for my UserControl DS, I do not have to set any datasources - it does a fetch automatically.
So I'm a bit confused... Do I need to set the datasource on the LLBLGenDataSource (i.e. EntityCollection, TypedList, TypedView)?
PerformSelect Event is fired:
LLBLGenProDSIdeaList.TypedView = IdeaFactory.CreateIdeaHelper.GetIdeaList(m_CategoryID, 0, Nothing)
dlIdeaList.DataBind()
Preform Select NOT fired
LLBLGenProDSIdeaList.Refetch = True
dlIdeaList.DataBind()
Preform Select NOT fired
dlIdeaList.DataBind()
Preform Select NOT fired
LLBLGenProDSIdeaList.Select
dlIdeaList.DataBind()
But on other pages I do not need to set the DataSource.
The behaviour of the LLBLGenDataSource seems a bit inconsistent?