register user control non declaratively
-
i have a problem. please help. user control is dynamically added when gridview is selected( invoice number is selected) so far so good. but when a second selection is made the previous control appears again, naturally. so i want to register usercontrol a new every time grid is selected, how can i do that?
-
i have a problem. please help. user control is dynamically added when gridview is selected( invoice number is selected) so far so good. but when a second selection is made the previous control appears again, naturally. so i want to register usercontrol a new every time grid is selected, how can i do that?
What do you mean by 'register' ? I think you want to create one control, and then move it if it already exists, b/c viewstate is causing it not to be removed ( or just explicitly remove from all rows but the selected one when you add a new one )
Christian Graus Driven to the arms of OSX by Vista.