Click here to Skip to main content
15,885,546 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to display categories and subcategories in links Pin
Christian Graus6-Apr-08 14:47
protectorChristian Graus6-Apr-08 14:47 
GeneralRe: How to display categories and subcategories in links Pin
Nourdin Ali7-Apr-08 5:09
Nourdin Ali7-Apr-08 5:09 
GeneralRe: How to display categories and subcategories in links Pin
Christian Graus7-Apr-08 11:44
protectorChristian Graus7-Apr-08 11:44 
QuestionWhere to set UICulture? InitCulture() causes trouble. Pin
horc6-Apr-08 10:00
horc6-Apr-08 10:00 
GeneralRe: Where to set UICulture? InitCulture() causes trouble. Pin
AlexeiXX36-Apr-08 15:19
AlexeiXX36-Apr-08 15:19 
GeneralRe: Where to set UICulture? InitCulture() causes trouble. Pin
horc7-Apr-08 10:54
horc7-Apr-08 10:54 
GeneralRe: Where to set UICulture? InitCulture() causes trouble. Pin
AlexeiXX37-Apr-08 10:56
AlexeiXX37-Apr-08 10:56 
GeneralInheriting page from common page Pin
AlexeiXX36-Apr-08 9:22
AlexeiXX36-Apr-08 9:22 
Hi, thanks for looking

Im inheriting a page from another page (commonpage)
In my commonpage im just making sure that session hasnt expired before forms authentication ticket (Only in forms that need the user to be logged in)

In the load of commonpage i have:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Val(Session("UserID")) = 0 Then
        FormsAuthentication.SignOut()
        FormsAuthentication.RedirectToLoginPage()
    End If
End Sub


In the pages that inherit from this common page, i also handle the load event, wich gives me an error, and i have to declare it overloads
Then i need to include a call to the base load

Protected Overloads Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
   MyBase.Page_Load(Me, New System.EventArgs)

   'do something else
End Sub


Do i have to alwasy include a call to the load event of the base class or is there any other way to inplicitly call the load event of the base class?

Thanks in advance
Any other approaches are welcome

Alexei Rodriguez

GeneralRe: Inheriting page from common page Pin
Christian Graus6-Apr-08 11:31
protectorChristian Graus6-Apr-08 11:31 
QuestionHow do I read the received emails in my Domain. Pin
coolsatty6-Apr-08 6:56
coolsatty6-Apr-08 6:56 
AnswerRe: How do I read the received emails in my Domain. Pin
Christian Graus6-Apr-08 11:31
protectorChristian Graus6-Apr-08 11:31 
GeneralDataGrid header from more than one Resource strings Pin
Aftab Sindhi6-Apr-08 0:48
Aftab Sindhi6-Apr-08 0:48 
Generalhorizontal gridview Pin
justintimberlake5-Apr-08 22:59
justintimberlake5-Apr-08 22:59 
GeneralRe: horizontal gridview Pin
Christian Graus6-Apr-08 11:32
protectorChristian Graus6-Apr-08 11:32 
GeneralRe: horizontal gridview Pin
AlexeiXX36-Apr-08 20:01
AlexeiXX36-Apr-08 20:01 
Generalonline quiz code Pin
resh5-Apr-08 20:55
resh5-Apr-08 20:55 
GeneralRe: online quiz code Pin
Blue_Boy6-Apr-08 9:12
Blue_Boy6-Apr-08 9:12 
GeneralRe: online quiz code Pin
Gamzun8-Apr-08 6:27
Gamzun8-Apr-08 6:27 
QuestionHow to put the webpage in the middle of the screen when I use a master page with header and footer Pin
Albert835-Apr-08 20:23
Albert835-Apr-08 20:23 
GeneralRe: How to put the webpage in the middle of the screen when I use a master page with header and footer Pin
Herman<T>.Instance8-Apr-08 4:43
Herman<T>.Instance8-Apr-08 4:43 
QuestionRe: How to put the webpage in the middle of the screen when I use a master page with header and footer Pin
Albert838-Apr-08 5:27
Albert838-Apr-08 5:27 
GeneralRe: How to put the webpage in the middle of the screen when I use a master page with header and footer Pin
Herman<T>.Instance8-Apr-08 5:53
Herman<T>.Instance8-Apr-08 5:53 
QuestionRe: How to put the webpage in the middle of the screen when I use a master page with header and footer Pin
Albert838-Apr-08 5:59
Albert838-Apr-08 5:59 
Questiontreeview node color change in click [modified] Pin
Sonia Gupta5-Apr-08 19:52
Sonia Gupta5-Apr-08 19:52 
GeneralRe: treeview node color change in click Pin
Christian Graus6-Apr-08 13:19
protectorChristian Graus6-Apr-08 13:19 

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.