<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>artiso Blog - ASP.Net</title>
    <link>http://www.artiso.com/ProBlog/</link>
    <description>Neues rund um's Thema .Net</description>
    <language>de-de</language>
    <copyright>Thomas</copyright>
    <lastBuildDate>Fri, 16 May 2008 15:50:11 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>tschissler@artiso.com</managingEditor>
    <webMaster>tschissler@artiso.com</webMaster>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=442e27de-28f9-4f44-a6c5-14fdd432e09d</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,442e27de-28f9-4f44-a6c5-14fdd432e09d.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,442e27de-28f9-4f44-a6c5-14fdd432e09d.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=442e27de-28f9-4f44-a6c5-14fdd432e09d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Für eine ASP.Net Anwendung möchte ich gerne die Versionen meiner Anwendung und aller
referenzierten Assemblies ausgeben. Bei Winforms kann ich für die Anwendung mit Application.ProductVersion
die Version meiner Anwendung abfragen, die ich in der AssemblyInfo.cs eingestellt
habe. Das geht bei ASP.Net nicht. Hier die Lösung, wie man das im Web macht, gleich
mit Sortierung:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();

<span style="color: #0000ff">if</span> (assembly
!= <span style="color: #0000ff">null</span>) { lblProductVersion.Text = assembly.GetName().Name
+ <span style="color: #006080">" - "</span> + assembly.GetName().Version.ToString();
var referenceAssemblies = from a <span style="color: #0000ff">in</span> assembly.GetReferencedAssemblies()
orderby a.Name select a; <span style="color: #0000ff">foreach</span> (AssemblyName
referenceAssemblyName <span style="color: #0000ff">in</span> referenceAssemblies)
{ lblProductVersion.Text += <span style="color: #006080">"&lt;br&gt;"</span> + referenceAssemblyName.Name
+ <span style="color: #006080">" - "</span> + referenceAssemblyName.Version; } }</pre>
        </div>
        <p>
 
</p>
        <p>
Die Ausgabe sieht dann ungefähr so aus:
</p>
        <p>
          <span id="ctl00_ContentPlaceHolder1_ucSysInfo1_lblProductVersion">MyApplication -
1.0.3058.30144<br />
AjaxControlToolkit - 1.0.10618.0<br />
ArtisoAssertLib - 1.0.0.0<br />
CommonComponents - 1.0.3056.28557<br />
CommonContracts - 1.0.3056.28555<br />
CrystalDecisions.CrystalReports.Engine - 11.5.3700.0<br />
CrystalDecisions.ReportSource - 11.5.3700.0<br />
CrystalDecisions.Shared - 11.5.3700.0<br />
cTextBox - 1.0.3058.27781<br />
DataContracts - 1.0.0.0<br />
Infragistics35.WebUI.Misc.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.Shared.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.UltraWebChart.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.UltraWebGrid.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.UltraWebNavigator.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.UltraWebTab.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.UltraWebToolbar.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.WebDataInput.v8.1 - 8.1.20081.1000<br />
Infragistics35.WebUI.WebDateChooser.v8.1 - 8.1.20081.1000<br />
ListValuesComponents - 1.0.3057.30147<br />
ListValuesContracts - 1.0.3057.30146<br />
LoginManagerComponents - 1.0.3033.29632<br />
LoginManagerContracts - 1.0.0.0<br />
mscorlib - 2.0.0.0<br />
NavigationComponents - 1.0.3058.27781<br />
NavigationContracts - 1.0.3058.27780<br />
PCMAreaComponents - 1.0.3058.27781<br />
PCMAreaContracts - 1.0.3058.27779<br />
ProductsAreaComponents - 1.0.3058.27779<br />
ProjectsAreaComponents - 1.0.3058.27780<br />
ProjectsAreaContracts - 1.0.3058.27778<br />
ReportingComponents - 1.0.3058.27781<br />
ReportingContracts - 1.0.3058.27780<br />
SearchComponents - 1.0.3058.27779<br />
SearchContracts - 1.0.3058.27779<br />
System - 2.0.0.0<br />
System.Configuration - 2.0.0.0<br />
System.Core - 3.5.0.0<br />
System.Data - 2.0.0.0<br />
System.Data.DataSetExtensions - 3.5.0.0<br />
System.Data.Linq - 3.5.0.0<br />
System.Drawing - 2.0.0.0<br />
System.Web - 2.0.0.0<br />
System.Web.Extensions - 3.5.0.0<br />
System.Web.Services - 2.0.0.0<br />
System.Xml - 2.0.0.0<br />
TaskListComponent - 1.0.3056.28564<br />
TaskListContract - 1.0.3056.28560<br />
TypesComponents - 1.0.3057.30147<br />
TypesContracts - 1.0.3057.30147<br />
UserManagementContracts - 1.0.0.0<br />
Validators - 1.0.0.0<br />
wwDataBinder - 1.0.2908.21817</span>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=442e27de-28f9-4f44-a6c5-14fdd432e09d" />
      </body>
      <title>Assembly versionen bei Web-Anwendungen ausgeben</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,442e27de-28f9-4f44-a6c5-14fdd432e09d.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,442e27de-28f9-4f44-a6c5-14fdd432e09d.aspx</link>
      <pubDate>Fri, 16 May 2008 15:50:11 GMT</pubDate>
      <description>&lt;p&gt;
Für eine ASP.Net Anwendung möchte ich gerne die Versionen meiner Anwendung und aller
referenzierten Assemblies ausgeben. Bei Winforms kann ich für die Anwendung mit Application.ProductVersion
die Version meiner Anwendung abfragen, die ich in der AssemblyInfo.cs eingestellt
habe. Das geht bei ASP.Net nicht. Hier die Lösung, wie man das im Web macht, gleich
mit Sortierung:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();

&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (assembly
!= &lt;span style="color: #0000ff"&gt;null&lt;/span&gt;) { lblProductVersion.Text = assembly.GetName().Name
+ &lt;span style="color: #006080"&gt;" - "&lt;/span&gt; + assembly.GetName().Version.ToString();
var referenceAssemblies = from a &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; assembly.GetReferencedAssemblies()
orderby a.Name select a; &lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt; (AssemblyName
referenceAssemblyName &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; referenceAssemblies)
{ lblProductVersion.Text += &lt;span style="color: #006080"&gt;"&amp;lt;br&amp;gt;"&lt;/span&gt; + referenceAssemblyName.Name
+ &lt;span style="color: #006080"&gt;" - "&lt;/span&gt; + referenceAssemblyName.Version; } }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Die Ausgabe sieht dann ungefähr so aus:
&lt;/p&gt;
&lt;p&gt;
&lt;span id="ctl00_ContentPlaceHolder1_ucSysInfo1_lblProductVersion"&gt;MyApplication -
1.0.3058.30144&lt;br&gt;
AjaxControlToolkit - 1.0.10618.0&lt;br&gt;
ArtisoAssertLib - 1.0.0.0&lt;br&gt;
CommonComponents - 1.0.3056.28557&lt;br&gt;
CommonContracts - 1.0.3056.28555&lt;br&gt;
CrystalDecisions.CrystalReports.Engine - 11.5.3700.0&lt;br&gt;
CrystalDecisions.ReportSource - 11.5.3700.0&lt;br&gt;
CrystalDecisions.Shared - 11.5.3700.0&lt;br&gt;
cTextBox - 1.0.3058.27781&lt;br&gt;
DataContracts - 1.0.0.0&lt;br&gt;
Infragistics35.WebUI.Misc.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.Shared.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.UltraWebChart.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.UltraWebGrid.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.UltraWebNavigator.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.UltraWebTab.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.UltraWebToolbar.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.WebDataInput.v8.1 - 8.1.20081.1000&lt;br&gt;
Infragistics35.WebUI.WebDateChooser.v8.1 - 8.1.20081.1000&lt;br&gt;
ListValuesComponents - 1.0.3057.30147&lt;br&gt;
ListValuesContracts - 1.0.3057.30146&lt;br&gt;
LoginManagerComponents - 1.0.3033.29632&lt;br&gt;
LoginManagerContracts - 1.0.0.0&lt;br&gt;
mscorlib - 2.0.0.0&lt;br&gt;
NavigationComponents - 1.0.3058.27781&lt;br&gt;
NavigationContracts - 1.0.3058.27780&lt;br&gt;
PCMAreaComponents - 1.0.3058.27781&lt;br&gt;
PCMAreaContracts - 1.0.3058.27779&lt;br&gt;
ProductsAreaComponents - 1.0.3058.27779&lt;br&gt;
ProjectsAreaComponents - 1.0.3058.27780&lt;br&gt;
ProjectsAreaContracts - 1.0.3058.27778&lt;br&gt;
ReportingComponents - 1.0.3058.27781&lt;br&gt;
ReportingContracts - 1.0.3058.27780&lt;br&gt;
SearchComponents - 1.0.3058.27779&lt;br&gt;
SearchContracts - 1.0.3058.27779&lt;br&gt;
System - 2.0.0.0&lt;br&gt;
System.Configuration - 2.0.0.0&lt;br&gt;
System.Core - 3.5.0.0&lt;br&gt;
System.Data - 2.0.0.0&lt;br&gt;
System.Data.DataSetExtensions - 3.5.0.0&lt;br&gt;
System.Data.Linq - 3.5.0.0&lt;br&gt;
System.Drawing - 2.0.0.0&lt;br&gt;
System.Web - 2.0.0.0&lt;br&gt;
System.Web.Extensions - 3.5.0.0&lt;br&gt;
System.Web.Services - 2.0.0.0&lt;br&gt;
System.Xml - 2.0.0.0&lt;br&gt;
TaskListComponent - 1.0.3056.28564&lt;br&gt;
TaskListContract - 1.0.3056.28560&lt;br&gt;
TypesComponents - 1.0.3057.30147&lt;br&gt;
TypesContracts - 1.0.3057.30147&lt;br&gt;
UserManagementContracts - 1.0.0.0&lt;br&gt;
Validators - 1.0.0.0&lt;br&gt;
wwDataBinder - 1.0.2908.21817&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=442e27de-28f9-4f44-a6c5-14fdd432e09d" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,442e27de-28f9-4f44-a6c5-14fdd432e09d.aspx</comments>
      <category>ASP.Net;Tipps und Tricks</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=d92d4053-6064-42c9-88eb-32a298ad170a</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,d92d4053-6064-42c9-88eb-32a298ad170a.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,d92d4053-6064-42c9-88eb-32a298ad170a.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=d92d4053-6064-42c9-88eb-32a298ad170a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
