hi
I have a web page.In this page i have a listBox and a butto i want to when i clicked on the ListBox my button is hide.
then i write bellow code
ListBox_SelectedIndexChanged(object sender, EventArgs e)
{button1.visible=false;}
when i trace this code false visibilty assign to button1 rightly.
please say me what's mistake and how can i correct this.tnx a lot
Loading
Dorababu MekaPosted Sep 4, 2010, 2:13 AM
bahare gPosted Sep 4, 2010, 2:10 AM
if any item in listBox has informtion button1 must be button1.visible=true else button1.visible=false
i can show or hide any items in page in code-behind but all buttons in my page can't hide or show in code-behind.I trace my codes and All of them don't have error but visiblty can't work true.
Dorababu MekaPosted Sep 4, 2010, 1:19 AM