- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
public bool NewOrder {
get {
if( !string.IsNullOrEmpty( Request.QueryString[ "NewOrder" ] ) ) {
ViewState[ "NewOrder" ] = Request.QueryString[ "NewOrder" ] == "true" ? true : false;
} else {
if( ViewState[ "NewOrder" ] != null )
return ( bool ) ViewState[ "NewOrder" ];
else
ViewState[ "NewOrder" ] = true;
}
return ( bool ) ViewState[ "NewOrder" ];
}
set { ViewState[ "NewOrder" ] = value; }
}
Lure Of Chaos 05.08.2011 12:34 # +1
daymansiege 10.08.2011 23:15 # +1