...sollte man sich mal die AsyncPostbackTriggers anschaen, evtl. liegt das Proble
dort begraben. Aber erst mal der Reihe nach.
</p>
        <p>
Ich hatte eine Web-Seite, die sich plötzlich nicht mehr aufrufen lies. Ich habe unterschiedliche
Fehler erhalten. Mit dem IIS wurde einfach angezeigt, dass die Seite nicht verfügbar
ist, im Debug meldete Visual Studio eine OutOfMemoryException und der Developer Web
Server ist gleich mal abgeschmiert. Nach einigem Suchen haben wir dann das Problem
entdeckt. Auf der Seite war ein AsyncPostbackTrigger auf eine Textbox eingetragen.
Diese Textbox wurde aber irgendwann entfernt. Dies scheint das oben beschriebene Problem
ausgelöst zu haben.
</p>
        <p>
Vielleicht hat ja mal jemend einen ähnlichen Fehler und kann ihn mit dieser Info schnell
beheben.
</p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=d92d4053-6064-42c9-88eb-32a298ad170a" />
      </body>
      <title>Wenn die Web-Seite nicht mehr ausgef&amp;uuml;hrt wird...</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,d92d4053-6064-42c9-88eb-32a298ad170a.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,d92d4053-6064-42c9-88eb-32a298ad170a.aspx</link>
      <pubDate>Mon, 04 Feb 2008 11:23:28 GMT</pubDate>
      <description>&lt;p&gt;
...sollte man sich mal die AsyncPostbackTriggers anschaen, evtl. liegt das Proble
dort begraben. Aber erst mal der Reihe nach.
&lt;/p&gt;
&lt;p&gt;
Ich hatte eine Web-Seite, die sich plötzlich nicht mehr aufrufen lies. Ich habe unterschiedliche
Fehler erhalten. Mit dem IIS wurde einfach angezeigt, dass die Seite nicht verfügbar
ist, im Debug meldete Visual Studio eine OutOfMemoryException und der Developer Web
Server ist gleich mal abgeschmiert. Nach einigem Suchen haben wir dann das Problem
entdeckt. Auf der Seite war ein AsyncPostbackTrigger auf eine Textbox eingetragen.
Diese Textbox wurde aber irgendwann entfernt. Dies scheint das oben beschriebene Problem
ausgelöst zu haben.
&lt;/p&gt;
&lt;p&gt;
Vielleicht hat ja mal jemend einen ähnlichen Fehler und kann ihn mit dieser Info schnell
beheben.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=d92d4053-6064-42c9-88eb-32a298ad170a" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,d92d4053-6064-42c9-88eb-32a298ad170a.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=bf90cb1c-a821-41ae-a70d-261cb5c3cd51</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,bf90cb1c-a821-41ae-a70d-261cb5c3cd51.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,bf90cb1c-a821-41ae-a70d-261cb5c3cd51.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=bf90cb1c-a821-41ae-a70d-261cb5c3cd51</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Folgende Anforderung: Ich möchte in einer Tabelle, die über die gesamte Bildschirmbreite
geht, den Inhalt einer Zelle scrollbar haben. 
</p>
        <p>
Mein Ansatz: Ich mache in die Tabellenzelle ein DIV mit Overflow:auto
</p>
        <p>
Problem: Das funktioniert zwar im FireFox, aber nicht im IE. Der IE geht wohl her
und schaut sich den Inhalt des DIVs an und macht die Tabelle dann so breit, dass der
gesamte Inhalt reinpasst und berücksichtigt dabei nicht, dass das DIV ja auch scrollen
könnte. Dieser Effekt tritt auf, wenn das DIV eine prozentuale Breite hat.
</p>
        <p>
Folgender Code verdeutlichd das Problem. Das obere DIV verhällt sich korrekt, da es
nicht in eine Tabelle eingebettet ist. Bei den unteren beiden tritt aber das beschriebene
Problem auf.
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="background-color: #ffff00">&lt;%@
Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ValuePlanner_2008.Web.ProductArea.WebForm1"
%&gt;</span>
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">html</span>
            <span style="color: #0000ff">&gt;</span>
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">head</span>
            <span style="color: #ff0000">runat</span>
            <span style="color: #0000ff">="server"</span>
            <span style="color: #0000ff">&gt;</span>
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">title</span>
            <span style="color: #0000ff">&gt;</span>Untitled
Page<span style="color: #0000ff">&lt;/</span><span style="color: #800000">title</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">head</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">body</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">form</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="form1"</span><span style="color: #ff0000">runat</span><span style="color: #0000ff">="server"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; overflow: auto"</span><span style="color: #0000ff">&gt;</span> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">script</span><span style="color: #ff0000">language</span><span style="color: #0000ff">="javascript"</span><span style="color: #ff0000">type</span><span style="color: #0000ff">="text/javascript"</span><span style="color: #0000ff">&gt;</span><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 1:</span>  </pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 2:</span><span style="color: #0000ff">function</span> fnRefreshScrollPosition(source)</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 3:</span> {</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 4:</span> document.getElementById(<span style="color: #006080">"staticUnits"</span>).scrollLeft
= source;</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 5:</span> }</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 6:</span></pre><span style="color: #0000ff">&lt;/</span><span style="color: #800000">script</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">table</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">td</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; height: 50px;"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="staticUnits"</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; overflow: auto;"</span><span style="color: #0000ff">&gt;</span> bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">td</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">table</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">table</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">td</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; height: 50px;"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="units"</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; overflow: auto;"</span><span style="color: #ff0000">onscroll</span><span style="color: #0000ff">="fnRefreshScrollPosition(this.scrollLeft);"</span><span style="color: #0000ff">&gt;</span> cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc<span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">td</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">table</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">form</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">body</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">html</span><span style="color: #0000ff">&gt;</span></pre>
        </div>
        <p>
 
</p>
        <p>
          <strong>Lösung 1:</strong>
          <br />
Ich kann den DIVs eine feste Breite geben. Aber eigentlich will ich ja, dass der gesamte
zur Verfügung stehende Platz genutzt wird und wenn dieser nicht ausreicht gescrollt
wird. Um das zu erreichen müsste ich über ein Resitze-Event die Breite der Tabellenzeile
ermitteln und diese dann jedesmal auf die DIVs anwenden. Das wird aber schnell sehr
hässlich wenn Margins etc. mit berücksichtigt werden müssen.
</p>
        <p>
          <strong>Lösung 2:</strong>
          <br />
Ich positioniere die DIVs einfach absolut. Dann werden Sie nicht mehr als Inhalt der
Tabelle berücksichtigt und die Tabelle erstreckt sich über genau 100% der Breite.
Gut nutzen kann man hier den Effekt, dass die Positionsangaben bei absoluter Poistionierung
sich immer auf den Container, also in unserem Fall auf die Tabellenzelle beziehen.
Ein Stolperstein dabei ist, dass das DIV natürlich auch keinen Einfluss mehr auf die
Höhe der Tabellenzelle hat. Diese muss man nun explizit angeben, ich habe da einfach
mal 50px vorgegeben. Der Code sieht dann so aus. Hier scrollen nun alle 3 DIVs wie
gewünscht.
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="background-color: #ffff00">&lt;%@
Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ValuePlanner_2008.Web.ProductArea.WebForm1"
%&gt;</span>
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">html</span>
            <span style="color: #0000ff">&gt;</span>
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">head</span>
            <span style="color: #ff0000">runat</span>
            <span style="color: #0000ff">="server"</span>
            <span style="color: #0000ff">&gt;</span>
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">title</span>
            <span style="color: #0000ff">&gt;</span>Untitled
Page<span style="color: #0000ff">&lt;/</span><span style="color: #800000">title</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">head</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">body</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">form</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="form1"</span><span style="color: #ff0000">runat</span><span style="color: #0000ff">="server"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; overflow: auto"</span><span style="color: #0000ff">&gt;</span> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">script</span><span style="color: #ff0000">language</span><span style="color: #0000ff">="javascript"</span><span style="color: #ff0000">type</span><span style="color: #0000ff">="text/javascript"</span><span style="color: #0000ff">&gt;</span><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 1:</span>  </pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 2:</span><span style="color: #0000ff">function</span> fnRefreshScrollPosition(source)</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 3:</span> {</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 4:</span> document.getElementById(<span style="color: #006080">"staticUnits"</span>).scrollLeft
= source;</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 5:</span> }</pre><pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 6:</span></pre><span style="color: #0000ff">&lt;/</span><span style="color: #800000">script</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">table</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">td</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; <strong><u>height: 50px</u></strong>;"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="staticUnits"</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; overflow: auto; <strong><u>position: absolute</u></strong>"</span><span style="color: #0000ff">&gt;</span> bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">td</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">table</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">table</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">td</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; <strong><u>height: 50px</u></strong>;"</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="units"</span><span style="color: #ff0000">style</span><span style="color: #0000ff">="width:
100%; overflow: auto; <strong><u>position: absolute</u></strong>;"</span><span style="color: #ff0000">onscroll</span><span style="color: #0000ff">="fnRefreshScrollPosition(this.scrollLeft);"</span><span style="color: #0000ff">&gt;</span> cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc<span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;</span><span style="color: #800000">br</span><span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">td</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">tr</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">table</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">form</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">body</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">html</span><span style="color: #0000ff">&gt;</span></pre>
        </div>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=bf90cb1c-a821-41ae-a70d-261cb5c3cd51" />
      </body>
      <title>Fehler im IE mit &amp;lt;DIV  style=&amp;quot;overflow:auto&amp;quot;&amp;gt; in Tabellen mit width=&amp;quot;100%&amp;quot;</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,bf90cb1c-a821-41ae-a70d-261cb5c3cd51.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,bf90cb1c-a821-41ae-a70d-261cb5c3cd51.aspx</link>
      <pubDate>Thu, 29 Nov 2007 13:28:56 GMT</pubDate>
      <description>&lt;p&gt;
