Skip to main content

All Questions

Tagged with
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="...
MrLuje's user avatar
  • 637
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 ...
Philip Daubmeier's user avatar
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 { ...
M Platvoet's user avatar
  • 1,654
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
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 ...
Marc's user avatar
  • 9,202
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 ...
Qwertie's user avatar
  • 16.9k
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 ...
nitin's user avatar
  • 41
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 ...
Bill's user avatar
  • 345
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 ...
zoya's user avatar
  • 473
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'...
user246392's user avatar
  • 2,863
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 ...
Trap's user avatar
  • 12.3k
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 ...
Splashlin's user avatar
  • 7,485
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 ...
BuddyJoe's user avatar
  • 70.7k
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
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 ...
user avatar

15 30 50 per page
1 2
3