embed javascript code in c#
-
please i want to embed javascript code in c# windows form application & i use web browser control to display page what should i do & thanks
mrx100 wrote:
i want to embed javascript code in c# windows
form applicationYou cannot do that, and why would you want to.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
-
mrx100 wrote:
i want to embed javascript code in c# windows
form applicationYou cannot do that, and why would you want to.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
-
i want to use google api v3 javascript code i want this javascript code : var myLatlng = new google.maps.LatLng(30.050144, 31.240042); take latitude & longitude from my windows form application i can show page in webbrowser control but it's static
Like I said, you can't.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
-
please i want to embed javascript code in c# windows form application & i use web browser control to display page what should i do & thanks
Let me get this straight: you want to select lat an lon in your windows form and the using the GoogleMaps api open a webpage in your browser (probably google.maps) centered on that location? Because if you do, my friend there is no way to do it. Javascript works inside the browser. Why dont you make a web app on a local web server (e.g apach on your system and create the form in there using html or php. then sent the selected data by query string. If you want sent me some pseudocode for what you want to do and i see what i can offer.
They call me BPIS (Beastly Powerfull Immensly Stupid) and i let them.
-
please i want to embed javascript code in c# windows form application & i use web browser control to display page what should i do & thanks
I don't use the webbrowser control but it is my understanding it works just like IE, so you build a webpage that does what you want, deploy it with your windows app and then load the page into the webbrowser control. So, what part are you having trouble with?
There are only 10 types of people in the world, those who understand binary and those who don't.
-
I don't use the webbrowser control but it is my understanding it works just like IE, so you build a webpage that does what you want, deploy it with your windows app and then load the page into the webbrowser control. So, what part are you having trouble with?
There are only 10 types of people in the world, those who understand binary and those who don't.