We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Callback Panel firing Page load events

Thread ID:

Created:

Updated:

Platform:

Replies:

51591 Nov 9,2006 12:46 AM Nov 9,2006 01:51 AM ASP.NET Web Forms (Classic) 2
loading
Tags: Tools
Maurice
Asked On November 9, 2006 12:46 AM

I have a call back panel with a button inside which fires a call back ...no problem page does not flicker etc however it fires the page load event ...this is not supposed to happen? I know this is happening as I have a message box prompting me when a postback is made
eg
if page.ispostback then
msgbox("there is a postback happening")
end if this is happening when i call back using the call back panel.

Administrator [Syncfusion]
Replied On November 9, 2006 01:30 AM

I have just realized that my code was causing it to fire twice however....

once i removed the code the page load only fire once like it should. But now that i have removed that reload of the page the callback panel remains in the loading screen.

this panel is inside a user control. the only way i can get it too work again is to use my code too add my bad code that was calling the load page twice...

Is there an issue with using the callback panel with dynamically add user controls?

>I have a call back panel with a button inside which fires a call back ...no problem page does not flicker etc however it fires the page load event ...this is not supposed to happen? I know this is happening as I have a message box prompting me when a postback is made
eg
if page.ispostback then
msgbox("there is a postback happening")
end if this is happening when i call back using the call back panel.

Administrator [Syncfusion]
Replied On November 9, 2006 01:51 AM

I have since worked out that it really is my code.

when a user control is dynamically added it must it will not be shown on the postback so it must be added back. I was not carefuly enough when adding it back

>I have just realized that my code was causing it to fire twice however....

once i removed the code the page load only fire once like it should. But now that i have removed that reload of the page the callback panel remains in the loading screen.

this panel is inside a user control. the only way i can get it too work again is to use my code too add my bad code that was calling the load page twice...

Is there an issue with using the callback panel with dynamically add user controls?

>I have a call back panel with a button inside which fires a call back ...no problem page does not flicker etc however it fires the page load event ...this is not supposed to happen? I know this is happening as I have a message box prompting me when a postback is made
eg
if page.ispostback then
msgbox("there is a postback happening")
end if this is happening when i call back using the call back panel.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;