Getting into the first serious WPF project. It seems like there are a lot of basic controls flat out missing. Specifically, I am looking for the Numeric UpDown control. Was there an out of band release that I missed? Really don't feel like writing my own control.
I do not want to use the WindowsFormHost and plop a WinForm ctl on i...
Hi
Trying to use a DataGridView like the old VB6 FlexGrid, and add the coloumns manually via addrow (built a Row containing TextCells) and my Coloums are all added (and display ok) but as soon as I try to add a row I get the message "Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bou...
I downloaded and installed the WPF Toolkit (which provides controls that could not be shipped in time with VS2008).
However, the DatePicker control does not look like its WinForms cousin.
First, the dropdown button is not a dropdown, but a small picture of the calendar. Secondly, the calendar opens to the right on the control rathe...
Title says it all:
If I am creating a custom ASP.NET control (or, I suppose, a Windows Forms control), how do I specify one or more Smart Tags for it, and the behavior that goes with it? I want to provide some rich designer support.
EDIT: Prefer C# code, but not necessary.
...
I have to create a website in asp.net with C#.
And the requirement is.. According to the user type ( like Admin, Manager, User) the Menu Should be different and it should change dynamically. I have done this before by creating different pages( for admin, manager, user) depending on the user but this time the controls should load dynamic...
Hey all. To be honest, I don't prefer MS Access as a relational database management system (RDBMS). Except, in the forms view part of Access, it had move-forward/jump-to-the-end and move-backward/jump-to-the-beginning buttons at the bottom right/left (respectively).
I was hoping to mimic that functionality in C# with my XML Editing F...
Hello -
I have created a custom control that gets highlighted when the mouse hovers over it. The custom control also has a checkbox. When the mouse goes over the checkbox, the highlighting of the custom control does not occur. I've tried using WS_EX_TRANSPARENT on the checkbox but it isn't working for me.
int cbStyle = GetWi...
I have a COM-visible method which looks something like the following:
Public Sub SomeMethod(someControl as Object)
On Error Goto ErrHandler
Dim someSpecificControl as SpecificControl
MsgBox TypeOf someControl is Control
MsgBox TypeOf someControl is SpecificControl
On Error Resume Next
Set someSpecificControl = someCon...
Consider that there is a ComboBox which is populated through its DataSource property. Each item in the ComboBox is a custom object and the ComboBox is set with a DisplayMember and ValueMember.
IList<CustomItem> aItems = new List<CustomItem>();
//CustomItem has Id and Value and is filled through its constructor
aItems.Add(1, "foo");
aIt...
My application's user interface needs to be built soon and the data being represented is chainable; most components have inputs and outputs and can be freely wired together as necessary. Yahoo Pipes is the style of interface I think I need but I'm having trouble finding something suitable for WinForms. TreeGX looks interesting but it on...
Hi,
In my code I need to loop through the controls in a GroupBox and process the control only if it a ComboBox. I am using the code:
foreach (System.Windows.Forms.Control grpbxChild in this.gpbx.Controls)
{
if (grpbxChild.GetType().Name.Trim() == "ComboBox")
{
// Process here
}
}
My question is: Instead of looping...
I have a field in my model - call it 'distance' - and I want to write a view that contains both a checkbox and a textbox.
If the checkbox is checked, the textbox becomes disabled and 'distance' gets the value 0 when the form is submitted.
If the checkbox is not checked, 'distance' gets whatever value is in the textbox when the form is...
I am trying to create a custom control that inherits from DropDownList.
What I need is to add a new property to a ListItem(within Item collection).
<cc1:MyDropDownList ID="MyDropDownList1" runat="server">
<asp:ListItem myProperty="true" text="sometext" ... />
</cc1: MyDropDownList>
How can I do that?
...
As Flex web applications do not have the mx.controls.HTML control (which is for AIR applications only), anyone know of a FOSS custom control that can near the functionality. I have checked the flex-iframe control, but it offers only viewing of HTML content and not manipulation as in the AIR control.
Thanks to all in advance.
...
Hi,
I've put together a simple form to highlight the concepts of dynamic forms. What I need to do is add a control to the page when the user clicks the "Add" button.
I have a simple counter at the moment that stores the amount of controls created, which is incremented when the button is clicked.
At first I thought it would be as simp...
I'm looking for a JavaScript control that is a Range Slider (dual knob) that:
does NOT use an existing JS framework (e.g. dojo, jquery, etc) - unless you can roll/create your own sub framework where I can compile in just the components I need.
works in all major browsers
An example a Range Slider is below, but of course this uses JQu...
Is it possible to programatically block users for accesing the context menu on files listed after showing an openfiledialog control that comes with the .net framework?
The intent is to block them from accessing "open" or "open with" and only allow them to pick a file from the list.
My only other idea is to build my own control instead ...
I am looking for a free control to display events in a to-scale-timeline.
I couldn't get TimeLine.NET to work.
Is there anything else I could try?
EDIT
Any flash or javascript solution would be fine as long as I can put data into it from a database.
...
I need a robust, user-friendly, professional-looking .NET WinForms IP address control for use in a project I'm working on. This control, at a minimum, should support IPv4 addressing and ideally would support IPv6 addressing as well. I would prefer a free control with C# source code, but don't mind paying for one.
I am using .NET 3.5 S...
I have an imagebrush of a soccer field as the page background and I want to be able create a line up by dragging players off the bench and positioning them on the field accordingly. I don't know what control to use for the background that allows the PlayerCard control to reside where it is dragged. Any help as to how to begin would be ...