Hey all, I've got a usercontrol with a Popup on it, within that is a textbox. The usercontrol is being created in the datatemplate of a DataGrid (CellEditTemplate), and when the textbox gets focus via the edit the popup is opened. When the textbox loses focus the popup is closed. The problem I'm getting is when you scroll the datagrid the popup stays open and should you scroll far enough you popup is no longer inside the datagrid bounds. It looks wrong with the popul/textbox floating over the page when its scrolled far enough up.
I'm trying to find a way to close the popup but I don't want to use an event that would result in a memory leak (hit this issue with SL2 - not sure if SL4 has a way to unwire events on dispose maybye? need to look into that). Any suggestions on the best way to close the popup if the grid is scrolled? Maybe I'm coming at this from the wrong angle... cheers, Stephen
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
