When I have an inplace form displayed to enter new data. I have two dropdownlists in the form. I also have griditem rows displayed beneath the form.
Currently, when I hit refresh, I set the CurrentPageIndex=0 and the first griditem record displays. But the dropdownlists lose there text's and value's and are initialized to the "Select" text.
1) Is there a flag (or property) I can check that will let me know that the Form is currently being displayed so I can know not to rebind the grid when I hit refresh.
2) In my itembound, the refresh comes in as a GridCommandItem, and I cannot seem to access the GridEditFormItem dropdownlists to refresh them with the text's and value's I need.
I have tried various cast's but no go. I am trying to figure out how to traverse the MasterTableView to access the Form Template items. is there a more straight forward approach ? Or a combination of cast's and FindControl's that I should be looking at ?
How can I access the form items when the current cycle is for command items ?
thanks for any help
David
Currently, when I hit refresh, I set the CurrentPageIndex=0 and the first griditem record displays. But the dropdownlists lose there text's and value's and are initialized to the "Select" text.
1) Is there a flag (or property) I can check that will let me know that the Form is currently being displayed so I can know not to rebind the grid when I hit refresh.
2) In my itembound, the refresh comes in as a GridCommandItem, and I cannot seem to access the GridEditFormItem dropdownlists to refresh them with the text's and value's I need.
I have tried various cast's but no go. I am trying to figure out how to traverse the MasterTableView to access the Form Template items. is there a more straight forward approach ? Or a combination of cast's and FindControl's that I should be looking at ?
How can I access the form items when the current cycle is for command items ?
thanks for any help
David