This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension=".jnlp" mimeType="application/x-java-jnlp-file" /> | |
</staticContent> | |
</system.webServer> | |
</configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>eID: Read</title> | |
<script type="text/javascript" src="https://localhost:100/be_belgium_eid.js"></script> | |
<script language="javascript" type="text/javascript"> | |
// Initialize the reader. | |
var cardReader = new be.belgium.eid.CardReader(); | |
// Bind error events. | |
function noCardPresentHandler() { window.alert("No card present!"); } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open the card reader page. | |
function readCard() { | |
window.open ("https://crm2011.some.url//WebResources/new_contacteid_page", 'ReadEid', 'width=850, height=450'); | |
} | |
// Update the contact based on the eID data. | |
function onUpdateContact(data) | |
{ | |
Xrm.Page.getAttribute("firstname").setValue(data.firstName); | |
Xrm.Page.getAttribute("lastname").setValue(data.lastName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TD vAlign=top><APPLET id=BEIDAppletLauncher name=BEIDAppletLauncher archive=applet-launcher.jar,beid35libJava.jar,BEID_Applet.jar codeBase="https://localhost:100" code=org.jdesktop.applet.util.JNLPAppletLauncher width=140 height=200><PARAM NAME="_cx" VALUE="3704"><PARAM NAME="_cy" VALUE="5291"></APPLET> </TD> | |
<TD vAlign=top><TEXTAREA id=content wrap=virtual cols=80 rows=20> </TEXTAREA> <BR><INPUT title="Read Card" onclick=javascript:readCard() value="Read Card" type=button> <INPUT title=Save onclick=javascript:saveCard() value=Save type=button> </TD></TR></TBODY></TABLE></BODY></HTML> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Sandworks.Silverlight.NamespaceExample.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Sandworks.Silverlight.NamespaceExample.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:my="clr-namespace:Sandworks.Silverlight.NamespaceExample.Controls" | |
xmlns:conv="clr-namespace:Sandworks.Silverlight.NamespaceExample.Converters" | |
xmlns:lib="clr-namespace:Sandworks.Silverlight.NamespaceExample.ClassLibrary.Converters;assembly=Sandworks.Silverlight.NamespaceExample.ClassLibrary" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[assembly: XmlnsPrefix("http://schemas.sandworks.com/sl/", "sw")] | |
[assembly: XmlnsDefinition("http://schemas.sandworks.com/sl/", | |
"Sandworks.Silverlight.NoNamespaceExample.Controls")] | |
[assembly: XmlnsDefinition("http://schemas.sandworks.com/sl/", | |
"Sandworks.Silverlight.NoNamespaceExample.Converters")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", | |
"Sandworks.Silverlight.NoNamespaceExample.Controls")] | |
[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", | |
"Sandworks.Silverlight.NoNamespaceExample.Converters")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static ScrollBar GetScrollbar(this DependencyObject dep, string name) | |
{ | |
for (int i = 0; i < VisualTreeHelper.GetChildrenCount(dep); i++) | |
{ | |
var child = VisualTreeHelper.GetChild(dep, i); | |
if (child != null && child is ScrollBar && ((ScrollBar)child).Name == name) | |
return child as ScrollBar; | |
else | |
{ | |
ScrollBar sub = GetScrollbar(child, name); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void OnApplyTemplate() | |
{ | |
... | |
this._hScrollBar = base.GetTemplateChild("HorizontalScrollbar") as ScrollBar; | |
if (this._hScrollBar != null) | |
{ | |
this._hScrollBar.IsTabStop = false; | |
this._hScrollBar.Maximum = 0.0; | |
this._hScrollBar.Orientation = Orientation.Horizontal; | |
this._hScrollBar.Visibility = Visibility.Collapsed; |