<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DotNetNuke</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Discussions of DotNetNuke for ASP.NET 1.x and above.  &lt;a href="http://www.dotnetnuke.com/" target="_blank"&gt;DNN Home&lt;/a&gt; &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=105&amp;c=25" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: JavaScript and DotNetNuke???</title><link>http://forums.asp.net/thread/1163466.aspx</link><pubDate>Mon, 09 Jan 2006 21:44:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1163466</guid><dc:creator>kcabrams</dc:creator><author>kcabrams</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1163466.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1163466</wfw:commentRss><description>&lt;p&gt;Perfect.&amp;nbsp; Thanks to both of you.&amp;nbsp; I really thought I was up sh1ts creek there for a second.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;KC&lt;/p&gt;</description></item><item><title>Re: JavaScript and DotNetNuke???</title><link>http://forums.asp.net/thread/1163445.aspx</link><pubDate>Mon, 09 Jan 2006 21:18:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1163445</guid><dc:creator>ech01</dc:creator><author>ech01</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1163445.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1163445</wfw:commentRss><description>&lt;p&gt;See this post.&lt;/p&gt;
&lt;p&gt;&lt;a HREF="/1158844/ShowPost.aspx"&gt;http://forums.asp.net/1158844/ShowPost.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: JavaScript and DotNetNuke???</title><link>http://forums.asp.net/thread/1163438.aspx</link><pubDate>Mon, 09 Jan 2006 21:09:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1163438</guid><dc:creator>EmperorWal</dc:creator><author>EmperorWal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1163438.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1163438</wfw:commentRss><description>&lt;p&gt;That isn't DNN changing the names, that is ASP.NET changing the names. It does this to make sure that each control has a unique ID on the client. Say you had two server controls in an ASP.NET page, each with a textbox with the ID txtFirstName, what should ASP.NET do to make sure all IDs are unique? It builds a unique name out of the Page/Control hierarchy.&lt;/p&gt;
&lt;p&gt;Each ASP.Net Control exposes a property called ClientID which gives you the unique control name that is legal to use on the client. You can dynamically create javascript and pass this ClientID to your script as the value of a JavaScript variable. ASP.NET has a bunch of APIs to help manage the transition from Server to Client programming. It isn't easy, but the plubming is there. Look for APIs like RegisterStartupScript and RegisterClientScriptBlock to find out more.&lt;/p&gt;
&lt;p&gt;Even&amp;nbsp;better is to use the DNN ClientAPI and its methods in ClientAPI.vb, the explanations in ClientAPITests, and the scripts in the JS folder. These wrap the ASP.NET APIs and give you a sturcture for managing your client script.&lt;/p&gt;</description></item><item><title>JavaScript and DotNetNuke???</title><link>http://forums.asp.net/thread/1163284.aspx</link><pubDate>Mon, 09 Jan 2006 19:08:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1163284</guid><dc:creator>kcabrams</dc:creator><author>kcabrams</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1163284.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1163284</wfw:commentRss><description>&lt;p&gt;I am in the process of writing a&amp;nbsp;bunch of modules for DNN 4.x&amp;nbsp; Some of these modules use a decent amount of JavaScript.&amp;nbsp; I noticed that DNN changes the id and name of all of my&amp;nbsp;server controls.&amp;nbsp; Is there any way to avoid this at all or maybe a work around of some kind?&lt;/p&gt;
&lt;p&gt;example: id="txtFirstName" &lt;/p&gt;
&lt;p&gt;gets changed to &lt;/p&gt;
&lt;p&gt;id="dnn:ctr393:_ctl0:txtFirstName"&lt;/p&gt;</description></item></channel></rss>