All Questions
Tagged with visibility .net
45
questions
2
votes
1
answer
2k
views
Asp net validation error message is never display
I'm using a RequiredFieldValidator to check a field as follow :
<asp:TextBox runat="server" ID="field" Text=""></asp:TextBox>
<asp:RequiredFieldValidator ID="fieldValidator" runat="...
9
votes
3
answers
5k
views
Overriding an internal abstract method in another assembly
Im currently working on a c# project that uses another .net library. This library does (amongst other things) parse a sequence into a tree. All items are of some type that inherits from the abstract ...
5
votes
2
answers
604
views
Are .Net POCO's Threadsafe?
This question might seem a bit odd but has to do with possible visibility issues. The question is inspired by a case in the Java programming language (>jdk5), consider:
public class InmutableValue {
...
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
1
vote
2
answers
162
views
How to hide Web Reference from another project
I have two Visual Studio 2008 projects which are in the same solution.
How can I add a Web Reference to project A so that project B doesn't see it?
Project A needs web reference to WebService1
...
5
votes
1
answer
229
views
How to tell whether a class/method is accessible using reflection?
I use a Dynamic Assembly to create derived classes at run time. How can I tell, using reflection, whether the base class and individual methods in the base class can be used/called from within the ...
4
votes
1
answer
5k
views
Visibility.Collapse does not work in WPF
Visibility.Collapse doesnt work in my case. below is the XAML. If I try to hide the lblCountry and cmbCountry a white space is shown between zip and practice fields. There is no option to hide an ...
0
votes
1
answer
82
views
Visibility of Class field-data of Mouse Clicked ImageButton located within WrapPanel
I am attempting to obtain class-data associated with a mouse-clicked ImageButton; which ImageButton is located within a Scollviewer wrapped WrapPanel and filled with numerous other ImageButtons. The ...
0
votes
2
answers
699
views
on button click the visibility of a column in listview should set to false
how can a visibility of a particular column can set to false in a listview..that is the column should exists in the client site but in hidden form...
what is the option other than setting the width to ...
12
votes
4
answers
9k
views
How can I determine programmatically whether the Windows taskbar is hidden or not?
I need to know whether the Windows taskbar is hidden or not. I believe there is no .NET method to do this, and also I have come across a lot of "how to hide and show the taskbar" samples, but I haven'...
72
votes
4
answers
60k
views
In WPF, how can I determine whether a control is visible to the user?
I'm displaying a very big tree with a lot of items in it. Each of these items shows information to the user through its associated UserControl control, and this information has to be updated every 250 ...
1
vote
3
answers
1k
views
Difference between JS style.display and .NET visible
I have seen some instances where people will say you have to use JS .style.display = 'none'; and that .NET .Visible = false will not work.
What is the difference between the two and why would ...
24
votes
17
answers
31k
views
C#/.NET - WinForms - Instantiate a Form without showing it
I am changing the Visibility of a Form to false during the load event AND the form still shows itself. What is the right event to tie this.Visible = false; to? I'd like to instantiate the Form1 ...
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.
171
votes
18
answers
125k
views
How do I invert BooleanToVisibilityConverter?
I'm using a BooleanToVisibilityConverter in WPF to bind the Visibility property of a control to a Boolean. This works fine, but I'd like one of the controls to hide if the boolean is true, and show if ...