Click here to Skip to main content
16,007,163 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Connection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
RenuKhot21-Dec-06 18:57
RenuKhot21-Dec-06 18:57 
GeneralRe: Connection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
nesaraja21-Dec-06 19:20
nesaraja21-Dec-06 19:20 
GeneralRe: Connection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
RenuKhot21-Dec-06 19:55
RenuKhot21-Dec-06 19:55 
GeneralRe: Connection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
nesaraja28-Dec-06 19:49
nesaraja28-Dec-06 19:49 
Questionunable to run copied asp code in local server Pin
madhumallidi21-Dec-06 13:01
madhumallidi21-Dec-06 13:01 
AnswerRe: unable to run copied asp code in local server Pin
ednrgc22-Dec-06 4:08
ednrgc22-Dec-06 4:08 
QuestionConfiguration failures Pin
whatever10121-Dec-06 10:38
whatever10121-Dec-06 10:38 
QuestionTriggering the Background color, font and other properties in ASP.Net Pin
Tina P21-Dec-06 10:21
Tina P21-Dec-06 10:21 
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 />
<br />
<asp:dropdownlist id="ddl2" Runat="server" Width="145px"><br />
				<asp:ListItem Value="Select Me">- Select One -</asp:ListItem><br />
				<asp:ListItem Value="#ff0033"> RED</asp:ListItem><br />
				<asp:ListItem Value="#0000ff"> BLUE</asp:ListItem><br />
				<asp:ListItem Value="#00ff00"> GREEN</asp:ListItem><br />
				<asp:ListItem Value="#000000"> BLACK</asp:ListItem><br />
			</asp:dropdownlist><br><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: Triggering the Background color, font and other properties in ASP.Net Pin
eggsovereasy21-Dec-06 10:53
eggsovereasy21-Dec-06 10:53 
GeneralRe: Triggering the Background color, font and other properties in ASP.Net Pin
Tina P21-Dec-06 20:11
Tina P21-Dec-06 20:11 
GeneralRe: Triggering the Background color, font and other properties in ASP.Net Pin
Nimit Patel22-Dec-06 2:14
Nimit Patel22-Dec-06 2:14 
GeneralRe: Triggering the Background color, font and other properties in ASP.Net Pin
eggsovereasy22-Dec-06 8:51
eggsovereasy22-Dec-06 8:51 
GeneralRe: Triggering the Background color, font and other properties in ASP.Net Pin
Tina P22-Dec-06 10:39
Tina P22-Dec-06 10:39 
GeneralRe: Triggering the Background color, font and other properties in ASP.Net Pin
Tina P22-Dec-06 12:06
Tina P22-Dec-06 12:06 
NewsRe: Triggering the Background color, font and other properties in ASP.Net Pin
Tina P23-Dec-06 15:24
Tina P23-Dec-06 15:24 
QuestionGridview cross page data transfer Pin
srishree21-Dec-06 10:05
srishree21-Dec-06 10:05 
AnswerIf you want to use popup window for child gridview,this may help you Pin
kvPriya21-Dec-06 18:30
kvPriya21-Dec-06 18:30 
GeneralRe: If you want to use popup window for child gridview,this may help you Pin
srishree21-Dec-06 18:41
srishree21-Dec-06 18:41 
GeneralRe: If you want to use popup window for child gridview,this may help you Pin
kvPriya21-Dec-06 19:29
kvPriya21-Dec-06 19:29 
Questionflash +aspx Pin
keroed_edmond21-Dec-06 9:45
keroed_edmond21-Dec-06 9:45 
QuestionImageButton.Click event never gets fired! Pin
MY120121-Dec-06 9:08
MY120121-Dec-06 9:08 
AnswerRe: ImageButton.Click event never gets fired! Pin
eggsovereasy21-Dec-06 9:57
eggsovereasy21-Dec-06 9:57 
GeneralRe: ImageButton.Click event never gets fired! Pin
MY120121-Dec-06 10:06
MY120121-Dec-06 10:06 
GeneralRe: ImageButton.Click event never gets fired! Pin
eggsovereasy21-Dec-06 10:40
eggsovereasy21-Dec-06 10:40 
GeneralRe: ImageButton.Click event never gets fired! Pin
MY120121-Dec-06 20:23
MY120121-Dec-06 20:23 

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.