Rank: Newbie Groups: Member
Joined: 4/15/2009 Posts: 2
|
Hi Support Team,
I have a web application which has a TreeView, a MultiPage and 3 PageViews.
I set the RaisesServerEvent to True.
Then on the event, ItemClick, I load a user control (ASCX) which has a button and a label.
After the control is loaded, I click the button in the user control but the Button1_Click event is not being fired.
Can you assist me on this?
My User Control has no callbackpanel on it.
Thanks!
marjoan
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, This is a very common code error. It has nothing to do with our product. You would have the same result if you were to replace our TreeView with a simple button control. Please take a look of the following topic and see it helps. It explained this issue in greater detail: http://essentialobjects.com/Forum/Default.aspx?g=posts&t=1179#5018The topic mentioned about CallbackPanel. However the actual issue is not related to CallbackPanel in anyway. It mentioned about CallbackPanel is only because user often hit this problem when using CallbackPanel. Thanks!
|
Rank: Newbie Groups: Member
Joined: 4/15/2009 Posts: 2
|
Hi,
OK, my problem is really this. I have reviewed your codes in the Demo, because I want to create a web application that upon clicking a node in the TreeView, it will load the User control in the Page View, however in your example there is a CallbackPanel which contains the Hidden field, the tab strip and the multipage, then the control that you are loading for example the demo of Input Blocker, Demo.ascx, has also a CallbackPanel, when I tried to imitate that I get an error when I click a button in my User Control, it says that it happens when I have more than 1 callbackpanel in my page.
I saw in your demo that you are initializing the page again when a button in the control again is clicked, but I can't seem to get that to work on my end, I can't re-initialize the page when I click a button in the User Control. It just pops the error. How are you able to do that?
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You will need to seek help from other resource on that. We view this as a generic ASP.NET programming question and unfortunately our support does not cover that.
Thanks!
|