Folgende Anforderung: Ich möchte in einer Tabelle, die über die gesamte Bildschirmbreite
geht, den Inhalt einer Zelle scrollbar haben. 
&lt;/p&gt;
&lt;p&gt;
Mein Ansatz: Ich mache in die Tabellenzelle ein DIV mit Overflow:auto
&lt;/p&gt;
&lt;p&gt;
Problem: Das funktioniert zwar im FireFox, aber nicht im IE. Der IE geht wohl her
und schaut sich den Inhalt des DIVs an und macht die Tabelle dann so breit, dass der
gesamte Inhalt reinpasst und berücksichtigt dabei nicht, dass das DIV ja auch scrollen
könnte. Dieser Effekt tritt auf, wenn das DIV eine prozentuale Breite hat.
&lt;/p&gt;
&lt;p&gt;
Folgender Code verdeutlichd das Problem. Das obere DIV verhällt sich korrekt, da es
nicht in eine Tabelle eingebettet ist. Bei den unteren beiden tritt aber das beschriebene
Problem auf.
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="background-color: #ffff00"&gt;&amp;lt;%@
Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ValuePlanner_2008.Web.ProductArea.WebForm1"
%&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;html&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;head&lt;/span&gt; &lt;span style="color: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;title&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Untitled
Page&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;title&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;head&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;body&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;form&lt;/span&gt; &lt;span style="color: #ff0000"&gt;id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; overflow: auto"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;script&lt;/span&gt; &lt;span style="color: #ff0000"&gt;language&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="javascript"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="text/javascript"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;function&lt;/span&gt; fnRefreshScrollPosition(source)&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; document.getElementById(&lt;span style="color: #006080"&gt;"staticUnits"&lt;/span&gt;).scrollLeft
= source;&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt; }&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; &lt;/pre&gt;
&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;script&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; height: 50px;"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="staticUnits"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; overflow: auto;"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; height: 50px;"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="units"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; overflow: auto;"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;onscroll&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="fnRefreshScrollPosition(this.scrollLeft);"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;form&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;body&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;html&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Lösung 1:&lt;/strong&gt;
&lt;br&gt;
Ich kann den DIVs eine feste Breite geben. Aber eigentlich will ich ja, dass der gesamte
zur Verfügung stehende Platz genutzt wird und wenn dieser nicht ausreicht gescrollt
wird. Um das zu erreichen müsste ich über ein Resitze-Event die Breite der Tabellenzeile
ermitteln und diese dann jedesmal auf die DIVs anwenden. Das wird aber schnell sehr
hässlich wenn Margins etc. mit berücksichtigt werden müssen.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Lösung 2:&lt;/strong&gt;
&lt;br&gt;
Ich positioniere die DIVs einfach absolut. Dann werden Sie nicht mehr als Inhalt der
Tabelle berücksichtigt und die Tabelle erstreckt sich über genau 100% der Breite.
Gut nutzen kann man hier den Effekt, dass die Positionsangaben bei absoluter Poistionierung
sich immer auf den Container, also in unserem Fall auf die Tabellenzelle beziehen.
Ein Stolperstein dabei ist, dass das DIV natürlich auch keinen Einfluss mehr auf die
Höhe der Tabellenzelle hat. Diese muss man nun explizit angeben, ich habe da einfach
mal 50px vorgegeben. Der Code sieht dann so aus. Hier scrollen nun alle 3 DIVs wie
gewünscht.
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="background-color: #ffff00"&gt;&amp;lt;%@
Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ValuePlanner_2008.Web.ProductArea.WebForm1"
%&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;html&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;head&lt;/span&gt; &lt;span style="color: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;title&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Untitled
Page&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;title&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;head&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;body&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;form&lt;/span&gt; &lt;span style="color: #ff0000"&gt;id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; overflow: auto"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;script&lt;/span&gt; &lt;span style="color: #ff0000"&gt;language&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="javascript"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="text/javascript"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;function&lt;/span&gt; fnRefreshScrollPosition(source)&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; document.getElementById(&lt;span style="color: #006080"&gt;"staticUnits"&lt;/span&gt;).scrollLeft
= source;&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt; }&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; &lt;/pre&gt;
&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;script&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; &lt;strong&gt;&lt;u&gt;height: 50px&lt;/u&gt;&lt;/strong&gt;;"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="staticUnits"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; overflow: auto; &lt;strong&gt;&lt;u&gt;position: absolute&lt;/u&gt;&lt;/strong&gt;"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; &lt;strong&gt;&lt;u&gt;height: 50px&lt;/u&gt;&lt;/strong&gt;;"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000"&gt;id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="units"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;style&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="width:
100%; overflow: auto; &lt;strong&gt;&lt;u&gt;position: absolute&lt;/u&gt;&lt;/strong&gt;;"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;onscroll&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="fnRefreshScrollPosition(this.scrollLeft);"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;br&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;div&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;form&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;body&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;html&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;/pre&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=bf90cb1c-a821-41ae-a70d-261cb5c3cd51" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,bf90cb1c-a821-41ae-a70d-261cb5c3cd51.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=cc827870-1426-4a57-bdd4-472e732c3002</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,cc827870-1426-4a57-bdd4-472e732c3002.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,cc827870-1426-4a57-bdd4-472e732c3002.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=cc827870-1426-4a57-bdd4-472e732c3002</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Events in eigene WebUserControls (.ascx) einzubauen ist im Prinzip ganz einfach:
</p>
        <div>
          <div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 1:</span>
              <span style="color: #0000ff">public</span>
              <span style="color: #0000ff">event</span> ClickEventHandler
Clicked;</pre>
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 2:</span>
              <span style="color: #0000ff">public</span>
              <span style="color: #0000ff">delegate</span>
              <span style="color: #0000ff">void</span> ClickEventHandler(<span style="color: #0000ff">object</span> sender,
EventArgs e);</pre>
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 3:</span>
              <span style="color: #0000ff">protected</span>
              <span style="color: #0000ff">virtual</span>
              <span style="color: #0000ff">void</span> OnClicked(EventArgs
e)</pre>
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 4:</span> {</pre>
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 5:</span>
              <span style="color: #0000ff">if</span> (Clicked
!= <span style="color: #0000ff">null</span>)</pre>
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 6:</span> Clicked(<span style="color: #0000ff">this</span>,
e);</pre>
            <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
              <span style="color: #606060"> 7:</span> }</pre>
          </div>
        </div>
        <p>
          <br />
Man deviniert ein Event mit einem Eventhandler-Typ (Zeile1), definiert einen Delegaten
für den Eventhandler (Zeile 2) und kann dann eine Methode definieren, die den Event
auslöst. Diese Methode ruft man dann auf, wenn das Event ausgelöst werden soll.
</p>
        <p>
Wenn man das UserControl in eine Seite einbaut kann man jetzt im CodeBehind ganz einfach
einen Eventhandler auf den Event registrieren und fertig:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="color: #0000ff">this</span>.ucButton.Clicked
+= <span style="color: #0000ff">new</span> ClickEventHandler(ucButton_Clicked);</pre>
        </div>
        <p>
          <br />
Auch im Markup kann man den Event angeben, vorausgesetzt man hat den entsprechenden
Eventhandler angelegt. 
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="color: #0000ff">&lt;</span>
            <span style="color: #800000">uc3:ucButton</span>
            <span style="color: #ff0000">ID</span>
            <span style="color: #0000ff">="ucButton"</span>
            <span style="color: #ff0000">runat</span>
            <span style="color: #0000ff">="server"</span>
            <span style="color: #ff0000">Text</span>
            <span style="color: #0000ff">="Gross"</span>
            <span style="color: #ff0000">ImageURL</span>
            <span style="color: #0000ff">="~/Images/Status/GreenBox.png"</span>
            <span style="color: #ff0000">OnClicked</span>
            <span style="color: #0000ff">="ucButton_Clicked"</span>
            <span style="color: #0000ff">/&gt;</span>
          </pre>
        </div>
        <br />
Was bei mir aber nicht funktioniert, ist der Designtime-Support. Bei anderen Controls
kann ich die Events im Property-Grid sehen und ich kann per Doppelclick auch einen
Standard-Eventhandler einrichten und registrieren. Das geht bei mir nicht. Hat jemand
dafür eine Lösung? Wenn ja, dann bitte her damit.<img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=cc827870-1426-4a57-bdd4-472e732c3002" /></body>
      <title>Events in ascx-UserControls</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,cc827870-1426-4a57-bdd4-472e732c3002.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,cc827870-1426-4a57-bdd4-472e732c3002.aspx</link>
      <pubDate>Wed, 28 Nov 2007 15:04:12 GMT</pubDate>
      <description>&lt;p&gt;
Events in eigene WebUserControls (.ascx) einzubauen ist im Prinzip ganz einfach:
&lt;/p&gt;
&lt;div&gt;
&lt;div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;event&lt;/span&gt; ClickEventHandler
Clicked;&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;delegate&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; ClickEventHandler(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender,
EventArgs e);&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;virtual&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; OnClicked(EventArgs
e)&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (Clicked
!= &lt;span style="color: #0000ff"&gt;null&lt;/span&gt;)&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; Clicked(&lt;span style="color: #0000ff"&gt;this&lt;/span&gt;,
e);&lt;/pre&gt;
&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt; 7:&lt;/span&gt; }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
Man deviniert ein Event mit einem Eventhandler-Typ (Zeile1), definiert einen Delegaten
für den Eventhandler (Zeile 2) und kann dann eine Methode definieren, die den Event
auslöst. Diese Methode ruft man dann auf, wenn das Event ausgelöst werden soll.
&lt;/p&gt;
&lt;p&gt;
Wenn man das UserControl in eine Seite einbaut kann man jetzt im CodeBehind ganz einfach
einen Eventhandler auf den Event registrieren und fertig:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.ucButton.Clicked
+= &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ClickEventHandler(ucButton_Clicked);&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
Auch im Markup kann man den Event angeben, vorausgesetzt man hat den entsprechenden
Eventhandler angelegt. 
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;uc3:ucButton&lt;/span&gt; &lt;span style="color: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="ucButton"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Gross"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;ImageURL&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="~/Images/Status/GreenBox.png"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;OnClicked&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="ucButton_Clicked"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br&gt;
Was bei mir aber nicht funktioniert, ist der Designtime-Support. Bei anderen Controls
kann ich die Events im Property-Grid sehen und ich kann per Doppelclick auch einen
Standard-Eventhandler einrichten und registrieren. Das geht bei mir nicht. Hat jemand
dafür eine Lösung? Wenn ja, dann bitte her damit.&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=cc827870-1426-4a57-bdd4-472e732c3002" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,cc827870-1426-4a57-bdd4-472e732c3002.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=789612c8-5faa-4f2d-b97e-64a1f56c5f19</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,789612c8-5faa-4f2d-b97e-64a1f56c5f19.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,789612c8-5faa-4f2d-b97e-64a1f56c5f19.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=789612c8-5faa-4f2d-b97e-64a1f56c5f19</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Sicher ein alter Hut, aber für mich war's gerade neu und ich finde das echt klasse.
Mit CSS kann man Elemente auch mit einem Abstand zum rechten Rand positionieren. 
</p>
        <p>
