<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ashraf's Blog &#187; Javascript</title>
	<atom:link href="http://ashrafur.wordpress.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashrafur.wordpress.com</link>
	<description>Weblogs of Ashrafur Rahaman</description>
	<lastBuildDate>Wed, 16 Dec 2009 14:32:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ashrafur.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ee9ead71c89b7a06482cd3fb859f57a3?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ashraf's Blog &#187; Javascript</title>
		<link>http://ashrafur.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ashrafur.wordpress.com/osd.xml" title="Ashraf&#8217;s Blog" />
		<item>
		<title>JavaScript for GridView Row Level Access</title>
		<link>http://ashrafur.wordpress.com/2009/02/26/javascript-for-gridview-row-level-access/</link>
		<comments>http://ashrafur.wordpress.com/2009/02/26/javascript-for-gridview-row-level-access/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 03:45:22 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=204</guid>
		<description><![CDATA[I needed to access every cell of a GridView in Client Side in one of my application, so needed to call javascript from GridView Cell. Actually I have a Dropdownlist , select any of the item from the dropdownlist will change the value of the same row in a different cell and will change the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=204&subd=ashrafur&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I needed to access every cell of a GridView in Client Side in one of my application, so needed to call javascript from GridView Cell. Actually I have a Dropdownlist , select any of the item from the dropdownlist will change the value of the same row in a different cell and will change the GridView footer row  value.<br />
<img src="http://ashrafur.files.wordpress.com/2009/02/1.jpg" alt="" /><img src="http://ashrafur.files.wordpress.com/2009/02/2.jpg" alt="" /><img src="http://ashrafur.files.wordpress.com/2009/02/3.jpg" alt="" /><img src="http://ashrafur.files.wordpress.com/2009/02/4.jpg" alt="" /><br />
Here is a article showing how to access row and cell of a gridview from client site.<a title="Javascript for GridView" href="http://weblogs.asp.net/ashrafurrahaman/archive/2009/02/26/javascript-for-gridview-row-level.aspx"></p>
<p>http://weblogs.asp.net/ashrafurrahaman/archive/2009/02/26/javascript-for-gridview-row-level.aspx</a></p>
Posted in Asp.Net, Javascript  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=204&subd=ashrafur&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2009/02/26/javascript-for-gridview-row-level-access/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>

		<media:content url="http://ashrafur.files.wordpress.com/2009/02/1.jpg" medium="image" />

		<media:content url="http://ashrafur.files.wordpress.com/2009/02/2.jpg" medium="image" />

		<media:content url="http://ashrafur.files.wordpress.com/2009/02/3.jpg" medium="image" />

		<media:content url="http://ashrafur.files.wordpress.com/2009/02/4.jpg" medium="image" />
	</item>
		<item>
		<title>fun with Javascript</title>
		<link>http://ashrafur.wordpress.com/2008/08/07/fun-with-javascript/</link>
		<comments>http://ashrafur.wordpress.com/2008/08/07/fun-with-javascript/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 09:07:13 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=166</guid>
		<description><![CDATA[I faced a problem to call 2 methods at the same time from body. and the solution is very simple. I wrote a script block at the end of the page look like that.
&#60;SCRIPT LANGUAGE=&#8221;JAVASCRIPT&#8221;&#62;
if(document.body.onload)
{
var existingOnLoad = document.body.onload;
document.body.onload = function()
{
existingOnLoad();
MyOwnMethod();
}
}
&#60;/SCRIPT&#62;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=166&subd=ashrafur&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I faced a problem to call 2 methods at the same time from body. and the solution is very simple. I wrote a script block at the end of the page look like that.</p>
<p>&lt;SCRIPT LANGUAGE=&#8221;JAVASCRIPT&#8221;&gt;</p>
<p>if(document.body.onload)</p>
<p>{</p>
<p>var existingOnLoad = document.body.onload;</p>
<p>document.body.onload = function()</p>
<p>{</p>
<p>existingOnLoad();</p>
<p>MyOwnMethod();</p>
<p>}</p>
<p>}</p>
<p>&lt;/SCRIPT&gt;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ashrafur.wordpress.com/166/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ashrafur.wordpress.com/166/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=166&subd=ashrafur&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2008/08/07/fun-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>no right click allowed</title>
		<link>http://ashrafur.wordpress.com/2006/05/23/no-right-click-allowed/</link>
		<comments>http://ashrafur.wordpress.com/2006/05/23/no-right-click-allowed/#comments</comments>
		<pubDate>Tue, 23 May 2006 12:50:05 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/2006/05/23/no-right-click-allowed/</guid>
		<description><![CDATA[here is the script not ot allow right click in browser
&#60;script language=&#8221;Javascript1.2&#8243;&#62;
am = &#8220;NO RIGHT CLICK ALLOWED!&#8221;;
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName==&#8221;Netscape&#8221;
bIE = navigator.appName==&#8221;Microsoft Internet Explorer&#8221;
function nrc(e) {
   if (bNS &#38;&#38; e.which &#62; 1){
      alert(am)
      return false
   } else if (bIE &#38;&#38; (event.button &#62;1)) {
  alert(am)
     return false;
   }
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS &#38;&#38; bV&#60;5) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=27&subd=ashrafur&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><em><strong>here is the script not ot allow right click in browser</strong></em></p>
<p>&lt;script language=&#8221;Javascript1.2&#8243;&gt;<br />
am = &#8220;NO RIGHT CLICK ALLOWED!&#8221;;<br />
bV  = parseInt(navigator.appVersion)<br />
bNS = navigator.appName==&#8221;Netscape&#8221;<br />
bIE = navigator.appName==&#8221;Microsoft Internet Explorer&#8221;<br />
function nrc(e) {<br />
   if (bNS &amp;&amp; e.which &gt; 1){<br />
      alert(am)<br />
      return false<br />
   } else if (bIE &amp;&amp; (event.button &gt;1)) {<br />
  alert(am)<br />
     return false;<br />
   }<br />
}<br />
document.onmousedown = nrc;<br />
if (document.layers) window.captureEvents(Event.MOUSEDOWN);<br />
if (bNS &amp;&amp; bV&lt;5) window.onmousedown = nrc;<br />
&lt;/script&gt;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ashrafur.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ashrafur.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=27&subd=ashrafur&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2006/05/23/no-right-click-allowed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
	</channel>
</rss>