I'm learning WPF, and seem to have found something a little odd, which I can't find the reason to anywhere I've searched.
I have a window with one checkbox on it called "chkTest". I have it set to be true by default.
The following code is what I don't understand. Basically I'm trying to set the "chkTest" control to a control I create...
Does anyone know how to show a asp:TreeView always expanded to the leaves? So if I have a 2-level tree, I want it to be expanded at all times. Is there a property on TreeView that does this or could you show the code snippet on how to do this?
Thank you very much!
Ray.
...
Perhaps this is a naive question. In my understanding, ASP.NET cannot work with ViewState and Postback which is fundamentals of ASP.NET forms. Is that correct?
If that's it, then all ASP.NET Web Controls depending on ViewState & Postback cannot be used in ASP.NET MVC, right?
...
We are evaluating options for a Gantt chart control (on Windows Forms) as opposed developing one on our own. What are the various Gantt Chart controls you have had experience with? Pros and cons?
Is it a viable idea to develop such a control from scratch (given that the control is not the primary product in this case)?
Update: Just bri...
This question is a result of what i noticed while trying to answer another question. And now im curious to know why " /> leads to a compile error, and not to a visible TextBox as i would have expected.
From what i have discovered so far, the <%= %> expressions are not translated to literal controls as i have always thought. But instead ...
My boss is looking for a .NET text control to build a custom editor on. Here’s what we need it to do:
Supports embedded tables, with easily editing (like Word tables).
Supports different text styles (font, size, color, background, etc).
Ability to programmatically set styles, both on first load, and as file is edited.
Supports key/mous...
Ok, this is not a CSS issue, I removed all styling from the page. This is a calendar extender that has a target id of a textbox and the popupbutton is the same text box.
The month name is displaying lower than the
days, so it's not usable.
it's fine in IE.
I am using Safari in Windows Vista.
Does anyone know what is causing this...
I am looking for a way to position a button (the button's contain is the form itself) so that it is always above a column in a devexpress grid. The Grid columns are set up so they can not be resized but the grid and columns then are resized as the form is resized.
System.Forms.Control has PointToScreen that looks like would give me what ...
when I press the Maximize button on my WPF app, all the controls therein expand perfectly horizontally, but they do not expand to fill the window vertically. I figure it Maximize handles it horizontally, it should handle it vertically as well. Should I be setting a property somewhere on each control? I can catch the Resize event, but ...
I've recently started poking around in Visual Studio 2005, and I'm mucking about in Visual C++. When I double click on a control in the designer, it opens the .h file, which I've understood to be for prototype declarations, and if I put all the guts to the functions in there, I can get my program to work, but I don't like having the cod...
I have a problem.
I need to host grid with controls in ScrollViewer to prevent textbox from being either truncated or collapsed to zero-with at the UI. Also I want the with of textbox to be expanded when user change windows width.
I'm setting Window's content to following code
<DockPanel>
<TreeView DockPanel.Dock="Left" Width="150"/...
I’m using control that needs to be register to asynchronous events.
The events will be raised in the UI thread using the ISynchronizeInvoke interface implemented by WinForms controls
I can’t register to the event at the constructor because it will allow calling the event handler before the control is fully created. during which calls to...
I've got a project that I started in Turbo Delphi, which I recently updated to D2009, and I've noticed a bit of a quirk in the form designer. All the old forms have a Win98 style applied to them. The buttons are gray with sharp square edges, for example. But any new form I've created since the upgrade displays its controls in WinXP styl...
Hi all,
I've got a control that's declared thus:
public partial class MessageBase<T> : UserControl
{
protected T myEntry;
public MessageBase()
{
InitializeComponent();
}
public MessageBase(T newEntry)
{
InitializeComponent();
myEntry = newEntry;
...
Hi,
I'm looking for a WinForms control that would allow me to display data in a table like manner but with some rich content such as different font colors, images. I do not need data-binding etc., just a "table of RichTextBox controls". I suppose it wouldn't be difficult to build such a control myself, but I thought I'd ask first...
Th...
I am comparing the two base classes of each namespace and am a bit confused.
System.Web.UI.WebControls.WebControl
System.Web.UI.HtmlControls.HtmlControl
I see small difference between the two. For instance, HtmlControl has much fewer properties while WebControl has a lot of properties like the CssClass property. Other than just extra ...
I am using a Panel's paint event to display a really long diagram. I've run into the problem of .net controls size (height and width) are silently limited to a signed 16 bit integer (32,767). I'm assuming this is an underlying win32 limitation.
Is there a way to get around this limitation and have larger controls?
...
I'm currently developing (another) Open Source CMS in PHP and I'd like to use javascript controls especially for the admin panel. The question is, are there any open-source, freely distributable controls (for creating javascript Editable Grids, Trees, tabs etc ) that have an interface for PHP ?
I've experimented with ExtJs in the past b...
I'm working on a Silverlight Polling control. My goal is to have a Button that contains other controls, so that when a user clicks on this combination, stuff happens.
Here's the basic XAML:
<Button Grid.Row="1" Grid.Column="0" Style="{StaticResource AnswerButton}">
<StackPanel Grid.Row="1" Grid.Column="0" Height="Auto" Width="Auto" ...
More particularly - I have a window handle of another running application. This application contains a TListControl.UnicodeClass control somewhere (I know this from Winspector). How can I, using the Windows API and that window handle, go through all the items in that list control and get the text from all of the items?
You can assume th...