&lt;DIV style="position:absolute; right:20px; top:350px; width:300px; height:150px;"&gt;&lt;/DIV&gt;
</p>
        <p>
erzeugt ein DIV das immer exakt 20px vom Rechten Rand entfernt ist, auch nach einem
Resize des Fensters. Genauc das was ich gerade brauche. Man muss dabei nur beschten,
dass right offensichtlich die schwächste Einstellung ist, d.h. wenn left und width
ebenfalls angegeben sind, wird right ignoriert. Wenn aber nur zwei der Werte angegeben
sind, wird der dritte automatisch ermittelt, also z.B. bei left und right wird die
Breite automatisch angepasst. Das selbe funktioniert natürlich auch mit top, bottom
und height.
</p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=789612c8-5faa-4f2d-b97e-64a1f56c5f19" />
      </body>
      <title>Abstand von Rechts mit CSS</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,789612c8-5faa-4f2d-b97e-64a1f56c5f19.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,789612c8-5faa-4f2d-b97e-64a1f56c5f19.aspx</link>
      <pubDate>Wed, 28 Nov 2007 10:46:03 GMT</pubDate>
      <description>&lt;p&gt;
Sicher ein alter Hut, aber für mich war's gerade neu und ich finde das echt klasse.
Mit CSS kann man Elemente auch mit einem Abstand zum rechten Rand positionieren. 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;DIV style="position:absolute; right:20px; top:350px; width:300px; height:150px;"&amp;gt;&amp;lt;/DIV&amp;gt;
&lt;/p&gt;
&lt;p&gt;
erzeugt ein DIV das immer exakt 20px vom Rechten Rand entfernt ist, auch nach einem
Resize des Fensters. Genauc das was ich gerade brauche. Man muss dabei nur beschten,
dass right offensichtlich die schwächste Einstellung ist, d.h. wenn left und width
ebenfalls angegeben sind, wird right ignoriert. Wenn aber nur zwei der Werte angegeben
sind, wird der dritte automatisch ermittelt, also z.B. bei left und right wird die
Breite automatisch angepasst. Das selbe funktioniert natürlich auch mit top, bottom
und height.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=789612c8-5faa-4f2d-b97e-64a1f56c5f19" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,789612c8-5faa-4f2d-b97e-64a1f56c5f19.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=c90114ef-872c-46d8-ab87-f72651e9dbb9</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,c90114ef-872c-46d8-ab87-f72651e9dbb9.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,c90114ef-872c-46d8-ab87-f72651e9dbb9.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=c90114ef-872c-46d8-ab87-f72651e9dbb9</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Dieser Artikel beschreibt ein paar Punkte, die bei der Erstellung von ASP.NET Server
Controls berücksichtigt werden sollten und gibt verschiedene Tipps.
</p>
        <p>
          <a href="http://blog.tatham.oddie.com.au/2007/11/02/writing-good-aspnet-server-controls/">Writing
Good ASP.NET Server Controls « Enter the Tatrix</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=c90114ef-872c-46d8-ab87-f72651e9dbb9" />
      </body>
      <title>Writing Good ASP.NET Server Controls</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,c90114ef-872c-46d8-ab87-f72651e9dbb9.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,c90114ef-872c-46d8-ab87-f72651e9dbb9.aspx</link>
      <pubDate>Tue, 27 Nov 2007 21:21:24 GMT</pubDate>
      <description>&lt;p&gt;
Dieser Artikel beschreibt ein paar Punkte, die bei der Erstellung von ASP.NET Server
Controls berücksichtigt werden sollten und gibt verschiedene Tipps.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.tatham.oddie.com.au/2007/11/02/writing-good-aspnet-server-controls/"&gt;Writing
Good ASP.NET Server Controls « Enter the Tatrix&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=c90114ef-872c-46d8-ab87-f72651e9dbb9" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,c90114ef-872c-46d8-ab87-f72651e9dbb9.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=b0f0c75a-656c-421d-9798-0cb8276c560c</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,b0f0c75a-656c-421d-9798-0cb8276c560c.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,b0f0c75a-656c-421d-9798-0cb8276c560c.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=b0f0c75a-656c-421d-9798-0cb8276c560c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Damit Ich habe ein Web User Control bei dem ich eine TextBox als Property nach außen
geben möchte, damit man die Eigenschaften der Textbox editieren kann. Das kann man
durch ein paar Attribute erreichen.
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">[Browsable(<span style="color: #0000ff">true</span>),
NotifyParentProperty(<span style="color: #0000ff">true</span>), PersistenceMode(PersistenceMode.InnerProperty),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content), RefreshProperties(RefreshProperties.Repaint)] <span style="color: #0000ff">public</span> TextBox
DropDownTextbox { get { <span style="color: #0000ff">return</span><span style="color: #0000ff">this</span>.TextBox1;
} set { <span style="color: #0000ff">this</span>.TextBox1 = <span style="color: #0000ff">value</span>;
} }</pre>
        </div>
        <div> 
</div>
        <div>Damit werden auf dem UserControls zusätzliche Properties angelegt und zwar alle
Properties einer Textbox mit dem Prefix "DropDownTexbox" also dem Namen des Properties
auf dem Control.
</div>
        <div> 
</div>
        <div>
          <a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/UntercontrolsbeiWebUserControlsnachaueng_FB9B/image_2.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="218" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/UntercontrolsbeiWebUserControlsnachaueng_FB9B/image_thumb.png" width="245" border="0" />
          </a>
        </div>
        <div> 
</div>
        <div>Im Markup werden die Properties ganz normal als Attribute eingefügt. Was mich
allerdings etwas gewundert hat war, dass ich im Markup über Intellisense die Textbox
allerdings auch als separates Tag angeben kann und darauf meine Attribute definiere.
Allerding wird das denn im Designer nicht mehr sauber gerendert.
</div>
        <div>
          <font size="2">
            <p>
            </p>
          </font>
          <font color="#0000ff" size="2">
          </font> 
<p><font color="#0000ff" size="2">&lt;</font><font color="#a31515" size="2">uc1</font><font color="#0000ff" size="2">:</font><font color="#a31515" size="2">WebUserControl1</font><font size="2"></font><font color="#ff0000" size="2">ID</font><font color="#0000ff" size="2">="WebUserControl11"</font><font size="2"></font><font color="#ff0000" size="2">runat</font><font color="#0000ff" size="2">="server"</font><font size="2"></font><font color="#ff0000" size="2">DropDownTextBox-BackColor</font><font color="#0000ff" size="2">="#FFCC00"&gt;</font><font size="2"><br /></font><font color="#0000ff" size="2">    &lt;</font><font color="#a31515" size="2">DropDownTextbox</font><font size="2"></font><font color="#ff0000" size="2">BackColor</font><font color="#0000ff" size="2">="red"&gt;&lt;/</font><font color="#a31515" size="2">DropDownTextbox</font><font color="#0000ff" size="2">&gt;</font><font size="2"><br /></font><font color="#0000ff" size="2">&lt;/</font><font color="#a31515" size="2">uc1</font><font color="#0000ff" size="2">:</font><font color="#a31515" size="2">WebUserControl1</font><font color="#0000ff" size="2">&gt;
</font></p></div>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=b0f0c75a-656c-421d-9798-0cb8276c560c" />
      </body>
      <title>Untercontrols bei Web User Controls nach au&amp;szlig;en geben</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,b0f0c75a-656c-421d-9798-0cb8276c560c.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,b0f0c75a-656c-421d-9798-0cb8276c560c.aspx</link>
      <pubDate>Tue, 13 Nov 2007 16:53:32 GMT</pubDate>
      <description>&lt;p&gt;
Damit Ich habe ein Web User Control bei dem ich eine TextBox als Property nach außen
geben möchte, damit man die Eigenschaften der Textbox editieren kann. Das kann man
durch ein paar Attribute erreichen.
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;[Browsable(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;),
NotifyParentProperty(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;), PersistenceMode(PersistenceMode.InnerProperty),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content), RefreshProperties(RefreshProperties.Repaint)] &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; TextBox
DropDownTextbox { get { &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; &lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.TextBox1;
} set { &lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.TextBox1 = &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;;
} }&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;Damit werden auf dem UserControls zusätzliche Properties angelegt und zwar alle
Properties einer Textbox mit dem Prefix "DropDownTexbox" also dem Namen des Properties
auf dem Control.
&lt;/div&gt;
&lt;div&gt;&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/UntercontrolsbeiWebUserControlsnachaueng_FB9B/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="218" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/UntercontrolsbeiWebUserControlsnachaueng_FB9B/image_thumb.png" width="245" border="0"&gt;&lt;/a&gt; 
&lt;/div&gt;
&lt;div&gt;&amp;nbsp;
&lt;/div&gt;
&lt;div&gt;Im Markup werden die Properties ganz normal als Attribute eingefügt. Was mich
allerdings etwas gewundert hat war, dass ich im Markup über Intellisense die Textbox
allerdings auch als separates Tag angeben kann und darauf meine Attribute definiere.
Allerding wird das denn im Designer nicht mehr sauber gerendert.
&lt;/div&gt;
&lt;div&gt;&lt;font size="2"&gt; 
&lt;p&gt;
&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&amp;nbsp;&gt;
&lt;p&gt;
&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;uc1&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;WebUserControl1&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;="WebUserControl11"&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;="server"&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;DropDownTextBox-BackColor&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;="#FFCC00"&amp;gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;br&gt;
&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DropDownTextbox&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;BackColor&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;="red"&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;DropDownTextbox&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;br&gt;
&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;uc1&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;WebUserControl1&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;
&lt;/p&gt;
&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=b0f0c75a-656c-421d-9798-0cb8276c560c" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,b0f0c75a-656c-421d-9798-0cb8276c560c.aspx</comments>
      <category>ASP.Net;Tipps und Tricks</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=81a964c3-1f82-436b-9cb6-3bfcc4a27ccf</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,81a964c3-1f82-436b-9cb6-3bfcc4a27ccf.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,81a964c3-1f82-436b-9cb6-3bfcc4a27ccf.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=81a964c3-1f82-436b-9cb6-3bfcc4a27ccf</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Möchte man ASP.Net Anwendungen mit VS2008 debuggen, dann ist entscheidend, welchen
Servermode man in den Einstellungen für das Web-Projekt ausgewählt hat.
</p>
        <p>
          <a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_2.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="335" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_thumb.png" width="450" border="0" />
          </a>
        </p>
        <p>
