control

How can I prevent Firefox from opening the gridview header sort postback link in a new tab on Ctrl Click

I am trying to make my gridview control in ASP.Net do a multi sort based on if the user pressed Ctrl key when trying to sort by clicking on a column name. The problem is that when I am using Firefox, if I click on a column name with Ctrl key pressed, the browser tries to open "javascript:__doPostBack('ctl00$ContentPla..." link in a new ...

MS Access 2003 - Form question about a control source of a text box

How can I write the control source into VBA instead of in the properties window For example if I have a textbox that divides two amounts in other text boxes, then i put =[textboxA]/[textboxB] in the control source of the properties window. how do i accomplish this in vb so that I can trigger it by events?? i know it is not the same b...

Drag, Drop and Delete

Hi All I have a question about drag and drop in WinForms. I know how to enable the user to drag and drop controls around inside the form, but what I'm now trying to do is enable them to drag a LinkLabel ontop of a"Recycle Bin" icon inside my Form and when it detects that something has been dropped onto the Recycle Bin icon, that control...

iPhone SDK: control websites in UIWebView programmatically

I need to control a website that is loaded into a UIWebView like sending post data and using get requests. After each request the response should be loaded as a string into a variable. The reason for this is that I'm trying to fetch data from a website that has no public web api and using cookie based user authentication. So I want to l...

How can I set the height of a WPF-Control to the maximum which is available?

For example: I have a Stackpanel with height of 200px. In this panel a grid with a height of 50px. How can I add a control (for example a textblock), which use the complete rest of height (150px) and not only the height of the textfont? ...

.NET Chart Control Parallel Performance

I am using the .NET Chart Control library that comes with .NET 4.0 Beta 2 to create and save images to disk on a background thread. I am not showing the chart on the screen, however, simply creating a chart, saving it to disk, and destroying it. Something like this: public void GeneratePlot(IList<DataPoint> series, Stream outputStream...

Flex TextArea Unicode chracters with control key

Hi Experts, I am developing a Flex based window application. In that I have used a textArea, Now when I type some characters like ctrl+b, ctrl+e or ctrl+q, it shows some square characters in text area, I think these are some unicode characters but why these are being entered. Unlike in simple textArea control on adobe example when I pr...

Django authentication with fine-grained access control

I am developing a Django web application with a suite of steel design tools for structural engineers. There will be a database table of inputs for each design tool, and each row of each table will correspond to a particular design condition to be "solved." The users may work solely or in groups. Each user needs to have ongoing access to ...

HTMLControl on WM 6.1 - VGA

Hi All, I am facing trouble enabling "High Resolution" mode in WM6 Professional. I am using a HTMLView.dll to embed an HTMLControl in our application. By default the "HTML" Shown is not in "High Resolution" Mode - The App is appearing all zoomed up and as how it is displayed in lesser resolution Emulators/devices.(QVGA) I have already ...

EN_PROTECTED and RichEdit

The EN_PROTECTED notify message is sent to the parent of a rich edit control when there is an attempt to change "protected" text. This works for me and I've tried it with both richedit20 and richedit50. Any change to this protected text immediately triggers the EN_PROTECTED message. (Its a little complicated to set it up, but I've don...

.net special button design control

Hi, I have the following programming task (Visual Studio .net - no web application) where I wonder if there is maybe some sort of custom control (Third Party?), which could be useful: There is a rectangular layout and it should be possible to create and move around rectangular buttons. The user should be able to create button and adjus...

WPF ListView show Image

Hi, I have a simple class that contains a string and an WPF Image control: public class User { public string Name { get; set; } public System.Windows.Controls.Image Image { get; set; } } Now I'm binding a list of instances of this class to a ListView. What I would like to do now is make ListView display the Image property. ...

WPG browser text size or zoom

Is it possible to adjust the "size" of the browsers controls rendered output, ie text size or zoom out? Im wanting a small browser visible on a form just as a preview to what a html page will render like. so Id like it to be as small as possible any ideas on doing this? ...

How to check if the resize is still in progress with OnResize event?

I need to redraw a control after it was resized and not while it is being resized because it takes a lot of time to redraw a control and it wastes a lot of resources. My control inherits Control class and I'm overriding the OnResize event. PS: OnSizeChanged is absolutely the same ...

What is a windowless control?

Under Windows their is something called a Windowless Control. RichEdit What is a Windowless Control and what are its benefits? ...

What is the correct way to register javascript for dynamic user controls in AJAX.NET update panel?

Hi all! I've been googling this for days. Found a few threads about similar issues, all without any meaningful answers... Maybe someone here can enlighten me. I'm developing an AJAX.NET application in VS2005 (.NET 2.0 with AJAX extensions). There's just one page that has a navigation panel and a content panel. Basically, both panels ar...

Treeview Control - ContextSwitchDeadlock workarounds

Hi, I have built a treeview control that lists the directory structure of any drive or folder. However, if you select a drive, or something with a large structure of folders and sub folders the control takes a long time to load and in some instances shows an MDA ContextSwitchDeadlock message. I have disabled the MDA deadlock error mes...

c# : how to easily display a Dictionary<string, int> ?

I have a dictionary that I want to show in a form. What's the easiest way to do this ? Preferrably I'd like to show a control where I can sort using the int-value. I've tried a DataGridView but nothing shows up, I must be doing something wrong... Code: mDataGridView.DataSource = mWordCount; /*Where mWordCount is the Dictionary<string...

WPF CollectionViewSource Multiple Views ?

Hi ! I've written a Custom WPF Control with search extension, let's name it MyControl. The Control is a descendent of an ItemsControl class. So I feed the the data source to it like this: The control itself uses protected override void OnItemsSourceChanged(System.Collections.IEnumerable oldValue, System.Collections.IEnumerable new...

.NET Timer controls run faster while the window is minimized

It's actually a noticeable difference that I've seen but cannot explain. These timers have intervals set to 1ms (the lowest available), but while it's minimized, it seems to tick faster? Could anyone explain this phenomenon to me? And if possible, explain how to reproduce the effect while the window is maximized? ...