Click here to Skip to main content
15,921,452 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Form fields appear dynamically Pin
Mike Ellison28-Jan-08 8:32
Mike Ellison28-Jan-08 8:32 
GeneralRe: Form fields appear dynamically Pin
Not Active28-Jan-08 8:32
mentorNot Active28-Jan-08 8:32 
GeneralRe: Form fields appear dynamically Pin
Sandeep Akhare28-Jan-08 20:02
Sandeep Akhare28-Jan-08 20:02 
GeneralASP.NET & Sharepoint error when adding control to a project Pin
michael@cohen28-Jan-08 7:46
michael@cohen28-Jan-08 7:46 
QuestionCalling a javscript from a function in asp.net Pin
Yatish Kasa28-Jan-08 6:33
Yatish Kasa28-Jan-08 6:33 
GeneralRe: Calling a javscript from a function in asp.net Pin
Not Active28-Jan-08 8:21
mentorNot Active28-Jan-08 8:21 
QuestionChanging Skin of Web Page [modified] Pin
wEb GuRu...28-Jan-08 6:15
wEb GuRu...28-Jan-08 6:15 
AnswerRe: Changing Skin of Web Page Pin
newc128-Jan-08 23:35
newc128-Jan-08 23:35 
As you are using .Net 1.1, and don't have the option of theming, the easiest way would be to have multiple stylesheets, and use the QueryString variable to determine which stylesheet to link to.

In the <head> section of your aspx page, add a standard link element that links to your default CSS file. Give it an ID and mark it to runat="server". In your code-behind file, make sure the link element is declared as type System.Web.UI.HtmlControls.HtmlLink along with the other page controls.

Then, when the page loads you can simply check the QueryString to see which stylesheet to use. If you have a valid stylesheet then simply set your declared link elements href property.

Hope this helps...

Clean code is the key to happiness.

GeneralWindows Authentication : NT Authority\Anonymous LOGON error Pin
ss.mmm28-Jan-08 5:50
ss.mmm28-Jan-08 5:50 
Questioncheckbox CheckedChanged event not firing after conversion to .net 3.5 Pin
icewolf_snowfire28-Jan-08 5:31
icewolf_snowfire28-Jan-08 5:31 
GeneralASP.NET Web application Pin
zeeShan anSari28-Jan-08 3:22
zeeShan anSari28-Jan-08 3:22 
AnswerRe: ASP.NET Web application Pin
newc128-Jan-08 5:24
newc128-Jan-08 5:24 
GeneralRe: ASP.NET Web application Pin
zeeShan anSari28-Jan-08 6:49
zeeShan anSari28-Jan-08 6:49 
GeneralImage Preview Pin
NjMikw28-Jan-08 2:37
NjMikw28-Jan-08 2:37 
GeneralRe: Image Preview Pin
newc128-Jan-08 5:33
newc128-Jan-08 5:33 
Questionhow to display a file browser dialog in an ASP.NET user control in design time [modified] Pin
kudorgyozo28-Jan-08 2:17
kudorgyozo28-Jan-08 2:17 
AnswerRe: how to display a file browser dialog in an ASP.NET user control in design time Pin
newc128-Jan-08 23:44
newc128-Jan-08 23:44 
GeneralRe: how to display a file browser dialog in an ASP.NET user control in design time [modified] Pin
kudorgyozo29-Jan-08 2:01
kudorgyozo29-Jan-08 2:01 
Questionanyway for asp.net to send report directly to printer at client side? Pin
ALAQUNAIBI28-Jan-08 1:57
ALAQUNAIBI28-Jan-08 1:57 
AnswerRe: anyway for asp.net to send report directly to printer at client side? Pin
N a v a n e e t h28-Jan-08 2:59
N a v a n e e t h28-Jan-08 2:59 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
thomas_joyee28-Jan-08 16:42
thomas_joyee28-Jan-08 16:42 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
N a v a n e e t h28-Jan-08 19:19
N a v a n e e t h28-Jan-08 19:19 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
thomas_joyee28-Jan-08 19:40
thomas_joyee28-Jan-08 19:40 
Generalsession problem Pin
RajeevKumarSharma28-Jan-08 1:09
RajeevKumarSharma28-Jan-08 1:09 
QuestionRe: session problem Pin
Vasudevan Deepak Kumar28-Jan-08 1:18
Vasudevan Deepak Kumar28-Jan-08 1:18 

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.