I have two pages (asp.net) an add screen which loads with blank text boxes with a gridview so users can select items from a list. Two of them work together when the user selects a building from one and they go to select a room they only see the rooms in the bldg they selected. That works fine.
I have the same functionality on another page in a user control that references the same gridview object. However this page has bound data in the textbox when loaded. If I select a "new" bldg it displays in the textbox fine, however when i go to room and click nothing happens the gridview doesn't drop down at all. But...if I then go back to bldg and select a another one then the second gridview works and populates. I have to click twice to get it to work.
What am I missing? Why would one page work and not the other? Why would it take two clicks to finally work correctly?
Any tips? I've been in and out trying to solve this bug for a week.
I have the same functionality on another page in a user control that references the same gridview object. However this page has bound data in the textbox when loaded. If I select a "new" bldg it displays in the textbox fine, however when i go to room and click nothing happens the gridview doesn't drop down at all. But...if I then go back to bldg and select a another one then the second gridview works and populates. I have to click twice to get it to work.
What am I missing? Why would one page work and not the other? Why would it take two clicks to finally work correctly?
Any tips? I've been in and out trying to solve this bug for a week.
Comment