Hello -
I have created a page for Editing records. this page will open up a chosen record and allow user to edit the data.
On the form, I have 3 drop down lists. The second dropdown list should fill values depending on value chosen in first dropdown list. The third dropdown list should show/fill values depending on value chosen in second dropdown list.
So taking this into count, I have several records with various data. When I open-up/load a record in Edit form, only the first dropdown list has a value selected that was the pre-existing value entered in database. The last two dropdowns are populated but the previously chosen values are not selected. The last 2 dropdown lists show up as blank even when I had selected some values when creating the record.
I know this may sound a little confusing but please let me know if you have any questions.
Please Help!!
Thank you!!!!!
Niradhip ChakrabortyPosted Jul 30, 2008, 7:39 AM
I have a doubt on this part, can you explain me bit further.
"So taking this into count, I have several records with various data. When I open-up/load a record in Edit form, only the first dropdown list has a value selected that was the pre-existing value entered in database. The last two dropdowns are populated but the previously chosen values are not selected. The last 2 dropdown lists show up as blank even when I had selected some values when creating the record."
What I understood from your post, I have mentioned below. Please correct me if I am wrong.
Initially there will be three dropdown list. The time of loading page first dropdown list will fill from database. Remaining two ddl will fill based on selection of first and second ddl.
Note: If this is the case tell me where are you facing problem ? Try to make the autopostback property of ddl to true and give a try.
You mentioned in your post about editing the record. Are you facing any problem on that?