开发者

The Load Event of the user control to occur every time.. When the user Enters the user control

开发者 https://www.devze.com 2023-03-15 15:01 出处:网络
I Have a User Control, The load Event of this User Control is occurs Only one time, I want that Load event开发者_如何学JAVA to Occur Every time When the User Enters The UserControl..Focus is the even

I Have a User Control, The load Event of this User Control is occurs Only one time, I want that Load event开发者_如何学JAVA to Occur Every time When the User Enters The UserControl..


Focus is the event that would be triggered when the user enters the control. Can you not move your code there?


You want the Enter event rather than Load then. Enter fires when the user tabs onto, or clicks onto, the control and gives it focus.


Why don't you put your code in page load.....If you have update panel use updatepanel.update method

0

精彩评论

暂无评论...
验证码 换一张
取 消