Based on a click event on the page, via ajax I fetch a block of html and script, I am able to take the script element and append it to the head element, however WebKit based browsers are not treating it as script (ie. I cannot invoke a function declared in the appended script).
Using the Chrome Developer Tools I can see that my script...
My site displays the map when you dynamically go to a page using $.load of jQuery.
The problem I have is that the maps won't load, so I have tried this.
<script to googlemapsapi>
<script>
load('lat,'lng') {
// code here etc which works
}
</script>
(Those scripts work fine when the page is directly visit...
I have a datagrid and a PagedCollectionView with more than 1000 objects and a pagesize of 100.
How can I add the PagedCollectionView to the datagrid such that when its scroll bar riches the bottom end will add an additional 100 rows to the datagrid?
...
I've loaded a specific AppDomain up and I want to load some types dynamically from it (piece of cake right?). The thing is all of the CreateInstance methods of the AppDomain class return things as a remoting object handle. Remoting proxies have limitations that I would like to avoid such as: having to have serializable concrete classes, ...
I need to activate cpa lead when the button is press.
code:
<script type="text/javascript" src="http://www.cpalead.com/mygateway.php?pub=52514&amp;gateid=NjE1Njk%3D"></script>.
And the button is just <input type="button" />
So I need to activate the <script> after the button is clicked. Help please?
...
I'm using a 3rd party library which requires a static method to be invoked before it is used - it sets the serial key to validate the license for the software. I'm needing to use this library in multiple projects and I want to shield those projects from needing to worry about this license. Ideally, I'd like to create a shared assembly ...
What would be the advantages and disadvantages of creating external silverlight modules for dynamic loading using:
1 - a silverlight class library (dll on ClientBin)
2 - a silverlight application (xap on ClientBin)
...
I know that MEF currently supports downloading XAP files from a URI (which is awesome!), but does anyone know if it's possible to have MEF load a XAP from a byte array?
Thanks!
...