Click here to Skip to main content
15,925,444 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generalproblem with css Pin
eyeseetee19-Feb-08 21:56
eyeseetee19-Feb-08 21:56 
GeneralRe: problem with css Pin
Paddy Boyd19-Feb-08 22:43
Paddy Boyd19-Feb-08 22:43 
GeneralRe: problem with css Pin
eyeseetee19-Feb-08 23:38
eyeseetee19-Feb-08 23:38 
GeneralRe: problem with css Pin
dilipv20-Feb-08 0:19
dilipv20-Feb-08 0:19 
GeneralNeed advice in Implementing automatic sign in functionality Pin
Rocky#19-Feb-08 21:27
Rocky#19-Feb-08 21:27 
GeneralRe: Need advice in Implementing automatic sign in functionality Pin
N a v a n e e t h19-Feb-08 22:11
N a v a n e e t h19-Feb-08 22:11 
GeneralRe: Need advice in Implementing automatic sign in functionality Pin
Rocky#19-Feb-08 23:26
Rocky#19-Feb-08 23:26 
GeneralRe: Need advice in Implementing automatic sign in functionality Pin
N a v a n e e t h19-Feb-08 23:45
N a v a n e e t h19-Feb-08 23:45 
Rocky# wrote:
you mean all your pages were derived from one of your own class. I think thats a gr8 idea but now I've already made lots of forms. So did that parent class derived from the System.Web.UI.Page class? and then u derived all the other forms from that class u made ur self?


Yes exactly. This architecture gives easy way to group common functionalities like session checking to be written in single place. This method makes adding new features like this makes very easy.

You can create many base page classes. Assume in your website you have some pages that require authentication. Instead of checking session in page_load of all pages, create a class something named "AuthenticatedPage" where you do this session checking. Derive all your pages which require session check from this page. You are done and no need to add the code manually to all page_load. This gives high flexibility for maintenance.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions

GeneralRe: Need advice in Implementing automatic sign in functionality Pin
Rocky#20-Feb-08 0:18
Rocky#20-Feb-08 0:18 
QuestionZip/Compress a folders on Server Pin
rain raj19-Feb-08 21:07
rain raj19-Feb-08 21:07 
AnswerRe: Zip/Compress a folders on Server Pin
Venkatesh Mookkan19-Feb-08 21:20
Venkatesh Mookkan19-Feb-08 21:20 
GeneralRe: Zip/Compress a folders on Server Pin
rain raj19-Feb-08 21:56
rain raj19-Feb-08 21:56 
GeneralRe: Zip/Compress a folders on Server Pin
Venkatesh Mookkan19-Feb-08 23:16
Venkatesh Mookkan19-Feb-08 23:16 
GeneralListbox Control Pin
ajau19-Feb-08 20:58
ajau19-Feb-08 20:58 
GeneralRe: Listbox Control Pin
N a v a n e e t h19-Feb-08 21:50
N a v a n e e t h19-Feb-08 21:50 
GeneralRe: Listbox Control Pin
Sandeep Akhare19-Feb-08 21:53
Sandeep Akhare19-Feb-08 21:53 
GeneralProblem with crystal reports Pin
satish_kinfo19-Feb-08 20:46
satish_kinfo19-Feb-08 20:46 
QuestionCreate webcontrol inluding another Controls. Pin
ThienK2719-Feb-08 19:33
ThienK2719-Feb-08 19:33 
GeneralRe: Create webcontrol inluding another Controls. Pin
N a v a n e e t h19-Feb-08 20:26
N a v a n e e t h19-Feb-08 20:26 
GeneralRe: Create webcontrol inluding another Controls. Pin
ThienK2720-Feb-08 17:08
ThienK2720-Feb-08 17:08 
Questionhow to save dynamically created document on server without file upload control Pin
rahul.net1119-Feb-08 19:24
rahul.net1119-Feb-08 19:24 
GeneralStoring special characters...... Pin
.NET- India 19-Feb-08 19:23
.NET- India 19-Feb-08 19:23 
AnswerRe: Storing special characters...... Pin
dipak.dipak19-Feb-08 20:20
dipak.dipak19-Feb-08 20:20 
GeneralRe: Storing special characters...... Pin
.NET- India 19-Feb-08 20:23
.NET- India 19-Feb-08 20:23 
GeneralRe: Storing special characters...... Pin
N a v a n e e t h19-Feb-08 20:29
N a v a n e e t h19-Feb-08 20:29 

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.