<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HOWTO: Embedding javascript into a dll</title>
	<atom:link href="http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/</link>
	<description>Code, Code, Revolution!</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:26:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Djerba</title>
		<link>http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/comment-page-1/#comment-12009</link>
		<dc:creator>Djerba</dc:creator>
		<pubDate>Tue, 06 Jul 2010 09:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=500#comment-12009</guid>
		<description>Hi! I&#039;ve created the .dll file and work fine. Now I want to protect my dll. I have try with Dotfuscator. Can you help me??

Thanks</description>
		<content:encoded><![CDATA[<p>Hi! I&#8217;ve created the .dll file and work fine. Now I want to protect my dll. I have try with Dotfuscator. Can you help me??</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Sållarp</title>
		<link>http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/comment-page-1/#comment-11139</link>
		<dc:creator>Björn Sållarp</dc:creator>
		<pubDate>Fri, 28 May 2010 11:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=500#comment-11139</guid>
		<description>@HBT

That code should be put on the page where you want to include the script inside the dll.

// Björn</description>
		<content:encoded><![CDATA[<p>@HBT</p>
<p>That code should be put on the page where you want to include the script inside the dll.</p>
<p>// Björn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HBT</title>
		<link>http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/comment-page-1/#comment-11138</link>
		<dc:creator>HBT</dc:creator>
		<pubDate>Fri, 28 May 2010 11:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=500#comment-11138</guid>
		<description>Thank you for your great work........!

is below block placed in ICallbackJsonPropertyControl.cs, AssemblyInfo.cs, or in ASP.NET page?

if (Page.ClientScript.IsClientScriptIncludeRegistered(this.GetType(), &quot;ICallbackJsonPropertyControl&quot;) == false)
{
    Page.ClientScript.RegisterClientScriptInclude(&quot;ICallbackJsonPropertyControl&quot;,
                 Page.ClientScript.GetWebResourceUrl(this.GetType(),
                                             &quot;MightyLittle.CMSR2.Properties.ICallbackJsonProperty.js&quot;));
}</description>
		<content:encoded><![CDATA[<p>Thank you for your great work&#8230;&#8230;..!</p>
<p>is below block placed in ICallbackJsonPropertyControl.cs, AssemblyInfo.cs, or in ASP.NET page?</p>
<p>if (Page.ClientScript.IsClientScriptIncludeRegistered(this.GetType(), &#8220;ICallbackJsonPropertyControl&#8221;) == false)<br />
{<br />
    Page.ClientScript.RegisterClientScriptInclude(&#8220;ICallbackJsonPropertyControl&#8221;,<br />
                 Page.ClientScript.GetWebResourceUrl(this.GetType(),<br />
                                             &#8220;MightyLittle.CMSR2.Properties.ICallbackJsonProperty.js&#8221;));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijayan</title>
		<link>http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/comment-page-1/#comment-1459</link>
		<dc:creator>vijayan</dc:creator>
		<pubDate>Fri, 22 May 2009 11:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=500#comment-1459</guid>
		<description>Thanks for the handy page. Adding the WebResource reference in AssemblyInfo.cs was a key tip!

I could directly reference the resource (as opposed to including a link to the script URL):

Page.ClientScript.RegisterClientScriptResource(type, resourceName).

/v</description>
		<content:encoded><![CDATA[<p>Thanks for the handy page. Adding the WebResource reference in AssemblyInfo.cs was a key tip!</p>
<p>I could directly reference the resource (as opposed to including a link to the script URL):</p>
<p>Page.ClientScript.RegisterClientScriptResource(type, resourceName).</p>
<p>/v</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EPiServer property using ajax - ICallbackEventHandler &#124; blog.sallarp.com</title>
		<link>http://blog.sallarp.com/howto-embed-javascript-dll-getwebresourceurl/comment-page-1/#comment-475</link>
		<dc:creator>EPiServer property using ajax - ICallbackEventHandler &#124; blog.sallarp.com</dc:creator>
		<pubDate>Sun, 12 Apr 2009 13:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=500#comment-475</guid>
		<description>[...] my property. First i register my javascript file containing the client script parts of my property, more information on embedding javascript into a dll. Page.ClientScript.GetCallbackEventReference returns the reference to our server method. Note that [...]</description>
		<content:encoded><![CDATA[<p>[...] my property. First i register my javascript file containing the client script parts of my property, more information on embedding javascript into a dll. Page.ClientScript.GetCallbackEventReference returns the reference to our server method. Note that [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: blog.sallarp.com @ 2010-07-30 17:07:12 -->