controls

WPF - What to do when a Dependency Property is another Control in the XAML

I'm hoping this will be my last question today. I'm in a hurry and google is not helping much (that or I'm searching the wrong places). I created some custom properties and behaviors so my RadioButtons can alter my labels Content and the mask of my TextBoxes. I could pass a String as a property, but how do I pass another control as a p...

Control elements library

Hello all, Does anyone know a controls library, which meets the following requirements: Open source; Full modern OSs functionality (buttons, checkboxes, radiobuttons, scroll bars, progress bars, sliders, tabs, menus, lists, trees); Handleless (controls shouldn't be derived from OS's window entity); Shouldn't hardcode appearance (neith...

Get a Handle IntPtr from a DataGridViewTextBoxCell?

I have a DataGridView with a column of text box cells that need to have watermark text. I also have a static class that uses DLLImport to add a watermark to a TextBox using SendMessage with a IntPtr hWnd as one of parameters, like this: public static void SetWatermark(TextBox textBox, string watermarkText) { SendMessage(text...

Why are there less Telerik ASP.NET MVC controls than ASP.NET AJAX?

ASP.NET MVC Controls - Around 9 controls. ASP.NET AJAX Controls - Around 70+ controls. I've read somewhere that you cannot use AJAX controls inside ASP.NET MVC web applications. Does that mean ASP.NET MVC is less productive? ...

Ruby flow control...

I can't find any useful resources online that breaks down Ruby's different flow-control options. Let's assume that I'm iterating over an array within in a method: def a_method things.each do |t| # control options? end end What are my different flow-control options here? How do they differ? retry return break next redo ...

creating an Info-box like control in .NET 2

Hi, i want to create an info box in .net 2 (attached is an image with an example) I wanted to use a panel, but I cannot change the color of its border. is it possible to change this property? if so, how? Thanks, Shuky ...

How do you create a control during runtime on iOS

Is there a way to create a control during runtime? I tried something like UIButton* tempButton = [[UIButton alloc] initWithFrame:CGRectMake(120, 160, 40, 40)]; [self.view insertSubview:tempButton atIndex:0]; [tempButton release]; it does not work ...

Time Entry/picker control in WPF

Is there any time entry/picker control Available in WPF like Date picker? Thanks ...

UI Controls library / framework for custom controls

We have web application that is almost 100% web service driven. We create & host oem versions of this web app for various vendors. Presently we are using asp.net & lots of user controls for the UI. I am looking for solutions to providing the oem builds. Presently we turn features on & off server side, all configured in a database. I...

ASP.NET controls added dynamically not visible from the code behind.

I'm adding a dynamically built set of checkboxes to an asp.net page from the code behind with something like this in a recursive fashion: pnlPageAccessList.Controls.Add(myCheckboxControl); The controls show up fine on the page, but they don't show up when I view source, nor can I access them from the code behind. If I add the controls...

How to relate controls and loop through the values

I have server controls that I am dynamically adding to a page and assigning a unique ID based on the index such as control.id = "mytextbox" + i What I am trying to do is have a related control for example each textbox would also have a related dropdown menu so users can enter a request in the textbox and select a quantity in the dro...

objective-c ichat chat program control

Is it possible to have an objective-c application send and receive ichat messages without ichat? NOT with applescript. I also want to do this to skype, mail, ect. Is any of this possible? I need this to be in objective-c, not applescript, so it all needs to be within objective-c. If so, can someone post examples, websites, additional in...

asp.net control for displaying data in a grid

Hi all, I'm attempting to build a page that displays the same set of information of different "items" in a grid or table. It's akin to a shopping page that displays products in for e.g. a 4 by 3 table. I came across datagrid and gridview but they display grouped information according to columns and each row representing one item only. ...

Render User Control Dynamically using Source Code

I have a user control called "MyLabel". When combined with a tagPrefix in my web.config, I would add the source code to an aspx page as follows: <sr:MyLabel ID="lblCopyright" runat="server" ResourceKey="Copyright" /> Now, instead of entering this in the aspx, I would like to keep this code string in the database, and in the codebehin...

EXE from Delphi 2006 : Buttons/Checkbox/Radios not visible until mouse is hovered (on Vista/Win7)

Under Windows Vista and Win7 there is a problem with applications created by Delphi (we use Delphi 2006, but it seems other versions have the same problem) which contain the XP manifest. All descendants of TButtonControl (TButton, TCheckBox, TRadioButton, but not TBitBtn) are not visible after a form is initially shown. The controls app...

WinForms: Locating the relative position of two controls

I'm writing a VB.Net WinForms application that has multiple data girds on any given form. On one such form, the data grids are loaded into split containers which in turn are located on a tab control. The load method for each data grid is threaded so that an animated "Loading" form can be shown. I would like to position the new loading...

Avoiding Infinite Loops While Traversing Children Controls

I'm writing a simple extension method to perform an action on a control and all of its children, and I'm wondering if I have to worry about running into the same control twice. Safe: public static void Traverse(this Control control, Action<Control> action) { Traverse(control, action, new HashSet<control>()); } private static void ...

How can I pass controls as reference in Bada?

In the big picture I want to create a frame based application in Bada that has a single UI control - a label. So far so good, but I want it to display a number of my choosing and decrement it repeatedly every X seconds. The threading is fine (I think), but I can't pass the label pointer as a class variable. //MyTask.h //... result Con...

Custom Textarea Control/Component

I would like to create my own irregular shaped Text area control to be place on a webpage, which would be shaped in a sort of backwards L. Would this be possible to create in something such as adobe flash or silverlight? or is this not possible at all? I have tried searching for a few hours and have found nothing if anyone has any exper...

How to make a control with children without declaring the template tag?

I want to create a control just like a Panel. I want my control to accept some controls as childs without typing the template name, just like the Panel, as shown here: <asp:Panel runat="server"> My content <div>Content</div> </asp:Panel> I have controls with content inside without telling what is the ITemplate. I basically w...