Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> How to refresh ddl option list when data added
 

Pages: 1
LLBLGen Pro Runtime Framework
How to refresh ddl option list when data added
Page:1/1 

  Print all messages in this thread  
Poster Message
like2175
User



Location:
Camberley, United Kingdom
Joined on:
27-Mar-2006 16:16:06
Posted:
83 posts
# Posted on: 28-Aug-2007 12:51:01.  
I have 2 gridviews, each bound to 2 LLBLGenProDataSource controls using declarations, not code. The itemTemplate of Gridview1 contains a dropdown list of entries that edited by gridview2(the ddl is bound to another LLBLGenProDataSource). If I add an entry to gridview2, what should I do/call (and what event should i call it from) if I want the the new entry to appear in the dropdown list asap.

I know this is a bit vague... but can anyone set me on the right track?

oracle 9.2
self-servicing
llblgen 2
visual basic.

Many thanks
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14569 posts
# Posted on: 29-Aug-2007 10:46:57.  
I would try the following options:

1- Handle the GridView2's DataSource EntityInserted event, and set ddl's DataSource.Refetch = true;

2- Re-Bind the GridView1 (eg. gridView1.DataBind(); ) this should reload everything within.

3- Try using the same DataSource for the ddl and the GridView2.


  Top
Pages: 1  


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

Version: 2.1.12172008 Final.