Click here to Skip to main content
15,885,366 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Link Button on User Control not firing? Pin
AndyASPVB5-Feb-10 0:52
AndyASPVB5-Feb-10 0:52 
GeneralRe: Link Button on User Control not firing? Pin
Ravindra Nidhonkar5-Feb-10 1:04
Ravindra Nidhonkar5-Feb-10 1:04 
GeneralRe: Link Button on User Control not firing? Pin
AndyASPVB5-Feb-10 1:31
AndyASPVB5-Feb-10 1:31 
GeneralRe: Link Button on User Control not firing? Pin
Rhys Jacob5-Feb-10 1:57
Rhys Jacob5-Feb-10 1:57 
GeneralRe: Link Button on User Control not firing? Pin
AndyASPVB5-Feb-10 2:30
AndyASPVB5-Feb-10 2:30 
GeneralRe: Link Button on User Control not firing? Pin
AndyASPVB5-Feb-10 3:33
AndyASPVB5-Feb-10 3:33 
GeneralRe: Link Button on User Control not firing? Pin
Rhys Jacob5-Feb-10 5:47
Rhys Jacob5-Feb-10 5:47 
GeneralRe: Link Button on User Control not firing? Pin
AndyASPVB5-Feb-10 5:57
AndyASPVB5-Feb-10 5:57 
Yes, I have.

Since my reply to you, I have been digging a bit deeper, and my feelings at the moment are starting to sway if the button event is not being wired up correctly. Therefore, I double checked the AutoWireEvent, and this has been set to true on the usercontrol.

By the way, the Page_Load is being overriden by the OnLoad method, which I need to have on my page, because I am setting up a grid view, which needs to reload on PostBack, because it is also built dynamically.

What I have also done is put on a simple button on the control, and ran the ocde in debug through OnLoad. This has set the button text value, and I can see the event handler being added in. Next I clicked the button on Post Back. When the page is reload via OnLoad, which also has a if (IsPostBack) this is hit, and what I wanted to do is to reset the text value to something else.

However, what happened instead was that the button disappeared off the screen. Event for that button was never reached!

Am I missing a trick here?
QuestionOn demand combo in asp.net Pin
Tridip Bhattacharjee4-Feb-10 21:24
professionalTridip Bhattacharjee4-Feb-10 21:24 
AnswerRe: On demand combo in asp.net Pin
sashidhar4-Feb-10 21:58
sashidhar4-Feb-10 21:58 
AnswerRe: On demand combo in asp.net Pin
Anurag Gandhi4-Feb-10 22:05
professionalAnurag Gandhi4-Feb-10 22:05 
QuestionFile download completed in client machine or not detection Pin
Tridip Bhattacharjee4-Feb-10 21:23
professionalTridip Bhattacharjee4-Feb-10 21:23 
Questionscrren shot aspx page ? Pin
Subin Mavunkal4-Feb-10 21:23
Subin Mavunkal4-Feb-10 21:23 
AnswerRe: scrren shot aspx page ? Pin
R. Giskard Reventlov4-Feb-10 21:26
R. Giskard Reventlov4-Feb-10 21:26 
GeneralRe: scrren shot aspx page ? Pin
yrishi4-Feb-10 22:10
yrishi4-Feb-10 22:10 
GeneralRe: scrren shot aspx page ? Pin
R. Giskard Reventlov4-Feb-10 23:18
R. Giskard Reventlov4-Feb-10 23:18 
GeneralRe: scrren shot aspx page ? Pin
yrishi4-Feb-10 23:28
yrishi4-Feb-10 23:28 
GeneralRe: scrren shot aspx page ? Pin
R. Giskard Reventlov4-Feb-10 23:55
R. Giskard Reventlov4-Feb-10 23:55 
GeneralRe: scrren shot aspx page ? Pin
Subin Mavunkal4-Feb-10 23:33
Subin Mavunkal4-Feb-10 23:33 
AnswerRe: scrren shot aspx page ? Pin
nainakarri4-Feb-10 22:10
nainakarri4-Feb-10 22:10 
GeneralRe: scrren shot aspx page ? Pin
Subin Mavunkal4-Feb-10 22:17
Subin Mavunkal4-Feb-10 22:17 
GeneralRe: scrren shot aspx page ? Pin
nainakarri4-Feb-10 22:22
nainakarri4-Feb-10 22:22 
GeneralRe: scrren shot aspx page ? Pin
Anurag Gandhi4-Feb-10 22:47
professionalAnurag Gandhi4-Feb-10 22:47 
GeneralRe: scrren shot aspx page ? Pin
R. Giskard Reventlov4-Feb-10 23:20
R. Giskard Reventlov4-Feb-10 23:20 
GeneralRe: scrren shot aspx page ? Pin
yrishi5-Feb-10 0:15
yrishi5-Feb-10 0:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.