Hi, im using http://smallsharptools.com/Downloads/SmallSharpTools.WebPreview/ in a web application where WebPreview creates thumbnails of given URL.
It works fine as long as there is no javascript prompt on the page. If there is it never finishes loading and timeouts. I assume Webbrowser object it creates waits for user input.
I know ...
Hello everybody. I am trying to get a control to follow the cursor when the user clicks and drag the control. The problem is that 1.) the control doesn't go to the mouse's position, and 2.) the control flickers and flies all over the place. I've tried a few different methods of doing this, but all so far have failed.
I've tried:
protec...
Hi,
Following this question from last year. I am checking two open source ribbon controls:
Fluent
Odyssey
Do you have any experience (good or bad) with any of them? or perhaps know of another open source ribbon control?
...
I wrote app with multiple views. Viewmodels are assigned to "smartcontentcontrol" which is derived from contentcontrol and overrides contentproperty metadata to handle changed event for that dependency property. I put some effects on that callback for visuals (renderbitmap and so on).
Now i have extended my viewmodel so, that uppon assig...
I have this code set up to navigate to a certain .html document depending on what's selected from a ListBox:
Private Sub FileList_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FileList.SelectedIndexChanged
HelpWindow.Navigate(System.AppDomain.CurrentDomain.BaseDirectory & "help\" & fileArra...
Hello,
I have a View that contains an image control.
<Image
x:Name="img"
Height="100"
Margin="5"
Source="{Binding Path=ImageFullPath Converter={StaticResource ImagePathConverter}}"/>
The binding uses a converter does nothing interesting except set BitmapCacheOption to "OnLoad", so...
I want to include HTML and Eval within a Repeater:
<asp:Repeater ID="Rpt" runat="server" DataSourceID="DS">
<HeaderTemplate><div id="gallery"></HeaderTemplate>
<ItemTemplate>
<a href='<%# Eval("Url") %>' class="show">
<img src='<%# Eval("Image") %>' alt='<%# Eval("Title") %>'
title="" runat=...
Hi All,
I need to reinvent/recreate the Label Control from scratch to add my own mojoness to it. Yes, I know what you're thinking (and if you're not thinking that, shouldn't you be?).
Can somebody point me in the right direction?
Thank you.
The whole purpose for recreating the label is that I want full control over how it is drawn on...
I am developing in C# and .Net 2.0. I have a user control that draws cells (columnar) depending upon the maximum number of cells. There are some drawing routines that generate the necessary cells. There is a property NumberOfCells that adjust the height of this control; CELLHEIGHT_CONSTANT * NumberOfCells. The OnPaint() method is overr...
Hey guys,
I'm trying to programmatically load a web page via the WebBrowser control with the intent of testing the page & it's JavaScript functions. Basically, I want to compare the HTML & JavaScript run through this control against a known output to ascertain whether there is a problem.
However, I'm having trouble simply creating and ...
Hi All
I have what I consider to be a pretty unique problem here, and no idea how to implement. From what I've seen, there is no documentation, tutorials, samples and/or articles on this. I've spent weeks researching, with nothing to show.
The problem:
I need the user to be able to select the contents of a Label Control at runtime, an...
I'm trying to customize the behavior of the WebBrowser control in a Windows forms application. The follwing code works, but as soon as I call SetOptions I get a huge memory leak every time I navigate in the web browser. If I don't call SetOptions I get no memory leak.
Has anyone tried this before?
[ComVisible(true)]
public class Custom...
I know I can use System.DirectoryServices to roll my own GAL Name/email selector control and I've seen plenty of people explaining the basics of how to do that, but surly someone knows of one that I can download from somewhere. It just seems like a waste to have to remake it when so many people need it.
Something remotely similar to Out...
I'm coding a function in jquery that executes if ctrl+R is pressed but I can't seem to find out what the left and right ctrl keycodes are....can someone please help?
UPDATE
///this works
$(document).keydown(function(e){
if(e.keyCode==17){alert("control was pressed")};
});
Next Question--
How do I link control key press...
Versus using the DEV environment for testing even though it has the latest code
I want to know what are the pros and con if QA have their own Test enviornment. How should it work? Who should make deployment to it? Should it have the latest code? How does it benefit QA or developers or does it benefit anyone?
...
I placed some validation controls on my grid view template. The only problem is that it is taking a lot of space vertically. Is there a property to set to solve this problem?
...
Hi,
I am developing an application which let users to hear songs online. And I used Blackberry Player and Manager APIs. My application works fine and I can play songs. Now I wan't to add more controls to it. As an example I want pause, play songs. Mute the sound, Control the volume. Display the progress of the play back. Display the cur...
Can i know or create a message which tells if the cursor moved to up or down a line in edit control?
...
Hello everyone.
I have a BENQ projector that I need to control in software.
It supports the Crestron protocol.
I'm working in C#.
Is the Crestron protocol known ?
Is there an API or SDK ?
Are there samples anywhere for control a projector ?
Thanks,
SW
...
I need to check if a c# WinForm Window (FORM Class) has been initialized and waiting for user events. But I could not find out how to manage that.
Therefore I had the idea to set the Control.IsAccessible Flag of the Form to true, within the OnLoad Event of the Windows Form.
My question is now, what is the Control.IsAccessible Flag ori...