I have four dropdownlist controls. All the controls are binding to one
table. However, the second control has filter (where clause) based on the
value in the first control, and the third control has filter based on the
value in the second control, and the four control has filter based on the
value in the third control.
When the page starts, the value in each control renders correctly. My
problem is when I click an item in the first dropdownlist control, only the
second dropdownlist control is rendered. The third and fourth ones didn't
refresh (render). I have to click a button once, the third control
refreshes, and click the button once again, the fourth one relashes (that
is, once I click an item in one control, the next dependent control renders,
but the next next dependent control doesn't render). But I set AutoPostBack
to true for all controls. I am very appreciated if someone can help me.
Thanks in advance!
David 2 984
AutoPostBack feature would postback when the user click/change the control,
not when the control value is changed from code behind
You will need to bind control 3 and 4 again in the OnChange event of Control1
"David Sagenaut" wrote: I have four dropdownlist controls. All the controls are binding to one table. However, the second control has filter (where clause) based on the value in the first control, and the third control has filter based on the value in the second control, and the four control has filter based on the value in the third control.
When the page starts, the value in each control renders correctly. My problem is when I click an item in the first dropdownlist control, only the second dropdownlist control is rendered. The third and fourth ones didn't refresh (render). I have to click a button once, the third control refreshes, and click the button once again, the fourth one relashes (that is, once I click an item in one control, the next dependent control renders, but the next next dependent control doesn't render). But I set AutoPostBack to true for all controls. I am very appreciated if someone can help me. Thanks in advance!
David
I'm kinda confused as to how you have set this up. I think if you post the
relevant property settings for the design time bindings along with the
Page_Load event then I might have a better chance of understanding how this
has been put together.
mr N
"David Sagenaut" <sa******@yahoo.com> wrote in message
news:Hbx1f.22$vi2.19@trndny04... I have four dropdownlist controls. All the controls are binding to one table. However, the second control has filter (where clause) based on the value in the first control, and the third control has filter based on the value in the second control, and the four control has filter based on the value in the third control.
When the page starts, the value in each control renders correctly. My problem is when I click an item in the first dropdownlist control, only the second dropdownlist control is rendered. The third and fourth ones didn't refresh (render). I have to click a button once, the third control refreshes, and click the button once again, the fourth one relashes (that is, once I click an item in one control, the next dependent control renders, but the next next dependent control doesn't render). But I set AutoPostBack to true for all controls. I am very appreciated if someone can help me. Thanks in advance!
David
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter Olcott |
last post by:
www.halting-problem.com
|
by: Jon Davis |
last post by:
If I have a class with a virtual method, and a child class that overrides
the virtual method, and then I create an instance of the child class AS A
base class...
BaseClass bc = new ChildClass();...
|
by: Ammar |
last post by:
Dear All,
I'm facing a small problem.
I have a portal web site, that contains articles, for each article, the end
user can send a comment about the article.
The problem is:
I the comment length...
|
by: giovannino |
last post by:
Dear all,
I did a query which update a sequence number (column NR_SEQUENZA) in a table using a nice code (from Trevor !).
1) Given that I'm not a programmer I can't understand why...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |