controls

Time only pickers for .NET WinForms?

There are tons of good date pickers out there for Windows forms, but I have yet to find any good time only pickers. Any suggestions? EDIT I guess I should be more clear. I am talking about a nicer looking time picker. We use a commercial control suite, and the default time picker looks out of place because it is so plain. ...

How to change the format of specified lines in a RichTextBox

I have a winforms RichTextBox containing lots of lines of text (eg 2 MB text files), and would like to programmatically change the formatting of specified lines, eg highlighting them. How can I address the lines, rather than the characters? Is a RichTextBox even the best control for this sort of thing, or is there another alternative? I...

How to access the TextBox in a SL3 AutoCompleteBox

I'd like to call the Select function on the TextBox used by the SL3 AutoCompleteBox. What's a good way to access this object? ...

place multiple formviews in the same html table

I have two formview objects on a page next to each other (with different data sources), and they generate html table rows for me. Each formview when rendered places fields in thier own html table, however, and I'd much rather have them in one html table. Is there any way to tell a FormView not to encapsulate the rendered contents insid...

ASP.NET MVC Rich Text Editor

Goal The goal of this wiki entry is to create a comprehensive list of available rich text editors for err... traditional websites. By traditional we mean anything that isn't asp.net with server controls and viewstate. Open source and commercial options are both viable for discussion. Why This Wiki I have found bits and pieces of use...

Good way to handle missing AssociatedControlID

I have a medium sized project with a lot of pages. One of the things that I've noticed is that we have a lot of labels that have AssociatedControlID pointing to controls that are not visible. The target controls are set visible when a user has edit permissions, but not normally. This means that the html generated in not valid, which we'...

WPF snapping controls

Hello everyone, my current free-time project, in order to dive into WPF MVVM, is a "digital" copy of an old puzzle I used to play a lot in my childhood. It basically is a simple puzzle where one has to fill a given space with different kind of pieces so the whole space is filled. But with the extra twist of being in hexagonal space. ...

Right click menu under winforms

I want to make a right click menu for my winforms app. It will have the same two things in it no matter where it pops up. A little hunting and pecking leads me to the conclusion that winforsm either doesn't support this in a trivial way or has hidden it under some name I havn't guessed yet. I think I can make it work with the Click even ...

Syncfusion Gridlist control

HI, using Syncfusions Gridlist control: The user should be able to select various rows (1 or many), then I need a way to programmatically determine which rows are selected. I will be using a context menu on the grid, so I need to find which ones are selected at that point. Any help with the above would be great ...

Control SWFLoader Volume

Hi, I am doing a elearning project in flex and it consist in a secuence of swf files and a player that load it based in a xml file, the problem is all swf files contents narrations and I need to control the volume of narrations from the player interface, anybody know how I can control the volume of a swf file from flex?? Thanks for you...

Is there anyway to assign an index to a control in the WinForms or WPF designer?

I remember VB5 (and all the horrors in it), but one thing I liked about it was that I could set an index on a control in the properties window in the designer. Are there any way to do something like this in WinForms, the WPF designer or XAML ? ...

Using FindVCLWindow to call WinHelp32 (WinXP Pro SP3 32bit) in Delphi

what is wrong there? procedure TForm1.VCLHelpClick(Sender: TObject); var Ctrl : TWinControl; begin Ctrl := FindVCLWindow(Mouse.CursorPos); if Ctrl <> nil then if Form2.Cursor = crHelp then begin if Ctrl = CreatorEdit then Application.HelpCommand(HELP_CONTEXT,001); if Ctrl = EditorEdit then Application.HelpCommand(HELP_CONTEXT...

ListBox Focused Item

Hello, this is a WinForms question. In a ListBox with SelectionMode = MultiSimple, how can I get the currently focused item? Note, I don't want to get the SelectedItem or SelectedItems, but the item which currently have the dash lines around, something like ListView.FocusedItem. ...

How do you manage the order of firing events in asp.net?

The question seems to be trivial, but i didn't found an answer with google. If I have multiple independent controls in a web-form, e.g. DropDownLists and grid, and I need to use postback information from one eventhandler in another eventhandler, therefore i need to make it fire properly one after aonther. I see a lot of indirect ways ...

How to send info from one postback handler to another?

I have a third-party CustomControl which requires some info for databinding or anything else what it happen in a postback event handler. Trying to send this info via, say, dropDownList i face that this dropdownlist postback event handler isn't firing before CustomControlEventHandler, as it happens in ASP.Net. What is usual workaround? ...

JQuery dynamic ID control property

So, I have JQuery dynamically generating controls. The input controls are called EnterLink + number of controls generated. On generation of a new input control I want to change the previously created input so it is disabled. Right now my code looks as so, it does not work. if (rowCount > 0) { var last = rowCount - 1;...

Slowdown (Scrollbar or UI in general) in Silverlight when there are many controls

I'm looking for some insight into the workings of Silverlight - at this time I suspect I need to know more about how UI event dispatching and control repainting are done to work out a solution or compromise for the following problem: I have a large number of elements (of which I am representing as controls) on screen. Numerically it's a...

Unable to use Winforms control because of unresolved dependencies

Problem: I have a WinForms control ('MyControl') with a dependency on myCli.dll, a dll written in C++ CLI. This component is third party (written by another team). myCli.dll has a dependency on myLibrary.dll which is written by yet another party. The control lives in myAssembly.dll, which is a C# controls and resources library. I had...

WinForms - Activity Indicator

In a WinForms application, I want to provide visual feedback that a looping background procedure is ongoing (It isn't something that is initiated by the user or blocks them from using the UI) Edit - It is going on all the time, looped. The user doesn't need to know when an iteration starts or finishes. I'm thinking some kind of small, ...

Issue adding multiple controls to placeholder returned by function

I have a function that creates multiple controls. Mainly input fields and an imagebutton with dynamic data for an Amazon payment button. How can I add these controls to a placeholder so they are rendered on the page? I tried creating a placeholder inside the function, adding controls and returning the placeholder. plhCart = returned...