How to get a reference to a control from its' string name in C#
How to get a reference to a control from its' string name in C#? ...
How to get a reference to a control from its' string name in C#? ...
I'm in need of a WPF layer control that does the following 1) Have multiple layers of content on top of each other. 2) Ability to turn layers on/off at design and runtime, ie we need a UI maybe something like a tabbed control 3) Move layers up/down the stack 4) Change opacity for layers Now I know all of the above is possible in Xam...
A bit new with WPF...It seems like not matter what I change with horizontal and vertical alignment, WPF has a mind of its own when resizing my controls in design time. I created a new Window, placed a couple of buttons and text boxes and whenever i change the size of the window all the controls get resized. Is there a way to lock it do...
I'm writing a custom control derived from System.Windows.Forms.Control. The control is using the Control.KeyDown event, to watch keystrokes: I should handle some keystrokes (for example <Ctrl>-K) as hotkeys, which cause me to launch a dialog box. If I launch the dialog from my onKeyDown event handler, the dialog is displayed before I s...
Apparently some vendors (like Telerik) are working on versions of their controls that do not rely on postback behavior to work. As in the latest release of Asp.net MVC RC also code behind files tend to fade away for views, what would the best way for vendors to encapsulate UI rendering (control tags, html helpers) and control behavior...
I've recently started working with RoR for some projects and I quite like the framework - however coming from an ASP.NET background I'm quite fond of the idea of being able to purchase & drop in reusable components/control such as those from telerik, without having to 'reinvent'. I suppose it would be possible to maybe create my own usi...
Hai, I tried to create a ListViewControl (tile mode) and added a ListViewItem. I created it like this, ListViewItem aFooItem = new ListViewItem("foo"); listView1.Items.Add(aFooItem); //Adding the ListViewItem to the ListViewControl Now I ran the application and tried to debug the first line. I found that the aFooItem's subitems cou...
I've got a wizard control that databound controls on each step. I can't databind them all at once because they are dependent on the previous step. So, essentially what I've got at each step is a save to the database of the previous step, and an initialization of the current step. Are there any recommendations as to how best to organize ...
I've got a really weird problem and i'm wondering if it's a visual's bug or if i'm doing something wrong. Here's a simple code of an overriden Panel class: public class MyPanel : Panel { private TableLayoutPanel table = new TableLayoutPanel(); public MyPanel() { this.Controls.Add(table); ...
WPF document viewing controls that support annotations include FlowDocumentReader and FlowDocumentScrollViewer, as well as controls derived from DocumentViewerBase such as DocumentViewer and FlowDocumentPageViewer. The in-built Annotations support for Document based controls is awesome in WPF I was wondering how would it be possible to...
What Literal control is used for in asp.net? and What is the difference between them and Label control? ...
I am a beginning ASP.NET programmer. I am just wondering if there is any built-in control that is close to an application bar at the bottom of Facebook, or is such a function only available through the use of JavaScript/AJAX? ...
Hi all, I have a control derived from a CWnd object that has its custom implemented tooltip system . The tooltip is implemented using a CDialog and works fine but I have a problem to know when I have to hide it. The tooltip shows up when the mouse hover over the control (WM_MOUSEHOVER) and it's hidden when the mouse leaves the control ...
I have a large table and loading the DataGridView is very slow. The table is going to get bigger. Is there a way to optimize the loading? Is there a good replacement control? (We will purchase one if need be.) Is there an option I haven't thought to ask? ...
I'm using VB.NET I need same control (ListBox) to be displayed on 2 different tabs. Is it mandatory to create 2 different ListBox instances? ...
I am building a c# winform app and the framework I inherited uses UI Controls from this library LumiSoft These seem fine but aged and buggy. The previous developer preferred them for the smaller sizes they allowed. I recently discovered these controls for free as well: DevExpress These are much newer and more full featured. My questio...
See the title. This should be really easy, but i don't quite see how to actually do it. (Update) I'm not subclassing the control. Trying to trigger the event via Control.Size = Control.Size fails, since it does not trigger then even unless the new size is actually different. ...
Hi, I am trying to get a dynamically loaded LinkButton to fire a postback event, which I then handle. I have across Command, CommandName and CommandArgument - which looked real useful.. So I started messing with that, but currently cannot get to work as desired. The links are rendered within a table that is created on the fly, here is ...
I've already looked at this question, and I've already checked out the suggestions that were made there. My program creates and destroys a lot of UI controls (a lot of UI controls), and anything that makes controls hang around after they're "destroyed" will cause this problem. (Fun fact: if you don't set a ToolStrip control's Visible ...
Hi, i've created a simple solution with 2 projects. The 1st project (class library) contains a custom control called Container which draws itself with rounded corners. The 2nd project (windows forms) is a test application. If I add a Container instance to main Form in the 2nd project it shows the rounded corners nicely. Also when I run...