473,761 Members | 9,266 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AJAX - cascadingdropdo wn

I've implemented a cascadingdropdo wn modeling the examples found on the web
and that work fine on an initial data entry screen. What I can't seem to
find an example of is after I've stored data and want to come back to the
screen for editing how can I get the lists to populate and set the
appropriate value? Any examples out there that I'm just not finding?

Thanks!
Jul 2 '07 #1
3 2950
Mmmm...

Maybe I'm wrong or I'm missing something, but some weeks ago I face a
similar problem, and it seems that cascading drop down is not prepared for
"update mode".

Possible solutions:

- Implement the out of bounds calls simulating that a client is selecting
the right option (you should first place a javascript method to be fired when
the page is loaded on the browser, and then go capturing the outofbound
calls).

- Extend the Toolkit control to allow "update mode".

- Use another login for the cascading (build up your own methods to
update, maybe via webservices, or altough is not very optimal, using update
panels).

If somebody knows a better solution, please giveme a shout :-)

Good luck
Braulio
/// ------------------------------
/// Braulio DÃ*ez
///
/// http://www.tipsdotnet.com
/// ------------------------------


"Gary L" wrote:
I've implemented a cascadingdropdo wn modeling the examples found on the web
and that work fine on an initial data entry screen. What I can't seem to
find an example of is after I've stored data and want to come back to the
screen for editing how can I get the lists to populate and set the
appropriate value? Any examples out there that I'm just not finding?

Thanks!
Jul 3 '07 #2
Thanks. That tells me what I need to do, just wasn't the answer I was hoping
for... :)
Jul 3 '07 #3
Yes :-(

I realized about that problem one day at 2 AM pretty frustrating...

/// ------------------------------
/// Braulio DÃ*ez
///
/// http://www.tipsdotnet.com
/// ------------------------------


"Gary L" wrote:
Thanks. That tells me what I need to do, just wasn't the answer I was hoping
for... :)

Jul 3 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6620
by: mark4asp | last post by:
I'm accessing the website locally via IIS. I get an error message shown in DropDownList2: I can't see what I'm doing wrong. I changed CascadingDropDown1.Category from "Continent" to "countrys" and my error changed to 12031 instead. What is the purpose of this property anyway?
1
1448
by: bbawa1 | last post by:
I am trying to use cascadingdropdown AJAX control but it gives me following error. have the following web method public FoodService() { //Uncomment the following line if using designed components //InitializeComponent(); }
0
985
by: bbawa1 | last post by:
Hi Phani, I have two tables. I created datasets dsPrimary and dsChild. For dsPrimary.xsd my query is For first dropdown list my query is select * from tbparent For second dataset dsChild.xsd my query is select categoryid, subcategoryid, subcategory from tbchild where categoryid = @categoryid.
0
1310
by: glenh | last post by:
I have a data entry page with a number of controls in it some of which are DropDownLists controlled by the CascadingDropDown controls. All of these controls are contained in a MultiView control, when they have finished entering the data they have an opportunity to view the data in a read only preview style. This is controlled by clicking the preview button and rendering the entered data into labels in a different view of the MultiView....
1
1418
Fuhrer
by: Fuhrer | last post by:
Hi all, i have a problem implementing Cascading DropDown,in my webpage. i'm creating it in"test.aspx": <cc1:CascadingDropDown .......></cc1:CascadingDropDown> in my "test.aspx.cs" page: i'm trying to fill it with infos.i'm getting these infos by connecting to SQL Server 2005 database,but it wont work,instead i have a 403 error. if any one have a code or an answer please let me know Thank u
0
1498
by: john_mcmahon | last post by:
I'm having issues populating a second drop down menu that's dependent upon a selection in the first menu. When I select an option from the first menu, the second menu remains disabled, i.e. unable to select an option. I'm confident that most of my code is correct because of testing that I completed with it. For instance, when I remove the ParentControlID attribute from the second control and un-comment out: // string sPlantTypeID = "2";...
0
3120
by: wfsmith | last post by:
I have a page with a MultiView control and 6 Views. Each view has a User control that contains various form controls (dropdowns, textboxes and CascadingDropDown Ajax.Net controls). When the page is loaded, I populate the various form controls with data inside each of the 6 Views by accessing my exposed properties of my User Control. All the controls persist during postback, and any changes I make also persist during postbacks, but...
0
1062
by: matt cupryk | last post by:
I have problems updating the image on the page. <script language="javascript" type="text/javascript"> function pageLoad(sender, args) { $find("cddCountry").add_selectionChanged(onCCSChanged); }
11
3050
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7 and IE8. There is no issue when the controls are allowed to complete loading. Can you please tell me the best practice that handles this? Thanks.
0
9345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8780
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7332
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.