|
| MASTERPAGE |
 |
Tue, 1 Apr 2008 18:05:46 +0000 |
Hi
1.in masterpages how can a data disply in everypages..............
ex......i want display welcome in every pages i can do that by using user
control............... but i want to do in master pages.............. i have
idea in master pages but icant do.............plz help me
2.what is the differnce betwwen ispostback,autopost back.........i know that
defination but i want to know brifely..............how it work plz give 1
example...............
Thanks & Regardsbulu
|
| Post Reply
|
| Re: MASTERPAGE |
 |
Wed, 2 Apr 2008 01:03:23 +0000 |
1. Everything you place in the masterpage (outside the content placeholders)
will be shown in all pages that use that masterpage. So you can't go wrong with
this. Just put a label in your masterpage where you enter your message. Voila!
2. IsPostBack is a property of the Page that you can use to check if the page
has been posted back to itself. The first time a page is loaded, IsPostBack is
always false, but once the page has been submitted for one reason, IsPostBack is
true. Typically, you use this property to perform initial data population. A
page is "postbacked" when you press a submit button in that form - or
if you change the selected value in, for example, a DropDownList or similar that
has AutoPostback=true. So AutoPostback is a property of a control, while
IsPostBack is a property of the Page. When AutoPostback is set to false for a
control, the page is not submitted when the user changes the value, while having
AutoPostback set to true will act as if the submit button was pressed once the
value is changed by the user.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|