<?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: Calling AJAX Control Extenders from JavaScript code</title>
	<atom:link href="http://damianblog.com/2007/02/28/calling-extenders-from-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/</link>
	<description>.NET from Geneva, Switzerland</description>
	<lastBuildDate>Tue, 31 Jan 2012 08:14:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: dmehers</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-101</link>
		<dc:creator>dmehers</dc:creator>
		<pubDate>Mon, 28 Apr 2008 11:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-101</guid>
		<description>Thanks John -- over the year or so since I wrote the original post I&#039;ve been doing more work around Media Center, and its not always easy to make the context switch back to ASP.NET AJAX.

Cheers,
     /Damian</description>
		<content:encoded><![CDATA[<p>Thanks John &#8212; over the year or so since I wrote the original post I&#8217;ve been doing more work around Media Center, and its not always easy to make the context switch back to ASP.NET AJAX.</p>
<p>Cheers,<br />
     /Damian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-100</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 27 Apr 2008 19:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-100</guid>
		<description>Check this out. I got this from another website, cause the author of this article never bothered to reply to the coments I thought of mosting the answer here.

You add a &quot;BehaviorID&quot; to the ModalPopupExtender...

BehaviorID: In cases where you would like to access the client-side behavior for your extender from script code in the client, you can set this BehaviorID to simplify the process. See example below:





function changeValue() {

var myBehavior = $find(&quot;myBehavior1&quot;);

myBehavior.show();

}



http://ajax.asp.net/ajaxtoolkit/Walkthrough/ExtenderClasses.aspx</description>
		<content:encoded><![CDATA[<p>Check this out. I got this from another website, cause the author of this article never bothered to reply to the coments I thought of mosting the answer here.</p>
<p>You add a &#8220;BehaviorID&#8221; to the ModalPopupExtender&#8230;</p>
<p>BehaviorID: In cases where you would like to access the client-side behavior for your extender from script code in the client, you can set this BehaviorID to simplify the process. See example below:</p>
<p>function changeValue() {</p>
<p>var myBehavior = $find(&#8220;myBehavior1&#8243;);</p>
<p>myBehavior.show();</p>
<p>}</p>
<p><a href="http://ajax.asp.net/ajaxtoolkit/Walkthrough/ExtenderClasses.aspx" rel="nofollow">http://ajax.asp.net/ajaxtoolkit/Walkthrough/ExtenderClasses.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-99</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Thu, 07 Feb 2008 04:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-99</guid>
		<description>i TRIED THIS BUT DOESNT WORK WELL.CAN U TELL ME SOME BRIEF</description>
		<content:encoded><![CDATA[<p>i TRIED THIS BUT DOESNT WORK WELL.CAN U TELL ME SOME BRIEF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edwin</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-98</link>
		<dc:creator>Edwin</dc:creator>
		<pubDate>Thu, 23 Aug 2007 13:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-98</guid>
		<description>I have  read and tried but It didn&#039;t want to work!

I am agree with Franck and dylan. Would you mind to write an example in aspx to know how this works. We really will appreciate it!!
Thanks.</description>
		<content:encoded><![CDATA[<p>I have  read and tried but It didn&#8217;t want to work!</p>
<p>I am agree with Franck and dylan. Would you mind to write an example in aspx to know how this works. We really will appreciate it!!<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: safa asdfsdf</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-93</link>
		<dc:creator>safa asdfsdf</dc:creator>
		<pubDate>Mon, 21 May 2007 10:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-93</guid>
		<description>gfjgfj</description>
		<content:encoded><![CDATA[<p>gfjgfj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franck</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-95</link>
		<dc:creator>Franck</dc:creator>
		<pubDate>Thu, 03 May 2007 16:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-95</guid>
		<description>I Would appreciate if you could satisfy dylan&#039;s request ...

Now I&#039;m blocked on the event function :p

function OnItemLinkClicked(someId) {
    PageMethods.SomePageMethod(someId,
                               OnSomePageMethodSucceded,
                               OnSomePageMethodFailed);
}</description>
		<content:encoded><![CDATA[<p>I Would appreciate if you could satisfy dylan&#8217;s request &#8230;</p>
<p>Now I&#8217;m blocked on the event function :p</p>
<p>function OnItemLinkClicked(someId) {<br />
    PageMethods.SomePageMethod(someId,<br />
                               OnSomePageMethodSucceded,<br />
                               OnSomePageMethodFailed);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dylan barber</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-94</link>
		<dc:creator>dylan barber</dc:creator>
		<pubDate>Tue, 01 May 2007 22:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-94</guid>
		<description>not to sound like an idiot but can you post a aspx page and a code behind example i am not sure i quite have how to wire this solution up
TIA (or email it to me please)</description>
		<content:encoded><![CDATA[<p>not to sound like an idiot but can you post a aspx page and a code behind example i am not sure i quite have how to wire this solution up<br />
TIA (or email it to me please)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmehers</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-92</link>
		<dc:creator>dmehers</dc:creator>
		<pubDate>Wed, 25 Apr 2007 04:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-92</guid>
		<description>Franck:

If it is an ASP.NET button then you can use the OnClientClick attribute:
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.button.onclientclick.aspx

    Damian</description>
		<content:encoded><![CDATA[<p>Franck:</p>
<p>If it is an ASP.NET button then you can use the OnClientClick attribute:<br />
<a href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.button.onclientclick.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.button.onclientclick.aspx</a></p>
<p>    Damian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franck</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-97</link>
		<dc:creator>Franck</dc:creator>
		<pubDate>Tue, 24 Apr 2007 09:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-97</guid>
		<description>I read this with attention but I fail !

I can&#039;t &quot;Then in the template I hooked up the onclick method of the item to invoke a JavaScript function  passing as a parameter key information related to the item.&quot;

How to do this ?
Visual studio 2005 is telling me that ther is an error when II try to put my function in the onclick event ...

PS : I&#039;m using a gridview and just want to load a simple text in a popup to complete the overview in my gridview.</description>
		<content:encoded><![CDATA[<p>I read this with attention but I fail !</p>
<p>I can&#8217;t &#8220;Then in the template I hooked up the onclick method of the item to invoke a JavaScript function  passing as a parameter key information related to the item.&#8221;</p>
<p>How to do this ?<br />
Visual studio 2005 is telling me that ther is an error when II try to put my function in the onclick event &#8230;</p>
<p>PS : I&#8217;m using a gridview and just want to load a simple text in a popup to complete the overview in my gridview.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://damianblog.com/2007/02/28/calling-extenders-from-js/comment-page-1/#comment-96</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 19 Apr 2007 20:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/28/calling-extenders-from-js/#comment-96</guid>
		<description>Thanks, this was helpful.  I appreciate you posting this!</description>
		<content:encoded><![CDATA[<p>Thanks, this was helpful.  I appreciate you posting this!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

