This is a migrated thread and some comments may be shown as answers.

Best practise to make sure an event is fired

1 Answer 45 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Martin Gartmann
Top achievements
Rank 2
Martin Gartmann asked on 30 Aug 2010, 03:20 PM
Dear fellows,

i just start with AJAX, because since the last weeks i was more involved in the RadControl for ASP.Net and Winforms.

i've noticed that most on my classic asp.net controls (in .ascx controls) don't fire the server side event code on first click, but on 2nd.

So what i am doing is, that i have one contentPlaceHolder in a master page and i drop my user controls on it.

I have added a ScriptManager to the master page.

Where to place AjaxManager and/or AJAX Panel to make sure that defined classic ASP.NET controls are behaving like before?

Specially my asp:Buttons are not working as expected and i need to execute server side code on first click.

So what is the best pratice for this.

2nd: in my apllication some buttons should appear only, if some steps was done before, means the user has to follow a defined way, and first when she/he has finished Step 2 - the BVutton for Step 3 becomes visible.

Because there is not databinding for buttons i currently use session variables for this taks. Any better way to do it ?

Thanks for helping.

Kind Regards

Martin Gartmann

1 Answer, 1 is accepted

Sort by
0
Martin Gartmann
Top achievements
Rank 2
answered on 01 Sep 2010, 01:43 PM
dear readers,

seems to be solved in the meanwhile. Issue closed.

kind regards

Martin Gartmann
Tags
Ajax
Asked by
Martin Gartmann
Top achievements
Rank 2
Answers by
Martin Gartmann
Top achievements
Rank 2
Share this question
or