WebForms - multiple BO's on page with multiple DropDowns error


Author
Message
Jiri Brazda
Jiri Brazda
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)
Group: StrataFrame Users
Posts: 78, Visits: 356
I have an application with a page that should allow user to manage many details of some selected entity. Therefore there are 7 BO's on base page and 3 dropdowns (2 of them have populationtype BusinessObject, one Enumeration).

The page is loaded correctly at first but during postbacks in many cases it ends up with error saying that some of DropDowns has a SelectedValue which is invalid because it does not exist in the list of items. In this post I have described the same problem and the solution was to specify the TopMostItem. However - all of dropdowns has the TopMostItem set up!

The page works correctly when I remove these 3 dropdowns. I'm really confused by this behavior and cannot find the cause of this error.

I can email You my project (I cannot post it to whole forum) if necessary.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Jiri Brazda - 16 Years Ago
Jiri Brazda - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Jiri Brazda - 16 Years Ago
                     Jim,

Your best bet would be to create a sample app that...
Greg McGuffey - 16 Years Ago
                         Trent, Greg, I have created a very simple testing application that...
Jiri Brazda - 16 Years Ago
                             Hi, I have made some more investigation and found that when BO's are...
Jiri Brazda - 16 Years Ago
                                 Jiri, I am going to load and run your sample, but I wanted to say one...
Trent L. Taylor - 16 Years Ago
                                     Jiri, There were a lot of issues that I saw just with how you have...
Trent L. Taylor - 16 Years Ago
                                         Hi Trent, Regarding to Your findings: Excuse me, that was a mistake...
Jiri Brazda - 16 Years Ago
                                             Jiri, I really don't know what else to say via the forum past taking...
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search