Click here to Skip to main content
15,921,203 members
Home / Discussions / C#
   

C#

 
QuestionHow to calculate the difference between two dates Ignoring Weekends ? Pin
KhaledK21-Dec-06 14:48
KhaledK21-Dec-06 14:48 
AnswerRe: How to calculate the difference between two dates Ignoring Weekends ? Pin
Paul Conrad25-Dec-06 18:34
professionalPaul Conrad25-Dec-06 18:34 
Questionhow to convert string to utf-8 string in asp.net ? Pin
hdv21221-Dec-06 12:10
hdv21221-Dec-06 12:10 
AnswerRe: how to convert string to utf-8 string in asp.net ? Pin
Guffa21-Dec-06 21:29
Guffa21-Dec-06 21:29 
QuestionQuestion about Find Control Pin
MyRunner21-Dec-06 11:33
MyRunner21-Dec-06 11:33 
AnswerRe: Question about Find Control Pin
Mark Pryce-Maher22-Dec-06 2:22
Mark Pryce-Maher22-Dec-06 2:22 
QuestionIE Browser Helper Object - how to get clicked text/word? Pin
Tommy Svensson21-Dec-06 10:54
Tommy Svensson21-Dec-06 10:54 
Questionserver side coding in C# Pin
Tina P21-Dec-06 10:24
Tina P21-Dec-06 10:24 
I’m currently working on a website that we are trying to make accessible. Now I added a page to the site which provide some drop down lists to the users. Such as background color (bgcolor), text size, zoom in (? Not sure how yet), font and things like that. The problem is my very limited experience with ASP.Net. I am a starter. I’d appreciate if one of you guru’s can help me out. Now I can’t or perhaps I should say don’t want to use Java script (user requirement). So basically I have to write server side code that will perform those things (change color, size, font ) etc. Now in my HTML code I have added the runat = “server” attribute to the form element. But that only exposes the Style property when I use it in code behind (under Page_Load event). I don’t want to use style because we won’t be using a CSS for this and I think style property only works with CSS. Since I will be hard coding a few values below in my drop down list and set the values of the color to their hexadecimal value such as #00ff00 for green.

<br />


All I want to be able to do when the user clicks the Button, the page and a few more pages will adopt those properties and change color, font etc. The later having the other pages adopt the same values is something I have figured out (I’m planning on using session state for that) Please help me out with this. I even tried exposing a runat = server attribute to the element so that I could programatically change the value of the whole body under the button_click event. But that didn’t work either. Thanks~ Tina
AnswerRe: server side coding in C# Pin
led mike21-Dec-06 11:32
led mike21-Dec-06 11:32 
AnswerRe: server side coding in C# Pin
Christian Graus21-Dec-06 12:40
protectorChristian Graus21-Dec-06 12:40 
QuestionWhich logging library to use? Pin
chafey21-Dec-06 8:04
chafey21-Dec-06 8:04 
AnswerRe: Which logging library to use? Pin
Ravi Bhavnani21-Dec-06 8:39
professionalRavi Bhavnani21-Dec-06 8:39 
Questionvectors Pin
aavakas21-Dec-06 7:23
aavakas21-Dec-06 7:23 
AnswerRe: vectors Pin
Dan Neely21-Dec-06 7:33
Dan Neely21-Dec-06 7:33 
GeneralRe: vectors Pin
Dave Kreskowiak21-Dec-06 7:48
mveDave Kreskowiak21-Dec-06 7:48 
GeneralRe: vectors Pin
Dan Neely21-Dec-06 8:14
Dan Neely21-Dec-06 8:14 
AnswerRe: vectors Pin
aavakas21-Dec-06 7:38
aavakas21-Dec-06 7:38 
GeneralRe: vectors Pin
ednrgc21-Dec-06 8:46
ednrgc21-Dec-06 8:46 
GeneralRe: vectors Pin
Christian Graus21-Dec-06 8:57
protectorChristian Graus21-Dec-06 8:57 
GeneralRe: vectors Pin
ednrgc21-Dec-06 8:58
ednrgc21-Dec-06 8:58 
AnswerRe: vectors Pin
Drew McGhie21-Dec-06 7:38
Drew McGhie21-Dec-06 7:38 
AnswerRe: vectors Pin
aavakas21-Dec-06 7:44
aavakas21-Dec-06 7:44 
GeneralRe: vectors Pin
Dave Kreskowiak21-Dec-06 7:52
mveDave Kreskowiak21-Dec-06 7:52 
GeneralRe: vectors Pin
Christian Graus21-Dec-06 8:59
protectorChristian Graus21-Dec-06 8:59 
GeneralRe: vectors Pin
Dave Kreskowiak21-Dec-06 9:33
mveDave Kreskowiak21-Dec-06 9:33 

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.