Mit dem Visual Studio Developer Server hat das bei mir auf anhieb funktioniert. Allerdings
mit dem IIs gab es Probleme. Hier habe ich zuerst diese NMeldung bekommen: 
</p>
        <p>
Unable to start debugging on the web server. Strong name validation failed.
</p>
        <p>
Diesen Fehler kann man beheben indem man folgendes Procedere durchführt:
</p>
        <ol>
          <li>
Visual Studio beenden!</li>
          <li>
Den "Visual Studio Command Prompt" mit "Run as Administrator" starten.</li>
          <li>
Dann folgenden Befehl ausführen: sn.exe -Vr "%ProgramFiles%\Microsoft Visual Studio
9.0\Common7\IDE\iisresolver.dll"</li>
        </ol>
        <p>
Damit sollte diese Meldung behoben sein. Dann kam aber bei mir der nächste Fehler:
</p>
        <p>
Unable to start debugging on the web server. IIS does not list an application that
matches the launched URL.
</p>
        <p>
Um diesen Fehler zu beseitigen muss man die Windows Authentification aktivieren. Dazu
geht man folgendermaßen vor:
</p>
        <ol>
          <li>
Im Explorer auf "Computer" Rechtsklick und dann "Manage"</li>
          <li>
Den IIS Manager öffnen und die entsprechende Anwendung auswählen<br /><br /><a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="371" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_thumb_1.png" width="610" border="0" /></a><br /></li>
          <li>
"Authentication" unter IIS doppelklicken und dann "Windows Athentication" auf Enabled
setzen<br /><br /><a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_6.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="152" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_thumb_2.png" width="333" border="0" /></a></li>
        </ol>
        <p>
Damit hat bei mir das Debuggen dann auch mit dem IIS funktioniert.
</p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=81a964c3-1f82-436b-9cb6-3bfcc4a27ccf" />
      </body>
      <title>Debuggen von ASP.Net Anwendungen in VS2008 Beta2 mit Vista</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,81a964c3-1f82-436b-9cb6-3bfcc4a27ccf.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,81a964c3-1f82-436b-9cb6-3bfcc4a27ccf.aspx</link>
      <pubDate>Sat, 06 Oct 2007 15:39:24 GMT</pubDate>
      <description>&lt;p&gt;
Möchte man ASP.Net Anwendungen mit VS2008 debuggen, dann ist entscheidend, welchen
Servermode man in den Einstellungen für das Web-Projekt ausgewählt hat.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="335" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_thumb.png" width="450" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Mit dem Visual Studio Developer Server hat das bei mir auf anhieb funktioniert. Allerdings
mit dem IIs gab es Probleme. Hier habe ich zuerst diese NMeldung bekommen: 
&lt;/p&gt;
&lt;p&gt;
Unable to start debugging on the web server. Strong name validation failed.
&lt;/p&gt;
&lt;p&gt;
Diesen Fehler kann man beheben indem man folgendes Procedere durchführt:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Visual Studio beenden!&lt;/li&gt;
&lt;li&gt;
Den "Visual Studio Command Prompt" mit "Run as Administrator" starten.&lt;/li&gt;
&lt;li&gt;
Dann folgenden Befehl ausführen: sn.exe -Vr "%ProgramFiles%\Microsoft Visual Studio
9.0\Common7\IDE\iisresolver.dll"&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Damit sollte diese Meldung behoben sein. Dann kam aber bei mir der nächste Fehler:
&lt;/p&gt;
&lt;p&gt;
Unable to start debugging on the web server. IIS does not list an application that
matches the launched URL.
&lt;/p&gt;
&lt;p&gt;
Um diesen Fehler zu beseitigen muss man die Windows Authentification aktivieren. Dazu
geht man folgendermaßen vor:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Im Explorer auf "Computer" Rechtsklick und dann "Manage"&lt;/li&gt;
&lt;li&gt;
Den IIS Manager öffnen und die entsprechende Anwendung auswählen&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="371" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_thumb_1.png" width="610" border="0"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;
"Authentication" unter IIS doppelklicken und dann "Windows Athentication" auf Enabled
setzen&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="152" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/Debu.NetAnwendungeninVS2008Beta2mitVista_F84B/image_thumb_2.png" width="333" border="0"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Damit hat bei mir das Debuggen dann auch mit dem IIS funktioniert.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=81a964c3-1f82-436b-9cb6-3bfcc4a27ccf" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,81a964c3-1f82-436b-9cb6-3bfcc4a27ccf.aspx</comments>
      <category>ASP.Net;VS 2008</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=2a7e173d-909f-4366-8a81-ccea37891a0d</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,2a7e173d-909f-4366-8a81-ccea37891a0d.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,2a7e173d-909f-4366-8a81-ccea37891a0d.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=2a7e173d-909f-4366-8a81-ccea37891a0d</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
 Will man mit Visual Studio 2008 einem UserControl ein StyleSheet zuordnen, sieht
das normalerweise so aus:
</p>
        <div>
          <pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none">
            <span style="BACKGROUND-COLOR: #ffff00">&lt;%@
Control Language="C#" AutoEventWireup="true" CodeBehind="WebUserControl1.ascx.cs"
Inherits="Controls.WebUserControl1" %&gt;</span>
            <span style="COLOR: #0000ff">&lt;</span>
            <span style="COLOR: #800000">head</span>
            <span style="COLOR: #0000ff">&gt;</span>
            <span style="COLOR: #0000ff">&lt;</span>
            <span style="COLOR: #800000">link</span>
            <span style="COLOR: #ff0000">href</span>
            <span style="COLOR: #0000ff">="../App_Themes/style.css"</span>
            <span style="COLOR: #ff0000">rel</span>
            <span style="COLOR: #0000ff">="stylesheet"</span>
            <span style="COLOR: #ff0000">type</span>
            <span style="COLOR: #0000ff">="text/css"</span>
            <span style="COLOR: #0000ff">/&gt;</span>
            <span style="COLOR: #0000ff">&lt;/</span>
            <span style="COLOR: #800000">head</span>
            <span style="COLOR: #0000ff">&gt;</span>
            <span style="COLOR: #0000ff">&lt;</span>
            <span style="COLOR: #800000">asp:Button</span>
            <span style="COLOR: #ff0000">ID</span>
            <span style="COLOR: #0000ff">="Button1"</span>
            <span style="COLOR: #ff0000">runat</span>
            <span style="COLOR: #0000ff">="server"</span>
            <span style="COLOR: #ff0000">Text</span>
            <span style="COLOR: #0000ff">="Button"</span>
            <span style="COLOR: #0000ff">/&gt;&lt;</span>
            <span style="COLOR: #800000">asp:TextBox</span>
            <span style="COLOR: #ff0000">ID</span>
            <span style="COLOR: #0000ff">="TextBox1"</span>
            <span style="COLOR: #ff0000">runat</span>
            <span style="COLOR: #0000ff">="server"</span>
            <span style="COLOR: #0000ff">&gt;&lt;/</span>
            <span style="COLOR: #800000">asp:TextBox</span>
            <span style="COLOR: #0000ff">&gt;</span>
          </pre>
        </div>
        <p>
          <br />
Damit scheint aber der Designer von Visual Studio 2008 Beta 2 Probleme zu haben. Sowohl
im Split-View als auch im Design-View wird nach einem Refresh nichts mehr angezeigt.
</p>
        <p>
          <a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image.png" atomicselection="true">
            <img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height="505" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image_thumb.png" width="654" border="0" />
          </a>
        </p>
        <p>
Bei mir hat hier ein kleiner Trick geholfen. Man verschiebt einfach das Link-Tag mit
dem Stylesheet ganz an's Ende des Codes. Dann kann man mit Hilfe der Refresh-Funktion
aus dem Kontext-Menü des Design-Panes die Anzeige aktualisieren und siehe da, Button
und Textbox werden wieder angezeigt.
</p>
        <p>
          <a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image_1.png" atomicselection="true">
            <img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height="509" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image_thumb_1.png" width="655" border="0" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=2a7e173d-909f-4366-8a81-ccea37891a0d" />
      </body>
      <title>Stylesheets in ASP.Net UserControls in VS 2008</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,2a7e173d-909f-4366-8a81-ccea37891a0d.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,2a7e173d-909f-4366-8a81-ccea37891a0d.aspx</link>
      <pubDate>Mon, 20 Aug 2007 14:45:30 GMT</pubDate>
      <description>&lt;p&gt;
&amp;nbsp;Will man mit Visual Studio 2008 einem UserControl ein StyleSheet zuordnen, sieht
das normalerweise so aus:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;lt;%@
Control Language="C#" AutoEventWireup="true" CodeBehind="WebUserControl1.ascx.cs"
Inherits="Controls.WebUserControl1" %&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;head&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;link&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;href&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="../App_Themes/style.css"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;rel&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="stylesheet"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;type&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="text/css"&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;head&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Button&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="Button1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="Button"&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:TextBox&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="TextBox1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:TextBox&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
Damit scheint aber der Designer von Visual Studio 2008 Beta 2 Probleme zu haben. Sowohl
im Split-View als auch im Design-View wird nach einem Refresh nichts mehr angezeigt.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image.png" atomicselection="true"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=505 alt=image src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image_thumb.png" width=654 border=0&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Bei mir hat hier ein kleiner Trick geholfen. Man verschiebt einfach das Link-Tag mit
dem Stylesheet ganz an's Ende des Codes. Dann kann man mit Hilfe der Refresh-Funktion
aus dem Kontext-Menü des Design-Panes die Anzeige aktualisieren und siehe da, Button
und Textbox werden wieder angezeigt.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image_1.png" atomicselection="true"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=509 alt=image src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/StylesheetsinASP.NetUserControlsinVS2008_EB38/image_thumb_1.png" width=655 border=0&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=2a7e173d-909f-4366-8a81-ccea37891a0d" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,2a7e173d-909f-4366-8a81-ccea37891a0d.aspx</comments>
      <category>ASP.Net;VS 2008</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=4edad4c4-b938-486d-bd0e-d9799ca4345e</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,4edad4c4-b938-486d-bd0e-d9799ca4345e.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,4edad4c4-b938-486d-bd0e-d9799ca4345e.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=4edad4c4-b938-486d-bd0e-d9799ca4345e</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Ist eine ASP.Net Seite scrollbar, gibt es den unschönen Effekt, dass die Seite
nach dem Postback wieder ganz oben steht. Ich habe mal eine kleine Beispiel-Seite,
die diesen Effekt demonstriert:
</p>
        <span style="COLOR: #0000ff">
          <p>
