Problems with Button Click Event
-
Hi guys, I'm currently experiencing a strange phenomenon. I have a user-control which allows the user to add data into a list on clicking on the OK Button. On the page where I use this control all works fine. However, now I need to have a second page where i need to enter the same data. So I wanted to re-use the control. The control is shown but when I click on the OK button no event is trigger, nothing happens? I have put a break point in the PageLoad of the user-control, but it doesn't event get there. It seems like that the event if any is missing at all, althought that the html (client-side) code is the same. Does anyone have a thought, or knows a reason why this could happen? Thx, Kurt
Learn from the mistakes of others, you may not live long enough to make them all yourself.
-
Hi guys, I'm currently experiencing a strange phenomenon. I have a user-control which allows the user to add data into a list on clicking on the OK Button. On the page where I use this control all works fine. However, now I need to have a second page where i need to enter the same data. So I wanted to re-use the control. The control is shown but when I click on the OK button no event is trigger, nothing happens? I have put a break point in the PageLoad of the user-control, but it doesn't event get there. It seems like that the event if any is missing at all, althought that the html (client-side) code is the same. Does anyone have a thought, or knows a reason why this could happen? Thx, Kurt
Learn from the mistakes of others, you may not live long enough to make them all yourself.
-
Hi guys, I'm currently experiencing a strange phenomenon. I have a user-control which allows the user to add data into a list on clicking on the OK Button. On the page where I use this control all works fine. However, now I need to have a second page where i need to enter the same data. So I wanted to re-use the control. The control is shown but when I click on the OK button no event is trigger, nothing happens? I have put a break point in the PageLoad of the user-control, but it doesn't event get there. It seems like that the event if any is missing at all, althought that the html (client-side) code is the same. Does anyone have a thought, or knows a reason why this could happen? Thx, Kurt
Learn from the mistakes of others, you may not live long enough to make them all yourself.
can you provide more detail ?? Like what type of control you are using, custom control, user control, etc..... And what exactly you want on second page that is not happened after you copy control and code from first page. (Which is working on first page)
Jinal Desai
-
can you provide more detail ?? Like what type of control you are using, custom control, user control, etc..... And what exactly you want on second page that is not happened after you copy control and code from first page. (Which is working on first page)
Jinal Desai
Thanks for the reaction. I'm using controls designed by DevXpress, so i did a search on there forums as well. While there I stumble onto a similar problem. The problem could lay in a databinding control which could prevent events from firing. This second page exists out of a tab control with 4 pages. When I remove the 2 last pages the control starts working. So my best guess is that one off the bindings onto those pages misbehave. Thanks anyway
Learn from the mistakes of others, you may not live long enough to make them all yourself.