I'm developing a silverlight application with amChart's StockChart. I've met the following problem: if you add for example 50 points to the data source then scroller doesn't work, there is a gray part and a highlighted part on the scroller and you can't move hightlighted part. However if you add 500 points - scroller works perfectly. Also if I add 100 points then i'm unable to fully move the scroller to the left side.
I've developed an application which illustrates this problem. Here is the solution for VS 2010 (Also a bin folder contains ready to see app) http://www.4shared.com/file/KNUqnak5/AmChartIssue.html
Related
I have a page containing a jqxgrid from JQWidgets, which is bigger than the screen size of my mobile phone. If I want to swipe the grid to the left to see the content on the right part I have to swipe on an area outside of the grid.
Now if it happens that the grid covers the whole screen and I do not see any area outside of it I cannot swipe at all any more to see any other part of the grid/page
I tried selectionmode: 'none', enablehover: false, but it did not make any difference for the swiping.
I just installed the latest version 8.3.2 of the 12 jqxgrid files. -> Same
What I just discovered: If I start swiping the screen by touching an area outside of the grid and then while the screen is still moving I quickly place my finger on top of the grid and continue swiping it works. However as soon as the screen stops moving I cannot start moving it any more by swiping on the grid
The problem was with the version of the JQWidgets. I had version 4.1.2 installed. I replaced it with version 8.3.2 (the whole package had to be replaced not just the jqxgrid files) and now it works fine.
Running the CefSharp/WinForms/MinimalExample on Win 10 machine with display setting set to 125% causes a weird distortion in the website as I hover my mouse over the DOM element.
Here is how it looks,
As you can see, as I hover over the address text box, the text box jumps. I tried to then switch to html5test.com and it still has the same issue.
This only occurs when the display setting is set to anything other than 100%. Is this a bug, or I need to change something?
Ok, so it is really simple. It has nothing to do with CefSharp but you need to make your WinForm DPIAware and the easiest way to do that is,
Right-Click on your project and select Add -> New Item
Select Application Manifest File
If you are using VS 2015, search for dpiaware term. Uncomment the code and rebuild and you are set.
In case, you don't have VS 2015, copy this code,
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
and paste it inside the <assembly> tag. Save and rebuild and your WinForm is DPI Aware.
Context: Using USMT to setup default tile layout on a windows 8.1 build. IE sites do not show Favicon. Would like to loop through all Pinned tiles on start menu and update so favicon shows.
I can find lots of information on creating a live tile using wpf but nothing for winforms and accessing existing tiles. Looking for any resource.
Note: I do not have code as I am unable to locate any information.
If you down vote then leave a reason - this is a valid question.
MS changed access to the tiles in 8.1 and this is not feasible.
When I create a windowless Silverlight app and run it on Firefox, wrong mouse positions are reported. There is a vertical offset between the actual mouse position and what the application responds to.
I also tagged this question with Flash because my research shows that this problem also occurs with Flash (see links below).
To reproduce:
Step 1: Create a new Silverlight application.
Step 2: Inside the grid of MainApp.xaml add the following:
<HyperlinkButton NavigateUri="http://google.com" VerticalAlignment="Center" HorizontalAlignment="Center">GOOGLE</HyperlinkButton>
Step 3: In SilverApplicationXTestPage.aspx (in the web project) add the following parameter to the Silverlight object:
<param name="windowless" value="true" />
Now run the silverlight application. When you hover the link it doesn't get underlined. Now slowly move the mouse up until at a certain offset above the link it will get highlighted.
This problem doesn't happen if you do one of the following:
Switch Firefox into full screen mode (it seems that the top bar is the cause for the offset, so when it's not visible there is no offset).
Do not use Silverlight in a windowless mode.
Use any other browser.
I'm using Silverlight 4 on Firefox 8.0 on Windows 7.
This seems like an old problem that affects not just Silverlight, but also Flash.
In my research I came across the following suggested workarounds, non of which worked for me:
Do not use overflow in css.
Use css to set html margin of 1px.
Do not use iframe (but the reproduction steps above do not use an iframe anyway).
As I mentioned none of the above workarounds seem to work.
Here are some references to mentions of this problem or similar:
http://forums.silverlight.net/t/161640.aspx/1/10
https://bugzilla.mozilla.org/show_bug.cgi?id=362193
http://forums.silverlight.net/t/94583.aspx/2/10#
https://bugzilla.mozilla.org/show_bug.cgi?id=536429
Does anyone know how to overcome this? Any workaround? I'm desperate!
I found this: http://support.mozilla.org/en-US/questions/795168.
"Enabling the plugin-container.exe in about:config (dom.ipc.plugins.enabled) fixes the mouse issue but then Silverlight plugin pop-ups (webcam/microphone permission for example) freeze the browser."
I didn't see the problem with the popup (a copy permissions) after changing the config.
Making it full-screen also helped before I made this config change.
This requires the user to change their browser setting, which is not ideal.
This is similar to this question: Silverlight- bad mouse position when embedded in html page when Firefox has zoom
I'm not too familiar with silverlight, so I'm pretty sure I am asking a basic question.
Is it possible to have a silverlight dropdown menu (like superfish, or so-called dhtml menus) in a web page that will ;
not use more space in the page than
the first level
will go over html content when we
expand it.
I guess that Silverlight has to be displayed inside a certain "canvas" like flash, so the silverlight menu has to be either :
as big as the fully expanded menu can
be -- with the possibility to display
html over it (using css?) and make
sure that the expanded items goes on
top of html ==> That seems not really
easy!
as small as the first level of menu
items -- means that silverlight has
to get out of the canvas to display
menu items ==> Is that even possible?
I know that this may sound ridiculous, but the project is to modernize the portal around sql server reporting services using silverlight in a sharepoint webpart. There's no possibility to change the setup, I just want to know if that could be achieved using silverlight. If it can't, we will fall back to superfish.
Thanks!
It is possible. Silverlight plugin should be set to windowless, so its content can overlap with html. Because Silverlight can not draw outside of its own surface you would have to make as large as biggest menu element or you could resize Silverlight container dynamically through javascript bridge.