Hi everyone,
I'm helping a company with developing a bank signing process called BankID.
Everything is browser based.
I generate javascript code for click event with C# in asp.net.
This will generate onclick in html/javascript button:
The app is simply called in a javascript function
I have problem making the application start on a mobile device. It works however in Windows 10.
I have further issues but if I can make this work it would be awesome.
Appreciate your help on this.
I'm helping a company with developing a bank signing process called BankID.
Everything is browser based.
I generate javascript code for click event with C# in asp.net.
C#:
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Button1.Attributes.Add("onclick", "openBankID()");
}
This will generate onclick in html/javascript button:
C#:
[FONT=monospace]<input type="submit" name="Button1" value="Skicka" onclick="openBankID();" id="Button1" />[/FONT][COLOR=#000000][FONT=monospace][/FONT][/COLOR]
The app is simply called in a javascript function
C#:
[TABLE]
[TR]
[TD="class: line-content"] <script>[/TD]
[/TR]
[TR]
[TD="class: line-number"][/TD]
[TD="class: line-content"]function openBankID() {[/TD]
[/TR]
[TR]
[TD="class: line-number"][/TD]
[TD="class: line-content"] window.location.href = "bankid:///?redirect=null";[/TD]
[/TR]
[TR]
[TD="class: line-number"][/TD]
[TD="class: line-content"]}[/TD]
[/TR]
[TR]
[TD="class: line-number"][/TD]
[TD="class: line-content"]</script>[/TD]
[/TR]
[TR]
[TD="class: line-number"][/TD]
[TD="class: line-content"]</head>[/TD]
[/TR]
[/TABLE]
I have problem making the application start on a mobile device. It works however in Windows 10.
I have further issues but if I can make this work it would be awesome.
Appreciate your help on this.