Skip to main content

All Questions

Tagged with
1 vote
3 answers
4k views

Show and hide labels with assosicatedControls and their controls

I want to show and hide a label and its control. I can do this in c# in the code behind. But, I can only show/hide the control. Any ideas? <asp:label AssociatedControlID="thisLabel" runat="server"&...
Tom's user avatar
  • 1,057
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
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
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
1 vote
2 answers
827 views

ASP.NET - server side control & javascript interaction

on a page with textbox control, lets say this textbox is disabled on server side page load. What would happen if a javascript tries to set visibility of the textbox to false ? Edit: Can the textbox ...
SoftwareGeek's user avatar
  • 15.6k
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
1 vote
2 answers
5k views

Controls' visibility property, modified by JavaScript, is ignored after postback

My javascript code modifies some properties, visibility included. After postback, some properties stuck, others are "forgotten". Here I try to change the Text property of a textbox and the visibility ...
PricklyMaster's user avatar
1 vote
2 answers
2k views

Does a custom control (ascx) get rendered regardless of whether visibility property is true or false

Does a custom control (ascx) get rendered regardless of whether visibility property is true or false. It seems that when some controls have their visibility set to false, they do not get rendered, ...
Matt's user avatar
  • 26.6k
0 votes
2 answers
96 views

Constrain the consumption of a web service to certain apps

Is there a way I can configure my asp.net web service to work with only some applications? In other words, I am saying "only these applications have access to this web service and can therefore use it....
deostroll's user avatar
  • 11.8k
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
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
1 vote
2 answers
7k views

ASP.NET C# OnMouseOver Event to Make ListBox Appear and Disappear

I have a single webform that has a listbox and a button. When the onmousover event fires the listbox will appear; however on page load, the listbox should not be visible. I have the following code (...
user avatar
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
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
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

15 30 50 per page
1 2 3 4
5