Click here to Skip to main content
14,603,636 members
   

ASP.NET

 
AnswerRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
Abhijit Jana15-Mar-10 12:03
professionalAbhijit Jana15-Mar-10 12:03 
AnswerRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
carlecomm15-Mar-10 15:22
Membercarlecomm15-Mar-10 15:22 
AnswerRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
Sandeep Mewara15-Mar-10 20:35
mentorSandeep Mewara15-Mar-10 20:35 
GeneralRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
AndyASPVB15-Mar-10 23:12
MemberAndyASPVB15-Mar-10 23:12 
AnswerRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
Sandeep Mewara16-Mar-10 1:11
mentorSandeep Mewara16-Mar-10 1:11 
GeneralRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
AndyASPVB16-Mar-10 2:25
MemberAndyASPVB16-Mar-10 2:25 
GeneralRe: How do you create a query string with JavaScript and access the values in Code Behind Pin
AndyASPVB15-Mar-10 23:32
MemberAndyASPVB15-Mar-10 23:32 
Questionchange forecolor of a label in gridview [modified] Pin
laziale15-Mar-10 9:27
Memberlaziale15-Mar-10 9:27 
Hello -
I want to change the forecolor of a label in a gridview I have, depending on the text in that label.
I can't access the label by the ID in the code-behind to get the properties.
The label is part of templatefield:


<div>
<asp:Label ID="lblFirstName" runat="server" Text='<%#Server.HtmlEncode(Eval("FirstName").ToString())%>'></asp:Label>
</div>




Thx, Laziale
modified on Monday, March 15, 2010 3:54 PM

AnswerRe: change forecolor of a label in gridview [modified] Pin
Brij15-Mar-10 9:35
mentorBrij15-Mar-10 9:35 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 9:47
Memberlaziale15-Mar-10 9:47 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 10:02
professionalAbhijit Jana15-Mar-10 10:02 
GeneralRe: change forecolor of a label in gridview Pin
Sandeep Mewara15-Mar-10 10:11
mentorSandeep Mewara15-Mar-10 10:11 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 10:14
professionalAbhijit Jana15-Mar-10 10:14 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 11:00
Memberlaziale15-Mar-10 11:00 
GeneralRe: change forecolor of a label in gridview Pin
Brij15-Mar-10 18:21
mentorBrij15-Mar-10 18:21 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 9:51
professionalAbhijit Jana15-Mar-10 9:51 
AnswerRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 10:01
professionalAbhijit Jana15-Mar-10 10:01 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 11:06
Memberlaziale15-Mar-10 11:06 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 11:17
professionalAbhijit Jana15-Mar-10 11:17 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 11:35
Memberlaziale15-Mar-10 11:35 
GeneralRe: change forecolor of a label in gridview Pin
FyreWyrm15-Mar-10 15:39
MemberFyreWyrm15-Mar-10 15:39 
GeneralRe: change forecolor of a label in gridview Pin
Brij15-Mar-10 18:27
mentorBrij15-Mar-10 18:27 
GeneralRe: change forecolor of a label in gridview Pin
laziale16-Mar-10 3:14
Memberlaziale16-Mar-10 3:14 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana16-Mar-10 3:30
professionalAbhijit Jana16-Mar-10 3:30 
GeneralRe: change forecolor of a label in gridview Pin
laziale16-Mar-10 3:59
Memberlaziale16-Mar-10 3:59 

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.