5
Answers

Call Javascript function in windows application button event

Hello Sir,
 
It is possible call javascript function in windows application form button click event. If possible please suggest to me.
 
Code : html page :
<head>
<title></title>
<script type="text/javascript" language="javascript">
function mypopup() {
var mywindow;
mywindow = window.open("https://ent.comm100.com/chatserver/chatwindow.aspx?siteId=1000058&planId=203", "mywindow", "location=1,status=1,scrollbars=1, width=100,height=100");
mywindow.moveTo(0, 0);
}
</script>
</head>
 
Code :
private void button5_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("https://ent.comm100.com/chatserver/chatwindow.aspx?siteId=1000058&planId=203");
//Chat ch = new Chat();
//ch.OpenLink("https://ent.comm100.com/chatserver/chatwindow.aspx?siteId=1000058&planId=203");
//.Show();
}
I want to call javascript in inside button click. Just remember my button  control in windows form application.
 

Answers (5)