Skip to main content

All Questions

Tagged with
24 votes
3 answers
57k views

Panel visible=true has no effect

I have a Panel that I'm setting visible=true explicitly. The debugger passes over that line and visible still evaluates to False on the next line. Obviously as a result, the Panel is not shown. How is ...
tsilb's user avatar
  • 8,027
19 votes
4 answers
124k views

How can I make visible an invisible control with jquery? (hide and show not work)

How can I change the visibility of a control with jQuery? I have a control that its visible property to false (not css). When I used show() function for it nothing happened, it seems that hide() and ...
SilverLight's user avatar
  • 20.2k
7 votes
3 answers
30k views

ASP.NET control with visible=false cannot be used in javascript?

I have an ASP.NET text control "FromDate" whose visible property is set to false, but I wanted a client side javascript to be able to toggle the visibility property using CSS properties element1....
Nevin Mathai's user avatar
  • 2,346
7 votes
1 answer
7k views

DetailsView is not visible when there is no data in DataSource

What to do to show DetailsView even when there is no data in underlying datasource? The problem is that when DetailsView is not visible, the command buttons are also not visible. So I can not insert ...
Wodzu's user avatar
  • 6,959
6 votes
3 answers
38k views

ASP.NET control with CSS visibility:hidden, not being shown on Control.Visible = true

I have a few labels on my page with a class of 'error', the rule for .error is: .error { color:Red; visibility:hidden } The markup for the labels is: <asp:Label ID="lblError" runat="...
Fermin's user avatar
  • 35.8k
6 votes
3 answers
17k views

Make GridView footer visible when there is no data bound

how to show footer when there is no data in gridview for inserting data from footer.
user avatar
5 votes
1 answer
8k views

Gridview's footer is not visible

I have put some controls in Gridview's footer template, but at run time they are not visible why
Student's user avatar
  • 3,499
4 votes
3 answers
4k views

How to change image visibility in JavaScript?

I tried this, with no success : JS : function Hide() { alert('Hide'); document.getElementById('I').style.visibility = 'none'; } function show() { alert('Show'); document....
Sportalcraft's user avatar
3 votes
4 answers
5k views

Change an object visibility with javascript using a checkbox?

i'm really sorry if this question have been asked before but I couldn't find it. Working on a ASP.NET/C# web application. i am creating a label in the code behind and adding it to the page (all ...
Y2theZ's user avatar
  • 10.3k
3 votes
2 answers
570 views

What is the best way to use links and anchors to toggle visibility in ASP.NET?

I have a page which is used to display numerous forms for the user to fill out and get reports generated. Each of these forms is inside it's own ASP:Panel control so that I can toggle the visibility ...
TheTXI's user avatar
  • 37.8k
2 votes
2 answers
2k views

my invisible dropdownlist does not become visible again at visual studio

I am using Visual Studio 2010, and I created a site (.aspx). I have 2 radiobuttons, and a DropDownList. I want to have an invisible dropdownlist and whenever I click on the one radiobutton then the ...
celticharp's user avatar
2 votes
2 answers
12k views

JavaScript - control.style.display = "none"; and control.style.display = "";?

When I created a label I set it's display to none in the designer. <asp:Label ID="label1" runat="server" style="display:none;" Text="LABEL" asp:Label> I use javascript to turn the label ...
Johnrad's user avatar
  • 2,645
2 votes
3 answers
2k views

How can I hide controls (not remove them from the DOM) on the server side?

I have a div with runat="server" set. I have an ASP.NET button control in my page. When this button is clicked, I want to hide the div. Is there any other option that setting visible="false"? I ...
Shyju's user avatar
  • 217k
2 votes
1 answer
324 views

ASP.NET object visibility

I have a webform with a button and a textbox. I want to set the textbox, in design time to Visible = false, and then in the onclick event of the button in the client side using javascript, I want to ...
Itay.B's user avatar
  • 4,039
2 votes
2 answers
7k views

toggle div visibility with a checkbox list

I have a web application(ASP.NET2.0 C#). Within it, I have a div that contains a checkbox list and a button. I want to toggle the div viewing, so I got some javascript code online to help me. Heres ...
zohair's user avatar
  • 2,369

15 30 50 per page
1
2 3 4 5