Click here to Skip to main content
16,007,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: create an email application for own website Pin
Ali Al Omairi(Abu AlHassan)25-Feb-11 8:53
professionalAli Al Omairi(Abu AlHassan)25-Feb-11 8:53 
AnswerRe: create an email application for own website Pin
Abhinav S25-Feb-11 3:21
Abhinav S25-Feb-11 3:21 
AnswerRe: create an email application for own website Pin
RaviRanjanKr28-Feb-11 2:34
professionalRaviRanjanKr28-Feb-11 2:34 
QuestionObject reference not set to an instance of an object. Pin
Pierre besquent24-Feb-11 21:55
Pierre besquent24-Feb-11 21:55 
AnswerRe: Object reference not set to an instance of an object. Pin
OriginalGriff24-Feb-11 22:32
mveOriginalGriff24-Feb-11 22:32 
GeneralRe: Object reference not set to an instance of an object. Pin
Pierre besquent24-Feb-11 22:39
Pierre besquent24-Feb-11 22:39 
GeneralRe: Object reference not set to an instance of an object. Pin
OriginalGriff24-Feb-11 22:44
mveOriginalGriff24-Feb-11 22:44 
GeneralRe: Object reference not set to an instance of an object. Pin
Pierre besquent24-Feb-11 22:51
Pierre besquent24-Feb-11 22:51 
hi,
this is the code of my load :
protected override void OnLoad (EventArgs e)
		{
			try
			{
				// Ne pas inclure la page dans le cache client (Par défaut).
				_ApplyCacheStrategy ();
				// Titre.
				string					pageTitle = this.PageTitle;

				if (pageTitle != null && (
					this.Title == null || this.Title == this.SessionData.PageTitleToOverride))
				{
					this.Title = pageTitle;
				}
				// Inclure le script pour la vérification des erreurs coté serveur.
				_AddCheckServerErrorScript ();
				// Inclure le script pour la gestion des erreurs coté client.
				_AddJsReportingScript ();
				// Avoir le jeton de l'application racine.
				if (this.RootToken == null)
					this.RootToken = _GetRootToken ();
				// Fixer la tâche en cours.
				this._PageTask = new WEAppPageTask (this.PageTaskString);
				// Vérifier l'accès à la page.
				WEAppPageAccess						pageAccess;
				// Récupérer en cours de la page - Récupération 1.
				pageAccess = GetAccess ();
				// Vérifier l'accès.
				WEAppCheckingAccessResult			checkResult = _CheckPageAccess (pageAccess);
				// Récupérer à nouveau l'accès - Récupération 2.
				pageAccess = GetAccess ();
				// 1. Accès réfusé. Essayer de résoudre l'autorisation.
				if (checkResult != WEAppCheckingAccessResult.AUTHORIZED_ACCESS && !_TryChangePageAccess (pageAccess, checkResult))
				{
					// Récupérer à nouveau l'accès - Récupération 3.
					pageAccess = GetAccess ();
					// Exécution du code de l'autorisation.
					_PageAccessDenied (pageAccess, checkResult);
					// Générer une exception.
					throw new BSCInvalidOperationException ("Method _PageAccessDenied must throws exception or aborts current thread");
				}
				// Récupérer à nouveau l'accès - Récupération 4.
				pageAccess = GetAccess ();
				// Vérifier que l'accès est fourni.
				if (pageAccess == null)
					throw new BSCInvalidOperationException ("Null access");
				// 2. Accès autorisé.
				if (pageAccess.AccessWeight > -1)
					pageAccess.AccessWeight --;
				// Status de l'accès de la page.
				pageAccess.PageAccessState = WEAppPageAccess.GetPageAccessState ();
				this.PageAccessState = pageAccess.PageAccessState;
				// Remplir la méthode de nettoyage d'accès si elle n'est pas renseignée.
				if (pageAccess.PageAccessClean == null)
					pageAccess.PageAccessClean = new WEAppPageAccessClean (PageAccessClean);
				// Imposer la culture francaise au Thread en cours.
				Thread.CurrentThread.CurrentCulture = this.AppCultureInfo;
				// Exécution de la méthode de la classe de base.
				base.OnLoad (e);
				// Lier les données.
				if (this.BindablePage)
					DataBind ();
			}
			catch (Exception exception)
			{throw BSCExceptionPropagation.Throw (exception, MethodBase.GetCurrentMethod (), GetType ());}
		}

ty
GeneralRe: Object reference not set to an instance of an object. Pin
OriginalGriff24-Feb-11 22:58
mveOriginalGriff24-Feb-11 22:58 
AnswerRe: Object reference not set to an instance of an object. Pin
_Erik_24-Feb-11 22:36
_Erik_24-Feb-11 22:36 
GeneralRe: Object reference not set to an instance of an object. Pin
Pierre besquent24-Feb-11 22:50
Pierre besquent24-Feb-11 22:50 
GeneralRe: Object reference not set to an instance of an object. Pin
_Erik_24-Feb-11 22:59
_Erik_24-Feb-11 22:59 
AnswerRe: Object reference not set to an instance of an object. Pin
Abhinav S25-Feb-11 3:24
Abhinav S25-Feb-11 3:24 
AnswerRe: Object reference not set to an instance of an object. Pin
Eddy Vluggen25-Feb-11 10:20
professionalEddy Vluggen25-Feb-11 10:20 
AnswerRe: Object reference not set to an instance of an object. Pin
PrimeCoder25-Feb-11 23:01
PrimeCoder25-Feb-11 23:01 
QuestionTracking some HTTP requests Pin
Anubhava Dimri24-Feb-11 20:25
Anubhava Dimri24-Feb-11 20:25 
AnswerRe: Tracking some HTTP requests Pin
Bernhard Hiller24-Feb-11 21:03
Bernhard Hiller24-Feb-11 21:03 
QuestionCreating A Demo Version in C# Pin
varun.g24-Feb-11 19:34
varun.g24-Feb-11 19:34 
AnswerRe: Creating A Demo Version in C# Pin
Groulien24-Feb-11 20:27
Groulien24-Feb-11 20:27 
AnswerRe: Creating A Demo Version in C# Pin
Pravin Patil, Mumbai25-Feb-11 0:01
Pravin Patil, Mumbai25-Feb-11 0:01 
AnswerRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 4:09
professionalEspen Harlinn25-Feb-11 4:09 
GeneralRe: Creating A Demo Version in C# Pin
fjdiewornncalwe25-Feb-11 4:57
professionalfjdiewornncalwe25-Feb-11 4:57 
GeneralRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 5:09
professionalEspen Harlinn25-Feb-11 5:09 
GeneralRe: Creating A Demo Version in C# Pin
varun.g25-Feb-11 18:36
varun.g25-Feb-11 18:36 
GeneralRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 23:21
professionalEspen Harlinn25-Feb-11 23:21 

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.