controls

Java sound: what's the persistence of set controls ?

Hiya - still @ the design stages of an app, and was wondering about the following with regards to Lines of type 'Port': do the values entered last once the port is closed (it seems that port controls are only accessible if I open the port before asking for the port's controls)? do the values entered impact only my applications access t...

Where can I find a photo browser or carousel control for Delphi?

Are there any good image, photo browser or carousel controls for Delphi? I would prefer something free if available. ...

ASP.NET: generate property value when adding control to page

Context: ASP.NET 3.5 / C# Hi, I created a user control public partial class MyControl : UserControl { // EDIT: example first used "UniqueId" as property name, which was wrong. public Guid MyId { get; set; } // ... } and this example usage <uc1:MyControl ID="myControl" MyId="443CBF34-F75F-11DD-BE2F-68C555D89123...

Dynamic WinForm aka questionnaire

I am in the process of converting a ASP.Net Web App to a C# WinForm App. I am struggling converting a specific page. This page is a questionnaire where each answer(usually rdo) determines what the next question will be. I originally had thought to just have all questions displayed and set the read-only property accordingly. Unfortu...

IE hosted windows control with dependent assemblies

I am working with a windows forms user control that needs to be hosted in Internet Explorer. Info about the technique I am trying to duplicate can be found here and here. However, the control fails to load in the browser because it relies on multiple other dependant dll’s. Is there a way to get the dependent assemblies to be downloade...

Looking for a DataGridView that allows grouping

Basically I'm looking for a control that allows for grouping in a DataGridView control that can also be editted (I.E. somthing like DataGridView and TreeView into a single control). Thanks in advance. ...

asp.net: Prevent Generating Server Control Ids

The Problem When using asp.net server controls id attributes such as the following are automatically generated. <img id="ctl00_body_ULRepeater_ctl01_LIRepeater_ctl00_PartImg" src="img.png" /> While I'm not averse to id attributes in general, I try to stay away from using these unnecessarily verbose types of names and use concise, des...

How to declare a variable/param of type "Control implementing interface ISomething"?

I wish to declare a variable in such a way as it can be assigned only values which derive from Control and also implement the ISomething interface. I intend to add the ISomething interface to derivatives of controls. I would like to derive SpecialTextBox and SpecialDatePicker From TextBox and DatePicker and implement the ISomething in...

Telerik RADGrid - most efficient use

Do you typically use the designer or do everything in the ASPX? Are the resources you've found particularly helpful to come up to speed quickly on how to use this control? I've noticed the intellisense comments for this control are minimal. I'm continuing to browse the documentation on Telerik's web site, I'm wondering if there are an...

ASP.NET Multiple controls with the same ID 'x' were found. FindControl

Hey Guys, Getting the following error Multiple controls with the same ID 'ltlItemCode' were found. FindControl requires that controls have unique IDs. This Error does not happen on page loads but when I change the value of a drop down which has AutoPostBack="true". Code is `//Number of Services numberofServices = Int32.Pa...

How do I set the background color of a PropertySheet control?

I want a custom backgroud color on my PropertySheet based wizard. I can easily set the individual page background colours of the prop sheet pages, but there remains a border around each page in the client area of the overall wizard window with a different background color. I can change the overall wizard background color by handling the...

Best PDF 3rd party toolkit

Hey anyone know the best pdf toolkit for the following requirements; Need to be able to convert HTML to PDF (including stylesheet) Build up PDF ie, add text add checkbox etc etc Needs to be able to run asp.net context Needs to be able to run in desktop context I know there appears to be loads out there but just thought someone could ...

HowTo write a recursive Custom Control in WinForms .NET

I am attempting to write a 'User Control' in WinForms .NET (not ASP.NET). The control is relatively simple. It will contain a label, a button, and a DataGridView. However, the control needs to be able to instantiate itself, i.e. when the user clicks the button (of the parent control) at least 1 nested (children) control of the same ty...

Examples of Wizard controls

I'm creating a Wizard control (in Flex) and wanted to look at some examples of good Wizard controls in .NET, Java or other languages. I'm especially interested in situations where next/prev steps are determined by the input of the current step. For instance, choosing one of several options in the start screen will lead you to different ...

Silverlight : Implementing Images

I just created a puppet in Microsoft Blend consisting of imageboxes that are displaying a dummy image(Which is a white box). In blend it shows the images but in visual studio (and when running the application) the images aren't showing. This is a snippet of the code I am using <Image Source="/Images/BodyParts/dummy.jpg" Height="10" Wid...

C#: Activate a TextBox when user starts typing

I want to activate a search textbox when the user starts to type something (even if the textbox isnt focused right then). I have come as far as setting KeyPreview on the form to true. Then in the KeyDown event handler, I have this: if(!searchTextBox.Focused) { searchTextBox.Focus(); } This almost works. The textbox is focused, but...

ASP.NET Controls and Update Panels

I am creating a series of client side component controls on the fly that are nested inside a update panel. The first time I create the controls, everything works as desired, however, when i trigger an update on the update panel and it does a partial postback the controls come back with several javascript errors describing how the contro...

Is there a JAWS-friendly date picker for ASP.NET?

Does anyone know of an ASP.NET date picker control that works well with JAWS? Barring that, do you have any tips for making the existing ASP.NET date picker control easier to use for JAWS users? ...

Why is the asp.net dropdown list button color tied to the windows color?

The ASP.NET dropdownlist control has an arrow that you can click to drop the list down, that color of the arrow is tied to the users windows color scheme. This is not convenient for me and I'll need a workaround. However, I'm wondering if anyone knows (or has a guess) the strategy behind making that dropdown arrow tie to the system col...

WinForms Events for Inheriting Controls for UI Style

Follow up to this question: http://stackoverflow.com/questions/553518/winforms-style-ui-look-and-feel-tips So I have created my "base controls" from which other controls inherit from. For testing, I am trying to change one of the base label's font. But it is not propagating to the controls that inherit from it. On one of the forms, I c...