<?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>GotCommunityNet</title><link>http://forums.asp.net/131.aspx</link><description>Discuss the GotCommunityNet open source application for ASP.NET 1.x.  &lt;a href="http://www.gotdotnet.com/community/workspaces/default.aspx?id=39959859-68b5-4f5e-bd85-c1a8555e39a9" target="_blank"&gt;GotCommunityNet Home&lt;/a&gt; &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=156&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>Place coding</title><link>http://forums.asp.net/thread/1122630.aspx</link><pubDate>Thu, 24 Nov 2005 01:02:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1122630</guid><dc:creator>Wow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1122630.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=131&amp;PostID=1122630</wfw:commentRss><description>&lt;FONT size=5&gt;May I ask you where you put the coding at........ THANKS!&lt;/FONT&gt;</description></item><item><title>Link module: enhancement suggestion</title><link>http://forums.asp.net/thread/700404.aspx</link><pubDate>Thu, 23 Sep 2004 09:59:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:700404</guid><dc:creator>oetievant</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/700404.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=131&amp;PostID=700404</wfw:commentRss><description>Hello, 
&lt;br /&gt;

&lt;br /&gt;
I found out a quite anoying issue about the link module.
&lt;br /&gt;

&lt;br /&gt;
If you choose &amp;quot;open in new window&amp;quot; for the links, you'll see that the whole page is posted back to the server, ans then the new window opens.
&lt;br /&gt;

&lt;br /&gt;
This causes problems, especially if using an IFrame in the caller, as it will be refreshed, and you may loose the transaction you are in, inside this IFrame.
&lt;br /&gt;

&lt;br /&gt;
You can see what I mean at http://www.ladycaronline.de/de/home/default.aspx?tabid=33
&lt;br /&gt;
In this page, there is an insurance premium calculator in an Irame, and some links to FAQs subject at the bottom of the page. When I was using the &amp;quot;link&amp;quot; module, I would loose my premium claculation whenever selecting a link: bad, isn't it?
&lt;br /&gt;

&lt;br /&gt;
I did a quick an dirty hack, which I think should be intergrated in the link module.
&lt;br /&gt;
There is ofcourse room for improvement, but that's a start.
&lt;br /&gt;
This hack is for the &amp;quot;dropdownlist&amp;quot; display type:
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;SCRIPT language=javascript&amp;gt;
&lt;br /&gt;
function HandleFAQChange()
&lt;br /&gt;
{
&lt;br /&gt;
	targetUrl = &amp;quot;/DE/Home/Default.aspx?tabId=&amp;quot;;
&lt;br /&gt;

&lt;br /&gt;
	selectedFaqIdx = document.all[&amp;quot;FAQSelectList&amp;quot;].selectedIndex;
&lt;br /&gt;
	selectedFaqId = document.all[&amp;quot;FAQSelectList&amp;quot;].options[selectedFaqIdx].value;
&lt;br /&gt;
	
&lt;br /&gt;
	if (selectedFaqId != &amp;quot;&amp;quot;)
&lt;br /&gt;
		document.all[&amp;quot;FAQGoLink&amp;quot;].href = encodeURI(targetUrl + selectedFaqId);	
&lt;br /&gt;
	else
&lt;br /&gt;
		document.all[&amp;quot;FAQGoLink&amp;quot;].removeAttribute(&amp;quot;href&amp;quot;,&amp;quot;false&amp;quot;);
&lt;br /&gt;
}
&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;SSELECT class=NormalTextBox style=&amp;quot;WIDTH: 500px&amp;quot; onchange=HandleFAQChange() 
&lt;br /&gt;
name=FAQSelectList&amp;gt; 
&lt;br /&gt;
    &amp;lt;OPTION value=&amp;quot;&amp;quot; selected&amp;gt;Please select text&amp;lt;/OPTION&amp;gt; 
&lt;br /&gt;
    &amp;lt;OPTION value=TabId1&amp;gt;Link1&amp;lt;/OPTION&amp;gt; 
&lt;br /&gt;
    ...
&lt;br /&gt;
    &amp;lt;OPTION value=TabIdN&amp;gt;Linkn&amp;lt;/OPTION&amp;gt; 
&lt;br /&gt;
&amp;lt;/SELECT&amp;gt; 
&lt;br /&gt;
&amp;amp;nbsp; 
&lt;br /&gt;
&amp;lt;A class=CommandButton target=_blank name=FAQGoLink&amp;gt;Go&amp;lt;/A&amp;gt; 
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;</description></item></channel></rss>