Click here to Skip to main content
15,906,625 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Display Validator Error Messages One by one Pin
Sandeep Akhare6-Feb-08 23:59
Sandeep Akhare6-Feb-08 23:59 
GeneralRe: Display Validator Error Messages One by one Pin
Satish - Developer7-Feb-08 0:05
Satish - Developer7-Feb-08 0:05 
GeneralRe: Display Validator Error Messages One by one Pin
Sandeep Akhare7-Feb-08 0:13
Sandeep Akhare7-Feb-08 0:13 
GeneralRe: Display Validator Error Messages One by one Pin
Gandalf_TheWhite7-Feb-08 1:16
professionalGandalf_TheWhite7-Feb-08 1:16 
Generalproblem in ajax with asp.net 1.1 Pin
adilkazmi6-Feb-08 23:14
adilkazmi6-Feb-08 23:14 
GeneralRe: problem in ajax with asp.net 1.1 Pin
Christian Graus6-Feb-08 23:40
protectorChristian Graus6-Feb-08 23:40 
GeneralRe: problem in ajax with asp.net 1.1 Pin
Gandalf_TheWhite7-Feb-08 2:14
professionalGandalf_TheWhite7-Feb-08 2:14 
GeneralDesperate! CSS + Session + SQL Server with C# ASP.NET Pin
Infernojericho6-Feb-08 23:05
Infernojericho6-Feb-08 23:05 
Hi fellas, I'm stuck big time with my site. I'll try to make it short and simple.

I am currently trying to write a website in the C# of ASP.NET. I am writing it in VS.NET 2003.

I needed to use CSS for flexibility, so I decided to store the values of the CSS in a SQL Server Express 2005 Database.

I also use a lot of user controls, I used a user control for my tabs on the site, another for the list buttons.

However since there are quite a few pages in the site, I decided to use the external style sheets, since updating them would make my life easier.

After the CSS values is retrieved, the values are stored in a session variable, then the style sheet links with the CSS session variables.

I have placed the database connection in the very first line of the Page_load of the index.aspx.

The problem is, it seems the CSS values are never loaded.

Here's what I've tried and done:
1. Using internal style sheet (by placing it in the HEAD header) seems fine, the CSS worked.
2. I am certain the database connection is fine; I made a dummy label on the index.aspx, and I was managed to print the value from the database onto the Label.

Therefore I am suspecting the culprit is the user Controls are loaded first, then the database. Therefore the CSS could never retreive the CSS values from the database.

Could there be anything else? I am stuck big time. HELP!!!
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Christian Graus6-Feb-08 23:39
protectorChristian Graus6-Feb-08 23:39 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Infernojericho6-Feb-08 23:53
Infernojericho6-Feb-08 23:53 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Sandeep Akhare7-Feb-08 0:03
Sandeep Akhare7-Feb-08 0:03 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Infernojericho7-Feb-08 0:11
Infernojericho7-Feb-08 0:11 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Gandalf_TheWhite7-Feb-08 0:58
professionalGandalf_TheWhite7-Feb-08 0:58 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Christian Graus7-Feb-08 0:06
protectorChristian Graus7-Feb-08 0:06 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Infernojericho7-Feb-08 0:16
Infernojericho7-Feb-08 0:16 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Sandeep Akhare7-Feb-08 0:20
Sandeep Akhare7-Feb-08 0:20 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Infernojericho7-Feb-08 0:35
Infernojericho7-Feb-08 0:35 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Sandeep Akhare7-Feb-08 0:45
Sandeep Akhare7-Feb-08 0:45 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Infernojericho7-Feb-08 0:49
Infernojericho7-Feb-08 0:49 
GeneralRe: Desperate! CSS + Session + SQL Server with C# ASP.NET Pin
Gandalf_TheWhite7-Feb-08 0:55
professionalGandalf_TheWhite7-Feb-08 0:55 
GeneralSecurity Application Block vs ASP.NET Membership Provider Pin
Brendan Vogt6-Feb-08 23:01
Brendan Vogt6-Feb-08 23:01 
GeneralExpand/Collapse Edit View for Details Pin
Brady Kelly6-Feb-08 22:57
Brady Kelly6-Feb-08 22:57 
GeneralRe: Expand/Collapse Edit View for Details Pin
Gandalf_TheWhite7-Feb-08 0:50
professionalGandalf_TheWhite7-Feb-08 0:50 
GeneralRe: Expand/Collapse Edit View for Details Pin
Brady Kelly7-Feb-08 0:54
Brady Kelly7-Feb-08 0:54 
GeneralRe: Expand/Collapse Edit View for Details Pin
Gandalf_TheWhite7-Feb-08 1:08
professionalGandalf_TheWhite7-Feb-08 1:08 

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.