Custom web controls
-
I am having a pretty weird problems with my custom web controls. basically to start it all, I have a custom web user control, written in C# as a Class inherit as User Control. What it does is like a bread crumbs approach control, if you guys are familiar. I am using a modal pop up extender, a grid pops up then with a separate data pager, when the grid fires selectedIndexchange event then just basically append a dynamic link button into the placeholder with added event onclick to basically just remove it self from the placeholder if clicked. now my problems are. 1. when I get to the last item in the place holder, the onclick event won't fire, it hides itself from the users view, and shows itself back when another link button is added into the placeholder and that's not all, in debug mode there is no event that can capture all those what's happening in that linkbutton when i clicked it, it just hides and yes even javascript on click event can't capture it. 2. datapager in the pop up goes haywire when i click the next button, it hides. I am aware that this might be a problem on how I render the control, but even if I tried this approach in an actual web page and not as a usercontrol I still get the same problems aside from the datapager. I am not trying to find a solution cause this is a really hard problem believe me, if there is then I would welcome it. I just wanted to know if anyone has the same experience? thanks.