<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for call asp.net objects in javascript (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/430427-call-aspnet-objects-in-javascript/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for call asp.net objects in javascript (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/430427-call-aspnet-objects-in-javascript/</link></image><description>call asp.net objects in javascript</description><link>http://channel9.msdn.com/forums/TechOff/430427-call-aspnet-objects-in-javascript/</link><language>en-us</language><pubDate>Tue, 30 Sep 2008 14:14:19 GMT</pubDate><lastBuildDate>Tue, 30 Sep 2008 14:14:19 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Re: call asp.net objects in javascript</title><description>Yes , I have also tried this and we cannot use the clientId in a .js file...  Need to pass them as parameters if possible</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/430427-call-aspnet-objects-in-javascript/?CommentID=430449</link><pubDate>Tue, 30 Sep 2008 14:14:18 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/430427-call-aspnet-objects-in-javascript/?CommentID=430449</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430449/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Yes , I have also tried this and we cannot use the clientId in a .js file...  Need to pass them as parameters if possible</evnet:previewtext><dc:creator>Prasath Gunasekaran</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430449/Trackback.aspx</trackback:ping></item><item><title>Re: call asp.net objects in javascript</title><description>&lt;BR&gt;.js files are not parsed in the same way as aspx&amp;nbsp;so the "&amp;lt;%= txtUsername.ClientID&amp;nbsp;%&amp;gt;" expresion is not evaluated.&amp;nbsp; if you want to move your javscript to an seperate file, you have to leave the portions that extract the clientID on the ASPX page that declares the control and then use&amp;nbsp;that to set the&amp;nbsp;values into some storage&amp;nbsp;that your&amp;nbsp;.js file can use.&amp;nbsp;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/430427-call-aspnet-objects-in-javascript/?CommentID=430442</link><pubDate>Tue, 30 Sep 2008 13:08:44 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/430427-call-aspnet-objects-in-javascript/?CommentID=430442</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430442/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>.js files are not parsed in the same way as aspx&amp;nbsp;so the "&amp;lt;%= txtUsername.ClientID&amp;nbsp;%&amp;gt;" expresion is not evaluated.&amp;nbsp; if you want to move your javscript to an seperate file, you have to leave the portions that extract the clientID on the ASPX page that declares the control and then&amp;#8230;</evnet:previewtext><dc:creator>PerfectPhase</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430442/Trackback.aspx</trackback:ping></item></channel></rss>