blah blah blah is here! blah blah » Close

0
votes
1 answers

GetControlByName problem

Hey, I wrote a GetControlByName function and i'm trying to use it but it says the c variable has no Name Property. I don't know why. it's weird. by what i saw on other places on the net it should work. here is the function: Control GetC ...

0
votes
1 answers

VS Designer Problems with Custom WPF Control

I created a very simple custom WPF control in Visual Studio. It's basically a GroupBox, but with a few additional properties and it subscribes two events (GroupBox_Loaded and a custom event). Anyhow, the problem occurs when I use the ...

0
votes
0 answers

Chart using C# and Visual Studio 2010.

Hi everybody, I've been developed a software that needs to manipulate data on line chart. I can't get to enable zoom option and data selection using mouse. If anybody know something about that, thanks in advance. Denny Garcia Brazil

0
votes
1 answers

flashing red sign

AK01
15

Hi! I remember couple years ago I used some kind of component which was validating user input. It looked like a red sign that appeared next to a textbox (or other control) if user did something wrong and I did want to show him this. Damn, I ...

0
votes
0 answers

Grabbing Bitmap image of a Control

I have a control. It happens to be a webBrowser control, but the issue seems to apply to ANY control. I want to copy the image of that control (the "source") and transfer it into a PictureBox control (the "target"). I ca ...

0
votes
0 answers

Mouse Events being stolen - how do I fix without using a global hook?

I have many different controls, and they are stealing mouse events from each other. E.g.: when I press down on the mouse while on one control (and I have a MouseDown event in it), then no other controls will receive MouseEnter, MouseDown, o ...

0
votes
0 answers

change content in a master page from a user control

Hi all I have a master page at the top of the page I have a user control which is a simple search box also on the master page I have a ContentPlaceHolder with an id I have so far ContentPlaceHolder mpContentPlaceHolder; mpConte ...

0
votes
1 answers

ADO.NET displaying items in DropDown list control

Hi, I am using MS SQL for database. I have made appropriate connection string and able to connect to the database. I have created an EMPLOYEE table and in my sql command I have issued: SELECT First_Name, Last_Name FROM EMPLOYEE. Us ...

1
votes
1 answers

how to use a for each to determine whether each list item is checked

[code]List<string> checks = new ListBox<string>(); foreach (Control c in this.panAll.Controls) { if (c is ListItem) { if (((ListItem)c).???? == checked))) { checks.add(&quo ...

1
votes
0 answers

Login control asp.net

btab
30

Hello I'm using Visual Studio 2008 (webdeveloper express), and after watching some tutorial videos on asp.net about the login control which were made in same application I use I'm now a bit confused. In the tutorial when they create a ...

1
votes
1 answers

foreach on Controls (RadioButtonList) on a .ascx page.

I'm trying to cycle through all of my RadioButtonLists and store their selected values into a list. [code] List<string> responseList = new List<string>(); foreach (Control c in this.Controls) { if (c is R ...

0
votes
1 answers

control webBrowser1

hello i have HTML code : [code] <p> Your Name: <input type="text" name="name0" value="" size="37" /></p> [/code] and i want to wright my name in the textbox name name0 fo ...

1
votes
6 answers

C# WinForms: Embed NumericUpDown control inside a ListView

Would it be easier if I change my ListBox to ListView? In another words, I want to embedded NumericUpDown control inside a ListView such that the 3rd column (Quantity) of the ListView is controlled by the NumericUpDown. The item for Quan ...

1
votes
1 answers

Controlling and Delimiting Inputs

Hi, I am looking for ways in console to control user input according to the following examples: a. a form where the user is requested to enter a name and I want the user from entering any numeric and to block the input as soon as a ...

0
votes
0 answers

database like forms in Console

Hi, Are there any quick way(s) to create a database form in Console? That is I have marks 1 to marks 20 to be filled with digits of the range 0 to 100. I want the user to be able to use direction keys to move from one form to another an ...

Feedback