All Questions
Tagged with visibility asp.net
75
questions
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"&...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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, ...
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....
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="...
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 ...
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 (...
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.
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 ...
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 ...