&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="ValuePlanner_2008.Web.INN_ProjectArea.WebForm2"
%&gt;
</p>
        </span>
        <br />
        <span style="BACKGROUND-COLOR: #ffff00">&lt;%@ Register Assembly="cTextBox" Namespace="artiso_lib.UserControls"
TagPrefix="cc1" %&gt;</span>
        <br />
        <span style="COLOR: #0000ff">&lt;!</span>
        <span style="COLOR: #800000">DOCTYPE</span>
        <span style="COLOR: #ff0000">html</span>
        <span style="COLOR: #ff0000">PUBLIC</span>
        <span style="COLOR: #0000ff">"-//W3C//DTD
XHTML 1.0 Transitional//EN"</span>
        <span style="COLOR: #0000ff">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>
        <span style="COLOR: #0000ff">&gt;</span>
        <br />
        <span style="COLOR: #0000ff">&lt;</span>
        <span style="COLOR: #800000">html</span>
        <span style="COLOR: #ff0000">xmlns</span>
        <span style="COLOR: #0000ff">="http://www.w3.org/1999/xhtml"</span>
        <span style="COLOR: #0000ff">&gt;<br /></span> <span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">head</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #0000ff">&gt;<br />
 </span> <span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">&gt;</span>Untitled
Page<span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">&gt;<br /></span> <span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">&gt;<br /></span> <span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">&gt;<br />
 </span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">form</span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="form1"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #0000ff">&gt;<br />
  </span> <span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">div</span><span style="COLOR: #0000ff">&gt;</span> <br /><span style="BACKGROUND-COLOR: #ffff00">    &lt;%</span><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 1:</span><span style="COLOR: #0000ff">for</span> (<span style="COLOR: #0000ff">int</span> i
= 0; i &lt; 50; i++)</pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 2:</span> {</pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 3:</span> Response.Write(i
+ <span style="COLOR: #006080">"&lt;br&gt;"</span>);</pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 4:</span> } </pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 5:</span></pre><span style="BACKGROUND-COLOR: #ffff00">    %&gt;</span> <br />
   <span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">div</span><span style="COLOR: #0000ff">&gt;</span><br />
  <span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">form</span><span style="COLOR: #0000ff">&gt;</span><br />
 <span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">&gt;</span><br /><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">&gt;</span><p><br /><font color="#000000">Dieses Problem kann man ganz einfach umgehen, indem man in der
Page-Direktive das Attribut MaintainScrollPositionOnPostback="true" einfügt, also:</font></p><p><span style="BACKGROUND-COLOR: #ffff00">&lt;%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="WebForm2.aspx.cs" Inherits="ValuePlanner_2008.Web.INN_ProjectArea.WebForm2"
MaintainScrollPositionOnPostback="true"  %&gt;</span></p><img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=4edad4c4-b938-486d-bd0e-d9799ca4345e" /></body>
      <title>Scroll-Position nach PostBack beibehalten</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,4edad4c4-b938-486d-bd0e-d9799ca4345e.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,4edad4c4-b938-486d-bd0e-d9799ca4345e.aspx</link>
      <pubDate>Mon, 20 Aug 2007 09:58:20 GMT</pubDate>
      <description>&lt;p&gt;
Ist eine&amp;nbsp;ASP.Net Seite scrollbar, gibt es den unschönen Effekt, dass die Seite
nach dem Postback wieder ganz oben steht. Ich habe mal eine kleine Beispiel-Seite,
die diesen Effekt demonstriert:
&lt;/p&gt;
&lt;span style="COLOR: #0000ff"&gt; 
&lt;p&gt;
&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="ValuePlanner_2008.Web.INN_ProjectArea.WebForm2"
%&amp;gt;
&lt;/span&gt; 
&lt;br&gt;
&lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;lt;%@ Register Assembly="cTextBox" Namespace="artiso_lib.UserControls"
TagPrefix="cc1" %&amp;gt;&lt;/span&gt; 
&lt;br&gt;
&lt;span style="COLOR: #0000ff"&gt;&amp;lt;!&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;DOCTYPE&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;html&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;PUBLIC&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;"-//W3C//DTD
XHTML 1.0 Transitional//EN"&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; 
&lt;br&gt;
&lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;html&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="http://www.w3.org/1999/xhtml"&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;br&gt;
&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;head&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;br&gt;
&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;title&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt;Untitled
Page&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;title&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;br&gt;
&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;head&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;br&gt;
&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;body&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;br&gt;
&amp;nbsp;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;form&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;id&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;br&gt;
&amp;nbsp; &lt;/span&gt;&amp;nbsp;&lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;div&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;br&gt;
&lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%&lt;/span&gt;&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 1:&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;for&lt;/span&gt; (&lt;span style="COLOR: #0000ff"&gt;int&lt;/span&gt; i
= 0; i &amp;lt; 50; i++)&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 2:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 3:&lt;/span&gt; Response.Write(i
+ &lt;span style="COLOR: #006080"&gt;"&amp;lt;br&amp;gt;"&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 4:&lt;/span&gt; } &lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 5:&lt;/span&gt; &lt;/pre&gt;
&lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;div&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; 
&lt;br&gt;
&amp;nbsp; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;form&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; 
&lt;br&gt;
&amp;nbsp;&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;body&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; 
&lt;br&gt;
&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;html&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;
&lt;br&gt;
&lt;font color=#000000&gt;Dieses Problem kann man ganz einfach umgehen, indem man in der
Page-Direktive das Attribut MaintainScrollPositionOnPostback="true" einfügt, also:&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="WebForm2.aspx.cs" Inherits="ValuePlanner_2008.Web.INN_ProjectArea.WebForm2"
MaintainScrollPositionOnPostback="true"&amp;nbsp; %&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=4edad4c4-b938-486d-bd0e-d9799ca4345e" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,4edad4c4-b938-486d-bd0e-d9799ca4345e.aspx</comments>
      <category>ASP.Net;Tipps und Tricks</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=c41734ef-1227-4783-bbfb-5edb0ee509a2</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,c41734ef-1227-4783-bbfb-5edb0ee509a2.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,c41734ef-1227-4783-bbfb-5edb0ee509a2.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=c41734ef-1227-4783-bbfb-5edb0ee509a2</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Im ASP.Net AJAX Toolkit findet man ein ModalPopup, das sehr gute Dienste leistet,
will man Meldungen etwas eleganter ausgeben als mit einem schlichten alert(). Die
Handhabung ist relativ einfach. Man nehme ein beliebiges Serverseitiges Control und
weise diesem den ModalPopupExtender zu. Dann gibt man noch mindestens die ID des Controls
an, das den Inhalt des Popups repräsentieren soll und fertig. Will man das Popup allerdings
client-seitig per Java-Script aufrufen, muss man ein wenig in die Trickkiste greifen.
Das Problem dabei ist, dass der ModalPopupExtender immer ein TargetControl braucht.
Ich habe dafür einfach ein unsichtbares DIV erzeugt, das mit runat="server" auch auf
dem Server sichtbar gemacht wurde. Dann kann man mit $Find('&lt;ID des ModalPopupExtenders&gt;').show()
das Popup aufrufen.
</p>
        <p>
Neu war an diesem Beispiel für mich auch der Style filter: alpha(opacity = 70) mit
dem man eine Transparenz erzeugen kann.
</p>
        <p>
        </p>
        <div>
          <pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none">
            <span style="BACKGROUND-COLOR: #ffff00">&lt;%@
Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ValuePlanner_2008.Web.INN_ProjectArea.WebForm1"
%&gt;</span>
            <span style="BACKGROUND-COLOR: #ffff00">&lt;%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="cc1" %&gt;</span>
            <span style="COLOR: #0000ff">&lt;!</span>
            <span style="COLOR: #800000">DOCTYPE</span>
            <span style="COLOR: #ff0000">html</span>
            <span style="COLOR: #ff0000">PUBLIC</span>
            <span style="COLOR: #0000ff">"-//W3C//DTD
XHTML 1.0 Transitional//EN"</span>
            <span style="COLOR: #0000ff">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>
            <span style="COLOR: #0000ff">&gt;</span>
            <span style="COLOR: #0000ff">&lt;</span>
            <span style="COLOR: #800000">html</span>
            <span style="COLOR: #ff0000">xmlns</span>
            <span style="COLOR: #0000ff">="http://www.w3.org/1999/xhtml"</span>
            <span style="COLOR: #0000ff">&gt;</span>
            <span style="COLOR: #0000ff">&lt;</span>
            <span style="COLOR: #800000">head</span>
            <span style="COLOR: #ff0000">runat</span>
            <span style="COLOR: #0000ff">="server"</span>
            <span style="COLOR: #0000ff">&gt;</span>
            <span style="COLOR: #0000ff">&lt;</span>
            <span style="COLOR: #800000">title</span>
            <span style="COLOR: #0000ff">&gt;</span>Untitled
