C# Web Development - Events and Postback
Mar31Written by:
2009/03/31 10:19 AM
One of the things I had to grasp early when learning Object Orientated Programming, or OOP, is this idea of events. Raising events, and what they mean. Then when it came to web development, I had to find out about postbacks. Now if these two concepts allude you or confuse you, then stay tuned. I am going to try and make it easier for you.
In this lesson we are going to look at how to handle events and set properties in code on the server. It is much the same as in many other languages, with the difference of mindset. Normally these settings take place on the client, in a windows application. But because the web is a disconnected application, the mindset has to change slightly when dealing with web apps. But if you understand events and properties in other languages, this will be no different.
We will also be talking about a concept called postback. We will also see how to determine if the current web request is as a result of postback or first time request. Why does that even matter. Why do we need to watch for it. How does it affect our code and the resultant web page?
So hurry to our article page and read all about events and postbacks. You won't be sorry.
BTW, what else would you like to see covered? I am going through a whole lot of articles, and topics to cover, I will try in the course of time cover as much as I can. But I would probably not cover everything. If you feel that there is a subject that will benefit you and others, let me know.
blog comments powered by