Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 10:54
Henry Minute29-Apr-09 10:54 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 11:11
Aljaz11129-Apr-09 11:11 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 11:28
Henry Minute29-Apr-09 11:28 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 14:16
Aljaz11129-Apr-09 14:16 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute30-Apr-09 0:30
Henry Minute30-Apr-09 0:30 
QuestionHow to display a textbox when checkbox is checked in C# Asp.net Pin
Shane Cavin29-Apr-09 8:39
Shane Cavin29-Apr-09 8:39 
AnswerRe: How to display a textbox when checkbox is checked in C# Asp.net Pin
Christian Graus29-Apr-09 10:18
protectorChristian Graus29-Apr-09 10:18 
AnswerRe: How to display a textbox when checkbox is checked in C# Asp.net Pin
dotnetmember29-Apr-09 19:43
dotnetmember29-Apr-09 19:43 
this can be done with javascript
use,
function ChkFunc()
{

var chk = document.getElementById("<%=CheckBox1.ClientID%>");
var txtbox = document.getElementById("<%=TextBox1.ClientID%>");
if (chk.checked) {
txtbox.style.display = "block";
}
else {
txtbox.style.display = "none";
}
return;

}
in code behind,use

CheckBox1.Attributes.Add("onClick", "return ChkFunc();");

to make the textbox invisible on load, cal this javascript function in page load as well
dont use TextBox1.Visible=false in page load,then this script gives error.
Hope it helps u. Smile | :)
GeneralRe: How to display a textbox when checkbox is checked in C# Asp.net Pin
Shane Cavin30-Apr-09 3:42
Shane Cavin30-Apr-09 3:42 
Questionhow to convert string into code? Pin
rachelicohen29-Apr-09 7:24
rachelicohen29-Apr-09 7:24 
AnswerRe: how to convert string into code? Pin
Henry Minute29-Apr-09 7:34
Henry Minute29-Apr-09 7:34 
GeneralRe: how to convert string into code? Pin
rachelicohen29-Apr-09 7:55
rachelicohen29-Apr-09 7:55 
RantRe: how to convert string into code? Pin
Rolando CC29-Apr-09 7:41
professionalRolando CC29-Apr-09 7:41 
AnswerRe: how to convert string into code? Pin
Xmen Real 29-Apr-09 8:27
professional Xmen Real 29-Apr-09 8:27 
GeneralRe: how to convert string into code? Pin
Luc Pattyn29-Apr-09 9:23
sitebuilderLuc Pattyn29-Apr-09 9:23 
GeneralRe: how to convert string into code? Pin
Giorgi Dalakishvili29-Apr-09 9:37
mentorGiorgi Dalakishvili29-Apr-09 9:37 
QuestionMultiple tables from a single DB [modified] Pin
Star0929-Apr-09 6:41
Star0929-Apr-09 6:41 
AnswerRe: Multiple tables from a single DB Pin
Rolando CC29-Apr-09 6:51
professionalRolando CC29-Apr-09 6:51 
GeneralRe: Multiple tables from a single DB Pin
Star0929-Apr-09 6:52
Star0929-Apr-09 6:52 
GeneralRe: Multiple tables from a single DB Pin
Rolando CC29-Apr-09 7:18
professionalRolando CC29-Apr-09 7:18 
GeneralRe: Multiple tables from a single DB Pin
Star0929-Apr-09 7:25
Star0929-Apr-09 7:25 
GeneralRe: Multiple tables from a single DB Pin
Rolando CC29-Apr-09 7:31
professionalRolando CC29-Apr-09 7:31 
QuestionHow to return a sorted object collection to a List<t>?</t> Pin
Goalie3529-Apr-09 6:37
Goalie3529-Apr-09 6:37 
AnswerRe: How to return a sorted object collection to a List? Pin
Henry Minute29-Apr-09 8:27
Henry Minute29-Apr-09 8:27 
Questionneed code for performing hte following operaiton in c| Pin
raviraazk29-Apr-09 6:25
raviraazk29-Apr-09 6:25 

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.