Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> PerformSelect needs SelectParameter?
 

Pages: 1
LLBLGen Pro Runtime Framework
PerformSelect needs SelectParameter?
Page:1/1 

  Print all messages in this thread  
Poster Message
pandu
User



Location:

Joined on:
18-May-2006 07:20:06
Posted:
86 posts
# Posted on: 30-Oct-2006 07:58:25.  
I have the 17th Oct Build and I have problem with PerformSelect of LLBLGenDataSource2.

It is not firing without a SelectParameter. Also it fires only when the SelectParameter changes.

Is it by design? If so, what should I do If I want to make the PeformSelect fire for every Postback?

In my case, I do not need to use SelectParameter since I do this:

FetchEntityCollection(e.ContainedCollection, Filter)

Thanks.
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14569 posts
# Posted on: 30-Oct-2006 08:31:53.  
To ensure fresh data from the database. is retrieved, a flag on the LLBLGenProDataSourceControl2 called Refetch can be set to true, so the DefaultView will refetch the data.

Also you should be using the <SelectParameters>, which can retrieve values from other controls, forms, cookies or other objects supported by the SelectParameters feature of ASP.NET 2.0.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37803 posts
# Posted on: 30-Oct-2006 09:49:57.  
Yet another way is to set the FilterToUse property. This will make the datasourcecontrol load the data again.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.