Page<span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">style</span><span style="COLOR: #ff0000">type</span><span style="COLOR: #0000ff">="text/css"</span><span style="COLOR: #0000ff">&gt;</span> .modalBackground
{ filter: alpha(opacity = 70); background-color: #CCCCCC; } .ErrorMessage { background-color:
#800000; color: #FFFFFF; } <span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">style</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">script</span><span style="COLOR: #ff0000">language</span><span style="COLOR: #0000ff">="javascript"</span><span style="COLOR: #ff0000">type</span><span style="COLOR: #0000ff">="text/javascript"</span><span style="COLOR: #0000ff">&gt;</span><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 1:</span>  </pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 2:</span><span style="COLOR: #0000ff">function</span> okScript()</pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 3:</span> {</pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 4:</span> alert
(<span style="COLOR: #006080">"OK-Button wurde gedrückt"</span>);</pre><pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"><span style="COLOR: #606060"> 5:</span> }</pre><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">script</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">form</span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="form1"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">div</span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="PopupPseudoPanel"</span><span style="COLOR: #ff0000">style</span><span style="COLOR: #0000ff">="display:
none"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">div</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">cc1:ToolkitScriptManager</span><span style="COLOR: #ff0000">ID</span><span style="COLOR: #0000ff">="ToolkitScriptManager1"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">cc1:ToolkitScriptManager</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">cc1:ModalPopupExtender</span><span style="COLOR: #ff0000">ID</span><span style="COLOR: #0000ff">="ModalPopupExtender"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #ff0000">PopupControlID</span><span style="COLOR: #0000ff">="Panel1"</span><span style="COLOR: #ff0000">DynamicServicePath</span><span style="COLOR: #0000ff">=""</span><span style="COLOR: #ff0000">Enabled</span><span style="COLOR: #0000ff">="True"</span><span style="COLOR: #ff0000">TargetControlID</span><span style="COLOR: #0000ff">="PopupPseudoPanel"</span><span style="COLOR: #ff0000">BackgroundCssClass</span><span style="COLOR: #0000ff">="modalBackground"</span><span style="COLOR: #ff0000">OkControlID</span><span style="COLOR: #0000ff">="OkButton"</span><span style="COLOR: #ff0000">CancelControlID</span><span style="COLOR: #0000ff">="CancelButton"</span><span style="COLOR: #ff0000">OnOkScript</span><span style="COLOR: #0000ff">="okScript();"</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">cc1:ModalPopupExtender</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">br</span><span style="COLOR: #0000ff">/&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">br</span><span style="COLOR: #0000ff">/&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">input</span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="Button2"</span><span style="COLOR: #ff0000">type</span><span style="COLOR: #0000ff">="button"</span><span style="COLOR: #ff0000">value</span><span style="COLOR: #0000ff">="button"</span><span style="COLOR: #ff0000">onclick</span><span style="COLOR: #0000ff">="$find('ModalPopupExtender').show();"</span><span style="COLOR: #0000ff">/&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">asp:Panel</span><span style="COLOR: #ff0000">ID</span><span style="COLOR: #0000ff">="Panel1"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #ff0000">CssClass</span><span style="COLOR: #0000ff">="ErrorMessage"</span><span style="COLOR: #ff0000">style</span><span style="COLOR: #0000ff">="display:none"</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">h1</span><span style="COLOR: #0000ff">&gt;</span> Popup<span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">h1</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">p</span><span style="COLOR: #0000ff">&gt;</span> Das
ist ein Popup!<span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">p</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">center</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">asp:Button</span><span style="COLOR: #ff0000">ID</span><span style="COLOR: #0000ff">="OkButton"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #ff0000">Text</span><span style="COLOR: #0000ff">="OK"</span><span style="COLOR: #0000ff">&gt;&lt;/</span><span style="COLOR: #800000">asp:Button</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">asp:Button</span><span style="COLOR: #ff0000">ID</span><span style="COLOR: #0000ff">="CancelButton"</span><span style="COLOR: #ff0000">runat</span><span style="COLOR: #0000ff">="server"</span><span style="COLOR: #ff0000">Text</span><span style="COLOR: #0000ff">="Cancel"</span><span style="COLOR: #0000ff">&gt;&lt;/</span><span style="COLOR: #800000">asp:Button</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">center</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">asp:Panel</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">form</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">&gt;</span></pre>
        </div>
        <span style="COLOR: #0000ff">
          <div>
          </div>
          <p>
          </p>
          <p>
 
</p>
        </span>
        <div>
        </div>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=c41734ef-1227-4783-bbfb-5edb0ee509a2" />
      </body>
      <title>AJAX Toolkit ModalPopup per Javascript aufrufen</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,c41734ef-1227-4783-bbfb-5edb0ee509a2.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,c41734ef-1227-4783-bbfb-5edb0ee509a2.aspx</link>
      <pubDate>Sat, 18 Aug 2007 11:57:57 GMT</pubDate>
      <description>&lt;p&gt;
Im ASP.Net AJAX Toolkit findet man ein ModalPopup, das sehr gute Dienste leistet,
will man Meldungen etwas eleganter ausgeben als mit einem schlichten alert(). Die
Handhabung ist relativ einfach. Man nehme ein beliebiges Serverseitiges Control und
weise diesem den ModalPopupExtender zu. Dann gibt man noch mindestens die ID des Controls
an, das den Inhalt des Popups repräsentieren soll und fertig. Will man das Popup allerdings
client-seitig per Java-Script aufrufen, muss man ein wenig in die Trickkiste greifen.
Das Problem dabei ist, dass der ModalPopupExtender immer ein TargetControl braucht.
Ich habe dafür einfach ein unsichtbares DIV erzeugt, das mit runat="server" auch auf
dem Server sichtbar gemacht wurde. Dann kann man mit $Find('&amp;lt;ID des ModalPopupExtenders&amp;gt;').show()
das Popup aufrufen.
&lt;/p&gt;
&lt;p&gt;
Neu war an diesem Beispiel für mich auch der Style filter: alpha(opacity = 70) mit
dem man eine Transparenz erzeugen kann.
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;lt;%@
Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ValuePlanner_2008.Web.INN_ProjectArea.WebForm1"
%&amp;gt;&lt;/span&gt; &lt;span style="BACKGROUND-COLOR: #ffff00"&gt;&amp;lt;%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="cc1" %&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;!&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;DOCTYPE&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;html&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;PUBLIC&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;"-//W3C//DTD
XHTML 1.0 Transitional//EN"&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;html&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="http://www.w3.org/1999/xhtml"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;head&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;title&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt;Untitled
Page&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;title&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;style&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;type&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="text/css"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; .modalBackground
{ filter: alpha(opacity = 70); background-color: #CCCCCC; } .ErrorMessage { background-color:
#800000; color: #FFFFFF; } &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;style&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;head&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;script&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;language&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="javascript"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;type&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="text/javascript"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 1:&lt;/span&gt; &amp;nbsp;&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 2:&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;function&lt;/span&gt; okScript()&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 3:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 4:&lt;/span&gt; alert
(&lt;span style="COLOR: #006080"&gt;"OK-Button wurde gedrückt"&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-STYLE: none"&gt;&lt;span style="COLOR: #606060"&gt; 5:&lt;/span&gt; }&lt;/pre&gt;
&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;script&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;body&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;form&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;id&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;div&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;id&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="PopupPseudoPanel"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;style&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="display:
none"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;div&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;cc1:ToolkitScriptManager&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="ToolkitScriptManager1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;cc1:ToolkitScriptManager&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;cc1:ModalPopupExtender&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="ModalPopupExtender"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;PopupControlID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="Panel1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;DynamicServicePath&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;=""&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;Enabled&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="True"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;TargetControlID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="PopupPseudoPanel"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;BackgroundCssClass&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="modalBackground"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;OkControlID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="OkButton"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;CancelControlID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="CancelButton"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;OnOkScript&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="okScript();"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;cc1:ModalPopupExtender&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;br&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;br&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;input&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;id&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="Button2"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;type&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="button"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;value&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="button"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;onclick&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="$find('ModalPopupExtender').show();"&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;/&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Panel&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="Panel1"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;CssClass&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="ErrorMessage"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;style&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="display:none"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;h1&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; Popup&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;h1&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;p&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; Das
ist ein Popup!&lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;p&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;center&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Button&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="OkButton"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="OK"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Button&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Button&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;ID&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="CancelButton"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;runat&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="server"&lt;/span&gt; &lt;span style="COLOR: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;="Cancel"&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Button&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;center&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;asp:Panel&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;form&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;body&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #800000"&gt;html&lt;/span&gt;&lt;span style="COLOR: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;/pre&gt;
&lt;/div&gt;
&lt;span style="COLOR: #0000ff"&gt; 
&lt;div&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;/span&gt; 
&lt;div&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=c41734ef-1227-4783-bbfb-5edb0ee509a2" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,c41734ef-1227-4783-bbfb-5edb0ee509a2.aspx</comments>
      <category>ASP.Net;Tipps und Tricks</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=102fa38f-aeca-4fea-a894-251d1a5938cd</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,102fa38f-aeca-4fea-a894-251d1a5938cd.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,102fa38f-aeca-4fea-a894-251d1a5938cd.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=102fa38f-aeca-4fea-a894-251d1a5938cd</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://forums.asp.net/members/Scott-Mitchell.aspx">
            <em>
              <u>
                <font color="#0066cc">Scott
Mitchell</font>
              </u>
            </em>
          </a> hat 75 Tutorials zum Thema Data Access mit ASP.Net
2.0 geschrieben. Hier ist praktisch alles an Technologie beschrieben, was für die
Programmierung von datenbankbasierten Webanwendungen mit ASP.Net 2.0 notwendig ist.
Einzig LINQ wird momentan noch ausgespart. Eine wirklich tolle Sammlung an guten
Informationen.
</p>
        <p>
          <a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/ASP.Net2.0DataAccessTutorials_9BA5/image.png" atomicselection="true">
            <img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height="373" alt="image" src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/ASP.Net2.0DataAccessTutorials_9BA5/image_thumb.png" width="598" border="0" />
          </a>
        </p>
        <p>
          <a href="http://www.asp.net/learn/data-access/?lang=cs">Data Access Tutorials : The
Official Microsoft ASP.NET 2.0 Site</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=102fa38f-aeca-4fea-a894-251d1a5938cd" />
      </body>
      <title>ASP.Net 2.0 Data Access Tutorials</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,102fa38f-aeca-4fea-a894-251d1a5938cd.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,102fa38f-aeca-4fea-a894-251d1a5938cd.aspx</link>
      <pubDate>Thu, 16 Aug 2007 09:06:18 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://forums.asp.net/members/Scott-Mitchell.aspx"&gt;&lt;em&gt;&lt;u&gt;&lt;font color=#0066cc&gt;Scott
Mitchell&lt;/font&gt;&lt;/u&gt;&lt;/em&gt;&lt;/a&gt;&amp;nbsp;hat 75 Tutorials zum Thema Data Access mit ASP.Net
2.0 geschrieben. Hier ist praktisch alles an Technologie beschrieben, was für die
Programmierung von datenbankbasierten Webanwendungen mit ASP.Net 2.0 notwendig ist.
Einzig LINQ wird momentan noch ausgespart.&amp;nbsp;Eine wirklich tolle Sammlung an guten
Informationen.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/ASP.Net2.0DataAccessTutorials_9BA5/image.png" atomicselection="true"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=373 alt=image src="http://www.artiso.com/ProBlog/content/binary/WindowsLiveWriter/ASP.Net2.0DataAccessTutorials_9BA5/image_thumb.png" width=598 border=0&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.asp.net/learn/data-access/?lang=cs"&gt;Data Access Tutorials : The
Official Microsoft ASP.NET 2.0 Site&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=102fa38f-aeca-4fea-a894-251d1a5938cd" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,102fa38f-aeca-4fea-a894-251d1a5938cd.aspx</comments>
      <category>ADO.Net;ASP.Net;Know-How;Lernen;SQL</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=99e8d3b8-ad22-4270-b38d-d1514d3f6312</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,99e8d3b8-ad22-4270-b38d-d1514d3f6312.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,99e8d3b8-ad22-4270-b38d-d1514d3f6312.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=99e8d3b8-ad22-4270-b38d-d1514d3f6312</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
ASP.NT AJAX (früher ATLAS) ist jetzt als Beta 1 zum Donwload verfügbar.
</p>
        <p>
          <a href="http://ajax.asp.net/Default.aspx?tabid=47">Link to ASP.NET AJAX Web: The
Official Microsoft ASP.NET AJAX Site : ASP.NET AJAX</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=99e8d3b8-ad22-4270-b38d-d1514d3f6312" />
      </body>
      <title>ASP.NET AJAX Beta 1 verf&amp;uuml;gbar</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,99e8d3b8-ad22-4270-b38d-d1514d3f6312.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,99e8d3b8-ad22-4270-b38d-d1514d3f6312.aspx</link>
      <pubDate>Mon, 23 Oct 2006 07:49:26 GMT</pubDate>
      <description>&lt;p&gt;
ASP.NT AJAX (früher ATLAS) ist jetzt als Beta 1 zum Donwload verfügbar.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://ajax.asp.net/Default.aspx?tabid=47"&gt;Link to ASP.NET AJAX Web: The
Official Microsoft ASP.NET AJAX Site : ASP.NET AJAX&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=99e8d3b8-ad22-4270-b38d-d1514d3f6312" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,99e8d3b8-ad22-4270-b38d-d1514d3f6312.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Das Tutorial steht für C# und VB.Net zur Verfügung. Unten finden Sie den Link für
die erste Folge in C#. Von dort aus können links aus der Navigation die anderen Folgen
aufgerufen werden.
</p>
        <p>
          <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnettut/html/aspnet_tutorial01_dataaccesslayer_cs.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnettut/html/aspnet_tutorial01_dataaccesslayer_cs.asp</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4" />
      </body>
      <title>10-teiliges Tutorial zum Erstellen Datenbankbasierter ASP.Net 2.0 Anwendungen</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4.aspx</link>
      <pubDate>Mon, 18 Sep 2006 07:20:57 GMT</pubDate>
      <description>&lt;p&gt;
Das Tutorial steht für C# und VB.Net zur Verfügung. Unten finden Sie den Link für
die erste Folge in C#. Von dort aus können links aus der Navigation die anderen Folgen
aufgerufen werden.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnettut/html/aspnet_tutorial01_dataaccesslayer_cs.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnettut/html/aspnet_tutorial01_dataaccesslayer_cs.asp&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,e2bbec36-7a8e-4322-bbdb-c709bb3ae8b4.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=9da148ee-ad6b-40eb-8714-5c198d3b5a8a</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,9da148ee-ad6b-40eb-8714-5c198d3b5a8a.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,9da148ee-ad6b-40eb-8714-5c198d3b5a8a.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=9da148ee-ad6b-40eb-8714-5c198d3b5a8a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
10 häufige Fallstricke bi der Veröffentlichung von ASP.Net Webseiten und deren Vermeidung,
zum Teil auch der technische Hintergrund werden in folgendem Artikel beschrieben:
</p>
        <p>
          <a href="http://www.microsoft.com/germany/msdn/library/net/aspnet/StoerungsfreiAusgefuehrteSitesDurchVermeidenDieserZehnVerbreitetenASPNETFehlerquellen.mspx?mfr=true">http://www.microsoft.com/germany/msdn/library/net/aspnet/StoerungsfreiAusgefuehrteSitesDurchVermeidenDieserZehnVerbreitetenASPNETFehlerquellen.mspx?mfr=true</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=9da148ee-ad6b-40eb-8714-5c198d3b5a8a" />
      </body>
      <title>10 Fallstricke bei der Veröffentlichung von ASP.Net Webseiten</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,9da148ee-ad6b-40eb-8714-5c198d3b5a8a.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,9da148ee-ad6b-40eb-8714-5c198d3b5a8a.aspx</link>
      <pubDate>Sun, 17 Sep 2006 20:44:47 GMT</pubDate>
      <description>&lt;p&gt;
10 häufige Fallstricke bi der Veröffentlichung von ASP.Net Webseiten und deren Vermeidung,
zum Teil auch der technische Hintergrund werden in folgendem Artikel beschrieben:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.microsoft.com/germany/msdn/library/net/aspnet/StoerungsfreiAusgefuehrteSitesDurchVermeidenDieserZehnVerbreitetenASPNETFehlerquellen.mspx?mfr=true"&gt;http://www.microsoft.com/germany/msdn/library/net/aspnet/StoerungsfreiAusgefuehrteSitesDurchVermeidenDieserZehnVerbreitetenASPNETFehlerquellen.mspx?mfr=true&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=9da148ee-ad6b-40eb-8714-5c198d3b5a8a" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,9da148ee-ad6b-40eb-8714-5c198d3b5a8a.aspx</comments>
      <category>ASP.Net;Know-How;Unbearbeitet</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=411dce3d-75d7-4a20-bb62-b72779407d5b</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,411dce3d-75d7-4a20-bb62-b72779407d5b.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,411dce3d-75d7-4a20-bb62-b72779407d5b.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=411dce3d-75d7-4a20-bb62-b72779407d5b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In einer 10-teilgen Web-Cast Serie erklärt Daniel Walzenbach wie ASP.Net Srever-Controls
entwickelt werden.
</p>
        <p>
          <a href="http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=1032303182">http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=1032303182</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=411dce3d-75d7-4a20-bb62-b72779407d5b" />
      </body>
      <title>Webcast-Serie zur Programmierung von ASP.Net Server-Controls</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,411dce3d-75d7-4a20-bb62-b72779407d5b.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,411dce3d-75d7-4a20-bb62-b72779407d5b.aspx</link>
      <pubDate>Sat, 16 Sep 2006 20:28:33 GMT</pubDate>
      <description>&lt;p&gt;
In einer 10-teilgen Web-Cast Serie erklärt Daniel Walzenbach wie ASP.Net Srever-Controls
entwickelt werden.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=1032303182"&gt;http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=1032303182&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=411dce3d-75d7-4a20-bb62-b72779407d5b" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,411dce3d-75d7-4a20-bb62-b72779407d5b.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=7c5b0618-888c-4510-9e85-e98b71d49399</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,7c5b0618-888c-4510-9e85-e98b71d49399.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,7c5b0618-888c-4510-9e85-e98b71d49399.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=7c5b0618-888c-4510-9e85-e98b71d49399</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In einer 7-teiligen Webcast-Serie stellt Dr. Holger Schwichtenberg ASP.Net 2.0 vor
</p>
        <p>
          <a href="http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=118767534">http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=118767534</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=7c5b0618-888c-4510-9e85-e98b71d49399" />
      </body>
      <title>Webcast-Serie zu ASP.Net 2.0</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,7c5b0618-888c-4510-9e85-e98b71d49399.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,7c5b0618-888c-4510-9e85-e98b71d49399.aspx</link>
      <pubDate>Fri, 15 Sep 2006 06:42:54 GMT</pubDate>
      <description>&lt;p&gt;
In einer 7-teiligen Webcast-Serie stellt Dr. Holger Schwichtenberg ASP.Net 2.0 vor
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=118767534"&gt;http://www.microsoft.com/germany/MSDN/webcasts/library.aspx?id=118767534&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=7c5b0618-888c-4510-9e85-e98b71d49399" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,7c5b0618-888c-4510-9e85-e98b71d49399.aspx</comments>
      <category>ASP.Net;Lernen</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=14da7fd7-8958-43cd-ab67-405e4da3fa8c</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,14da7fd7-8958-43cd-ab67-405e4da3fa8c.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,14da7fd7-8958-43cd-ab67-405e4da3fa8c.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=14da7fd7-8958-43cd-ab67-405e4da3fa8c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In diesem Artikel aus dem MSDN-Magazin werden 10 verbreitete Fallstricke beschrieben,
die die Performance von ASP.Net Anwendungen negativ beeinflussen.
</p>
        <p>
          <a href="http://msdn.microsoft.com/msdnmag/issues/06/07/WebAppFollies/default.aspx">http://msdn.microsoft.com/msdnmag/issues/06/07/WebAppFollies/default.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=14da7fd7-8958-43cd-ab67-405e4da3fa8c" />
      </body>
      <title>Schnellere ASP.Net-Seiten durch vermeidung von 10 verbreiteten Fallstricken</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,14da7fd7-8958-43cd-ab67-405e4da3fa8c.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,14da7fd7-8958-43cd-ab67-405e4da3fa8c.aspx</link>
      <pubDate>Tue, 11 Jul 2006 07:54:00 GMT</pubDate>
      <description>&lt;p&gt;
In diesem Artikel aus dem MSDN-Magazin werden 10&amp;nbsp;verbreitete Fallstricke beschrieben,
die die Performance von ASP.Net Anwendungen negativ beeinflussen.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://msdn.microsoft.com/msdnmag/issues/06/07/WebAppFollies/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/06/07/WebAppFollies/default.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=14da7fd7-8958-43cd-ab67-405e4da3fa8c" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,14da7fd7-8958-43cd-ab67-405e4da3fa8c.aspx</comments>
      <category>ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://www.artiso.com/ProBlog/Trackback.aspx?guid=f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0</trackback:ping>
      <pingback:server>http://www.artiso.com/ProBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.artiso.com/ProBlog/PermaLink,guid,f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0.aspx</pingback:target>
      <dc:creator>Thomas Schissler</dc:creator>
      <wfw:comment>http://www.artiso.com/ProBlog/CommentView,guid,f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0.aspx</wfw:comment>
      <wfw:commentRss>http://www.artiso.com/ProBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/JAVAwASP2.asp">http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/JAVAwASP2.asp</a>
        </p>
        <img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0" />
      </body>
      <title>JavaScript in ASP.Net 2.0</title>
      <guid isPermaLink="false">http://www.artiso.com/ProBlog/PermaLink,guid,f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0.aspx</guid>
      <link>http://www.artiso.com/ProBlog/PermaLink,guid,f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0.aspx</link>
      <pubDate>Thu, 06 Jul 2006 13:10:54 GMT</pubDate>
      <description>
		&lt;p&gt;
&lt;a href="http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/JAVAwASP2.asp"&gt;http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/JAVAwASP2.asp&lt;/a&gt; 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.artiso.com/ProBlog/aggbug.ashx?id=f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0" /&gt;</description>
      <comments>http://www.artiso.com/ProBlog/CommentView,guid,f5f207cd-9c90-48c8-b2cd-c3e64cfc48a0.aspx</comments>
      <category>ASP.Net;Unbearbeitet</category>
    </item>
  </channel>
</rss>