asp.net - How can I identify which controls are updated in UpdatePanel? -
I have a UserControl (UC) that is in an UpdatePanel. When I UC loads, I am in this UC Run a recursive method to set tooltips for all buttons, link buttons, and dropdown lists. Sometimes the problem is that I update 1 control in UC as just a dropdown list, but I have to call the recursive method on all the controls of the UC. I was wondering if there is a way to know which controls are updated in UpdatePanel, I can update these controls properly.
Thank you very soon!
Many thanks.
You can increase every control, essentially have a custom control for each control, and The property is called, for example, IsDirty.
During the event of change of control, you can set this property to right, then set tooltips can run through your method, and all the controls of IsDirty property are incorrectly reset from the wrong After completion of your processing.
Comments
Post a Comment