<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET WebForms</title><link>https://www.dotnetzone.gr:443/cs/forums/13/ShowForum.aspx</link><description>Θέματα για web εφαρμογές, σε ASP.NET WebForms</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Ανοιγμα Σελίδων χωρίς το πρόθεμα (.aspx)</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/78527.aspx</link><pubDate>Sat, 28 Nov 2020 04:28:49 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:78527</guid><dc:creator>anthou</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/78527.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=78527</wfw:commentRss><description>&lt;p&gt;Γειά σας&lt;/p&gt;&lt;p&gt;Πως μπορώ να ανοίγουν οι σελίδες μου απο το site χωρίς να χρειάζεται να βάζω στο url το πρόθεμα(το .aspx)&lt;/p&gt;&lt;p&gt;Τι αλλαγές πρέπει να κάνω στο Visual STudio ωστε το project να λειτουργεί σωστά&amp;nbsp; οταν το μεταφέρω στο site&lt;/p&gt;&lt;p&gt;Ευχαριστώ&amp;nbsp;&lt;/p&gt;</description></item><item><title>Gridview Sorting</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/78317.aspx</link><pubDate>Thu, 25 Oct 2018 02:17:50 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:78317</guid><dc:creator>anthou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/78317.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=78317</wfw:commentRss><description>&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BackColor="White" BorderColor="White"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataSourceID="SqlDataSource5" PageSize="15"&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; style="z-index: 1; left: 18%; position:absolute;top:16%;&amp;nbsp; height: 150px;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 30%"&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowPaging="True"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataKeyNames="id_kodikos" AllowSorting="True"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Columns&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="id_kodikos" HeaderText="ΚΩΔ" SortExpression="id_kodikos" visible="true" InsertVisible="False" ReadOnly="True"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ItemStyle Width="60px" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:BoundField&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:ButtonField CommandName="select" DataTextField="eponymo2" HeaderText="ΕΠΩΝΥΜΟ" Text="Button" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="eponymo2" HeaderText="ΕΠΩΝΥΜΟ" SortExpression="eponymo2" Visible="False" &amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:BoundField&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="onoma2" HeaderText="ΟΝΟΜΑ" SortExpression="onoma2" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="sxetos" HeaderText="sxetos" SortExpression="sxetos" visible="False"/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="kod_mathima" HeaderText="kod_mathima" SortExpression="kod_mathima" visible="False"/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="id_eterias" HeaderText="id_eterias" SortExpression="id_eterias" visible="False"/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:BoundField DataField="kod_taji" HeaderText="kod_taji" SortExpression="kod_taji" visible="False"/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/Columns&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;FooterStyle BackColor="#C6C3C6" ForeColor="Black" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;RowStyle BackColor="#DEDFDE" ForeColor="Black" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SortedAscendingCellStyle BackColor="#F1F1F1" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SortedAscendingHeaderStyle BackColor="#594B9C" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SortedDescendingCellStyle BackColor="#CAC9C9" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SortedDescendingHeaderStyle BackColor="#33276A" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:GridView&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Στον παραπάνω κώδικα&amp;nbsp; στην 2η στήλη υπάρχει ενα&amp;nbsp;ButtonField&amp;nbsp; με το CommandName="select"&lt;/div&gt;&lt;div&gt;Επίσης ειναι ενεργό το&amp;nbsp;AllowSorting="True"&lt;/div&gt;&lt;div&gt;Το πρόβλημα είναι οτι δεν&amp;nbsp; λειτουργεί&amp;nbsp; το sorting&amp;nbsp; στο headerText="Επώνυμο"&lt;/div&gt;&lt;div&gt;Πως μπορώ να έχω&amp;nbsp;&amp;nbsp;&lt;span style="font-size:10pt;"&gt;sorting πατώντας στο Επώνυμο&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Ευχαριστώ&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description></item><item><title>Client Side Διαχωρισμός Browser Close Event από Browser Back/Forward Button Click Event</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/78235.aspx</link><pubDate>Thu, 15 Feb 2018 00:30:36 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:78235</guid><dc:creator>gstam78</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/78235.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=78235</wfw:commentRss><description>&lt;p&gt;Καλησπέρα σας,&lt;/p&gt;&lt;p&gt;Ο παρακάτω javascript κώδικας που υπάρχει στη σελίδα: &lt;a href="https://www.codeproject.com/Tips/154801/How-to-end-user-session-when-browser-closed"&gt;https://www.codeproject.com/Tips/154801/How-to-end-user-session-when-browser-closed&lt;/a&gt; τερματίζει το session του χρήστη όταν αυτός κάνει κάνει κλικ εκτός της σελίδας, δηλαδή όταν κλείνει τον browser, όταν κάνει refresh τη σελίδα, όταν πατάει είτε το Βack, είτε το Forward Button κ.ο.κ.. Το ερώτημα είναι αν μπορεί να γίνει κάποια προσθήκη στον παρακάτω javascript κώδικα, ώστε όταν γίνεται capture είτε το Back, είτε το Forward Button Click Event, η μεταβλητή clicked να παίρνει την τιμή true (clicked=true), ούτως ώστε να μην τερματίζεται σ' αυτές τις περιπτώσεις το session. Η απαίτηση είναι το session να τερματίζεται μόνο όταν κλείνει ο browser, ή το tab του browser που τρέχει η εφαρμογή: &lt;br&gt;&lt;/p&gt;&lt;pre id="pre906046" style="margin-top:0px;" class="notranslate"&gt;&amp;lt;script language=&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;javascript"&lt;/span&gt; type=&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;text/javascript"&lt;/span&gt;&amp;gt;
    &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt;&amp;lt;![CDATA[&amp;lt;/span /&amp;gt;&lt;/span&gt;

    &lt;span class="code-keyword"&gt;var&lt;/span&gt; clicked = &lt;span class="code-keyword"&gt;false&lt;/span&gt;;
    &lt;span class="code-keyword"&gt;function&lt;/span&gt; CheckBrowser() {
        &lt;span class="code-keyword"&gt;if&lt;/span&gt; (clicked == &lt;span class="code-keyword"&gt;false&lt;/span&gt;) {
            &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt;Browser closed&lt;/span&gt;
        }
        &lt;span class="code-keyword"&gt;else&lt;/span&gt; {
            &lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt;redirected &lt;/span&gt;
            clicked = &lt;span class="code-keyword"&gt;false&lt;/span&gt;;
        }
    }

    &lt;span class="code-keyword"&gt;function&lt;/span&gt; bodyUnload() {

        &lt;span class="code-keyword"&gt;if&lt;/span&gt; (clicked == &lt;span class="code-keyword"&gt;false&lt;/span&gt;)&lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt;browser is closed&lt;/span&gt;
        {
            &lt;span class="code-keyword"&gt;var&lt;/span&gt; request = GetRequest();

            request.open(&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;POST"&lt;/span&gt;, &lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;../LogOut.aspx"&lt;/span&gt;, &lt;span class="code-keyword"&gt;false&lt;/span&gt;);
            request.send();
            alert(&lt;span class="code-string"&gt;'&lt;/span&gt;&lt;span class="code-string"&gt;This is close'&lt;/span&gt;);
        }
    }
    &lt;span class="code-keyword"&gt;function&lt;/span&gt; GetRequest() {
        &lt;span class="code-keyword"&gt;var&lt;/span&gt; xmlhttp;
        &lt;span class="code-keyword"&gt;if&lt;/span&gt; (window.XMLHttpRequest) {&lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; code for IE7+, Firefox, Chrome, Opera, Safari&lt;/span&gt;
            xmlhttp = &lt;span class="code-keyword"&gt;new&lt;/span&gt; XMLHttpRequest();
        }
        &lt;span class="code-keyword"&gt;else&lt;/span&gt; {&lt;span class="code-comment"&gt;//&lt;/span&gt;&lt;span class="code-comment"&gt; code for IE6, IE5&lt;/span&gt;
            xmlhttp = &lt;span class="code-keyword"&gt;new&lt;/span&gt; ActiveXObject(&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;Microsoft.XMLHTTP"&lt;/span&gt;);
        }
        &lt;span class="code-keyword"&gt;return&lt;/span&gt; xmlhttp;
} 
&amp;lt;/script&amp;gt;

&amp;lt;body onunload=&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;bodyUnload();"&lt;/span&gt; onclick=&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;clicked=true;"&lt;/span&gt;&amp;gt;&amp;lt;span style=&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;font-size: 9pt;"&lt;/span&gt;&amp;gt;  &lt;span class="code-keyword"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="code-leadattribute"&gt;span&lt;/span&gt;&lt;span class="code-keyword"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre id="pre906046" style="margin-top:0px;" class="notranslate"&gt;Σας ευχαριστώ εκ των προτέρων.&lt;br&gt;&lt;/pre&gt;</description></item><item><title>Διαγραφή αρχείου από τον server έπειτα από χρήση της μεθόδου Response.TransmitFile</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/78215.aspx</link><pubDate>Tue, 05 Dec 2017 00:54:32 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:78215</guid><dc:creator>gstam78</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/78215.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=78215</wfw:commentRss><description>&lt;p&gt;Καλησπέρα, &lt;/p&gt;&lt;p&gt;Προσπαθώ να σβήσω ένα αρχείο zip από τον server με χρήση της μεθόδου System.IO.File.Delete κατόπιν χρήσης της ασύγχρονης μεθόδου Response.TransmitFile για μεταφορά του αρχείου στον client μέσω streaming και παίρνω το exception:&lt;/p&gt;&lt;p&gt;"&lt;i&gt;The process cannot access the file x.zip because it is being used by another process.&lt;/i&gt;". &lt;br&gt;&lt;/p&gt;&lt;p&gt;Για το σβήσιμο του αρχείου χρησιμοποιώ thread που παίρνει ως παράμετρο delegate βασιζόμενος στο &lt;b&gt;Fix&lt;/b&gt; του παραδείγματος εδώ: &lt;a href="http://improve.dk/response-transmitfile-close-will-kill-your-application/"&gt;http://improve.dk/response-transmitfile-close-will-kill-your-application/.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Το περίεργο είναι ότι όταν χρησιμοποιώ για web server τον Cassini του Visual Studio ή τον τοπικό μου IIS δεν λαμβάνω το exception και το αρχείο διαγράφεται κανονικά. Το exception το λαμβάνω από τον IIS στο production περιβάλλον.&lt;/p&gt;&lt;p&gt;Καμία ιδέα;&lt;/p&gt;&lt;p&gt;Σας ευχαριστώ.&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br&gt;&lt;/p&gt;</description></item><item><title>PayPal Express Checkout Error 82001 - Unspecified Method Error</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/78110.aspx</link><pubDate>Wed, 07 Jun 2017 00:32:14 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:78110</guid><dc:creator>hatzisn612</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/78110.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=78110</wfw:commentRss><description>&lt;p&gt;Καλησπέρα σε όλους,&lt;/p&gt;&lt;p&gt;Έχω φτιάξει ένα site το οποίο σενδεόταν στην PayPal και το οποίο χρησιμοποιούσε την downloadstring method. Η μέθοδος αυτή ήταν GET. Στην&lt;span style="font-size:10pt;"&gt;&amp;nbsp;Paypal αυτή η μέθοδος γινόταν αποδεκτή. Ωστόσο το express checkout εγινε deprecated και έγραφε ότι από 30/6/2017 θα επιτρέπεται μόνο η μέθοδος POST. Έψαξα στο Internet και βρήκα το παρακάτω το οποίο και φαίνεται να δουλεύει αφού παίρνει response από PayPal αλλά η απάντηση είναι παντα Failure με τον κωδικό που φαίνεται στον τίτλο του POST. Έχει κανείς καμμία ιδέα για το τι πάει στραβά;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="post-text" style="margin:0px 0px 5px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;font-size:15px;line-height:1.3;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;vertical-align:baseline;width:660px;word-wrap:break-word;"&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;clear:both;"&gt;You could use Upload method with HTTP 1.0 POST&lt;/p&gt;&lt;pre class="lang-cs prettyprint prettyprinted" style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;word-wrap:normal;"&gt;&lt;code style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;vertical-align:baseline;white-space:inherit;"&gt;&lt;span class="kwd" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;string&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; postData &lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Console&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;ReadLine&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;();&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;

using &lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;(&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;System&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Net&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;WebClient&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; wc &lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;new&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;System&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Net&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;WebClient&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;())&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;{&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
    wc&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Headers&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Add&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;"Content-Type"&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;,&lt;/span&gt;&lt;span class="str" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;"application/x-www-form-urlencoded"&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;);&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
    &lt;/span&gt;&lt;span class="com" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;// Upload the input string using the HTTP 1.0 POST method.&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
    &lt;/span&gt;&lt;span class="kwd" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;byte&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;[]&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; byteArray &lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;System&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Text&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Encoding&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;ASCII&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;GetBytes&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;postData&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;);&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
    &lt;/span&gt;&lt;span class="kwd" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;byte&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;[]&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; byteResult&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt; wc&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;UploadData&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;"http://targetwebiste"&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;,&lt;/span&gt;&lt;span class="str" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;"POST"&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;byteArray&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;);&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
    &lt;/span&gt;&lt;span class="com" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;// Decode and display the result.&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
    &lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Console&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;WriteLine&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;"\nResult received was {0}"&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
                      &lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;Encoding&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;ASCII&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;.&lt;/span&gt;&lt;span class="typ" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;GetString&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;byteResult&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;));&lt;/span&gt;&lt;span class="pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;
&lt;/span&gt;&lt;span class="pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Ελληνικό Ημερολόγιο </title><link>https://www.dotnetzone.gr:443/cs/forums/thread/77925.aspx</link><pubDate>Tue, 24 Jan 2017 21:54:49 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:77925</guid><dc:creator>karist45</dc:creator><slash:comments>1</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/77925.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=77925</wfw:commentRss><description>&lt;p&gt;Γεια σας,&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;αντιμετωπίζω πρόβλημα στην εμφάνιση της Ελληνικής γλώσσας στο CalendarExtender μετά την μεταφορά της από VS2008 σε VS2013.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Από την έκδοση VS2008 είχα περάσει στο Web.config =&amp;gt;&amp;nbsp;&amp;lt;system.web&amp;gt; &amp;nbsp;==&amp;gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp; &amp;lt;globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="el-GR" uiCulture="el-GR"/&amp;gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Όμως με την αλλαγή σε&amp;nbsp;&lt;span style="font-size:13.3333px;"&gt;VS2013 εμφανίζει&amp;nbsp;τους Μήνες,ημέρες στα Αγγλικά!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:13.3333px;"&gt;Το OS είναι Windows10 ENG&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Ευχαριστώ&lt;br&gt;&lt;span style="font-size:10pt;"&gt;Κώστας&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>MasterPage... πρόβλημα;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/77602.aspx</link><pubDate>Sat, 20 Feb 2016 04:48:16 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:77602</guid><dc:creator>gianestras</dc:creator><slash:comments>4</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/77602.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=77602</wfw:commentRss><description>&lt;p&gt;Καλησπέρα...&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Έχουμε ένα masterPage και σε αυτό έχουμε 2 .aspx pages πχ Home και LogIn.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Θέτουμε ως start page την Home.aspx.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Άρα με το που ξεκινάω την εφαρμογή πρώτα περνάει από το &amp;nbsp;PageLoad της HOME και μετά της MastePage και τέλος.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;ΟΤΑΝ όμως κάνω κλικ στην LogIn μετά, θα περάσει το debug από την&amp;nbsp;&lt;span style="font-size:13.3333px;"&gt;PageLoad&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp;της Home μετά από την&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;PageLoad της Master, μετά από την&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;PageLoad&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp;της LogIn και τέλος από την&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;PageLoad&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;&amp;nbsp;της Master.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:13.3333px;"&gt;&lt;/span&gt;&lt;span style="font-size:13.3333px;"&gt;Και ρωτάω: Πως μπορώ στο κλικ στο LogIn να μην περνάει από την startPage; Είναι λογικό;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:13.3333px;"&gt;ευχαριστώ&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Compiler Error Message: CS0234 ....</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/77086.aspx</link><pubDate>Mon, 08 Jun 2015 02:32:00 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:77086</guid><dc:creator>gianestras</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/77086.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=77086</wfw:commentRss><description>&lt;p&gt;&lt;b style="font-family:Verdana;margin-top:-5px;font-size:11.1999998092651px;"&gt;Compiler Error Message:&amp;nbsp;&lt;/b&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;font-size:11.1999998092651px;"&gt;CS0234: The type or namespace name 'MyClasses' does not exist in the namespace 'WebApplication1' (are you missing an assembly reference?)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Καλησπέρα σας.&lt;/p&gt;&lt;p&gt;Local όταν τρέχω το WebApplication(asp.net) δεν υπάρχει κανένα πρόβλημα. Έχω τις classes μου σε ένα φάκελο&amp;nbsp;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;font-size:11.1999998092651px;"&gt;MyClasses (&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;span style="font-size:11.1999998092651px;"&gt;namespace WebApplication1.MyClasses&lt;/span&gt;&lt;/font&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;font-size:11.1999998092651px;"&gt;) και οι σελίδες μου είναι σε έναν φάκελο Pages (&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;span style="font-size:11.1999998092651px;"&gt;namespace WebApplication1.Pages&lt;/span&gt;&lt;/font&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;font-size:11.1999998092651px;"&gt;).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Όταν όμως ανεβάζω το WebApp σε server (somee.com) και χτυπάω μια σελίδα που πάει να χρησιμοποιήσει τις classes Μου βγάζει το error αυτό:&amp;nbsp;&lt;b style="font-family:Verdana;margin-top:-5px;font-size:11.1999998092651px;"&gt;Compiler Error Message:&amp;nbsp;&lt;/b&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;font-size:11.1999998092651px;"&gt;CS0234: The type or namespace name 'MyClasses' does not exist in the namespace 'WebApplication1' (are you missing an assembly reference?).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;καμιά ιδέα...;&lt;/p&gt;&lt;p&gt;Από το google πάντως που έψαξα για WebApplication δεν προτείνουν να βάλω τις classes σε App_Code. Επίσης να σημειώσω πως έχω βάλει στα properties στις classes "Build Action-&amp;gt;Compile", αλλά τίποτα.....&lt;/p&gt;</description></item><item><title>Πρόβλημα με AJAX Enabled MessageBox</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/77077.aspx</link><pubDate>Tue, 02 Jun 2015 20:32:35 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:77077</guid><dc:creator>gstam78</dc:creator><slash:comments>1</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/77077.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=77077</wfw:commentRss><description>&lt;p&gt;Καλησπέρα σας,&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Κάνω χρήση σε μια εφαρμογή που έχω φτιάξει αυτού εδώ του control:&amp;nbsp;&lt;/span&gt;http://www.codeproject.com/Articles/42344/AJAX-Enabled-MessageBox&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;To control αυτό το κάνω register στη Master Page και το καλώ από τα web form της εφαρμογής. Το πρόβλημα που έχω είναι ότι όταν φεύγω από τη web form στην οποία έχει εμφανιστεί μου ξαναεμφανίζεται.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Τρόπος που το καλώ από μια web form:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;((MasterPage)this.Master).callUsercontrolAddInfoMessageMethod("No messages found!");&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;Τρόπος που το έχω ορίσει στη Master Page:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void callAjaxUsercontrolAddInfoMessageMethod(String msg)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; uscMsgBox1.AddMessage(msg, YaBu.MessageBox.uscMsgBox.enmMessageType.Info);&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; uscMsgBox1.Dispose();&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Τί μπορώ να κάνω, ώστε να μην μου ξαναεμφανίζεται όταν αφήνω τη web form;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>MasterPage flickering</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75468.aspx</link><pubDate>Fri, 06 Jun 2014 05:33:59 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75468</guid><dc:creator>gianestras</dc:creator><slash:comments>3</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75468.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75468</wfw:commentRss><description>&lt;div&gt;Καλησπέρα..&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Χρησιμοποιώ MasterPage για το project ασφαλώς με χρήση ContentPlaceHolder. Κάνοντας την περιήγηση μέσω ενός menuBar ή σε οποιοδήποτε PostBack συμβεί, υπάρχει το ενοχλητικό "τρεμοπαίξιμο" της σελίδας ολόκληρης.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Να σημειώσω πως δε κάνω χρήση javascript παρά μόνο καθαρό CSS.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Μετά από ψάξιμο και δοκιμάζοντας κάποιες προτεινόμενες λύσεις, το πρόβλημα συνεχίζεται.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Μήπως έχετε να προτείνετε κάτι σχετικό;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description></item><item><title>GridView RowDataBound Event - Access more than one row</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75425.aspx</link><pubDate>Wed, 28 May 2014 01:05:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75425</guid><dc:creator>gstam78</dc:creator><slash:comments>5</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75425.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75425</wfw:commentRss><description>
&lt;p&gt;Καλησπέρα σας,&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Θα ήθελα να ρωτήσω το εξής: Υπάρχει η δυνατότητα μέσα από το RowDataBound event ενός GridView να προσπελαύνω περισσότερα από ένα rows τη φορά; Βασικά όταν πάω να προσπελάσω το δεύτερο row (GridView1.Rows[1]) μου βγάζει το μήνυμα λάθους "index out of range". Για να γίνω πιο σαφής προσπαθώ να κάνω populate ένα dropdownlist control ανά GridViewRow. To populate γίνεται εξετάζοντας τις προηγούμενες τιμές στο dropdownlist ξεκινώντας από την πρώτη γραμμή του GridView. Σκοπός είναι σε κάθε νέο row του GridView το DropDownList να περιλαμβάνει μόνο τις απομένουσες τιμές , αφαιρώντας κάθε φορά αυτές που έχουν γίνει selected σε προηγούμενα row.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;Ενδεικτικός κώδικας, ο οποίος ελέγχει τις τιμές των dropdownlist των προηγούμενων row (όταν το RowIndex παίρνει τιμή μεγαλύτερη του 0&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;βγαίνει το μήνυμα λάθους "index out of range")&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
&lt;br&gt;

private IList &amp;lt;items&amp;gt; CheckPreviousRecordsForAddedItems() 
{ 
   int rowIndex = 0; 
   IList &amp;lt;items&amp;gt; itms = items.GetItems(); 
   IList&amp;lt;items&amp;gt;&amp;nbsp;addtoBasket = new List&amp;lt;items&amp;gt;&amp;nbsp;(); 
   if (Session["CurrentTable"] != null) 
   { 
      DataTable dt = (DataTable)Session["CurrentTable"]; 
      if (dt.Rows.Count &amp;gt; 0) 
      { 
          for (int i = 0; i &amp;lt; dt.Rows.Count-1; i++) 
          { 
              DropDownList ddlItem =                                               (DropDownList)GridView1.Rows[rowIndex].Cells[2].FindControl("ddlItem"); ddlItem.SelectedValue =     dt.Rows&lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-55.gif" alt="Idea" /&gt;["ItemID"].ToString(); 
              ddlItem.SelectedIndex = Convert.ToInt32(dt.Rows&lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-55.gif" alt="Idea" /&gt;["ID"]); 
              items item = items.GetItem(itms, Convert.ToInt32(ddlItem.SelectedValue)); 
              if (item != null) 
              { 
                addtoBasket.Add(item); 
              } 
          } 
          rowIndex++; 
       } 
     } 
   } 
   return addtoBasket; 
}&lt;/p&gt;&lt;p&gt;Κάθε βοήθεια είναι ευπρόσδεκτη.&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Ευχαριστώ εκ των προτέρων.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>ContentPlaceHolder στο &lt;Head&gt;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75411.aspx</link><pubDate>Thu, 22 May 2014 18:15:56 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75411</guid><dc:creator>gianestras</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75411.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75411</wfw:commentRss><description>&lt;P&gt;Καλημέρα σας.&lt;/P&gt;
&lt;P&gt;Μπορεί κάποιος να μου εξηγήσει ποιος ο ρόλος ενός ContentPlaceHolder στο &lt;STRONG&gt;&amp;lt;Head&amp;gt;&lt;/STRONG&gt; σε μια masterPAge;&lt;/P&gt;</description></item><item><title>Css menu.. πρόβλημα</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75373.aspx</link><pubDate>Fri, 16 May 2014 17:41:04 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75373</guid><dc:creator>gianestras</dc:creator><slash:comments>5</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75373.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75373</wfw:commentRss><description>&lt;P&gt;Καλημέρα..&lt;/P&gt;
&lt;P&gt;Αντιμετωπίζω ένα περίεργο πρόβλημα.&lt;/P&gt;
&lt;P&gt;Έχω ένα οριζόντιο μενού το οποίο έχει και υπομενού. Kάτω απο το μενού και συγκεκριμένα κάτω από το &amp;nbsp;υπομενού ( απόσταση 10px), έχω βάλει ένα dropDownList&amp;nbsp;όπου εδώ εμφανίζεται το περίεργο. Όταν κάνω κλικ στο&amp;nbsp;&amp;nbsp;dropDownList&amp;nbsp;για να επιλέξω κάτι, ως δια μαγείας ανοίγει το υπομενόυ (λες και του χω κάνει hover). Αν κατεβάσω το dropDownList&amp;nbsp;50px από το μενού, τότε όλα οκ.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Μήπως κάποιος από εσάς έχει αντιμετωπίσει κάτι παρόμοιο?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Ευχαριστώ&amp;nbsp;&lt;/P&gt;</description></item><item><title>validators... πρόβλημα</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75389.aspx</link><pubDate>Mon, 19 May 2014 11:24:52 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75389</guid><dc:creator>gianestras</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75389.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75389</wfw:commentRss><description>&lt;p&gt;Καλημέρα..&lt;/p&gt;&lt;p&gt;Έχω σε μια φόρμα ένα button2 το οποίο κάνει κάτι (απλό). &lt;/p&gt;&lt;p&gt;Aπό κάτω ένα panel μέσα στο οποίο υπάρχει ένα textbox1 ένα&amp;nbsp;RequiredFieldValidator1(ControlToValidate="textBox1") και ένα button1 οποίο κάνει κάτι(αναφορικά με ότι δώσεις στο textbox1). Το Panel αυτό δουλεύει μια χαρά(&lt;span style="font-size:10pt;"&gt;textbox1 -&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;RequiredFieldValidator1 -&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;button1&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Όμως όταν πατήσω το button2, αν δεν είναι γεμάτο το textbox1 μου χτυπάει το&amp;nbsp;&lt;span style="font-size:10pt;"&gt;RequiredFieldValidator1 και δεν εκτελείτε καθόλου το button2. To Button2 θα παίξει μόνο όταν γεμίσω το textbox1.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Πως μπορούν να συνυπάρξουν όλα αυτά αρμονικά;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Άλλο ένα παράξενο..(πατώντας το enter)</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75384.aspx</link><pubDate>Sun, 18 May 2014 07:17:59 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75384</guid><dc:creator>gianestras</dc:creator><slash:comments>3</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75384.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75384</wfw:commentRss><description>&lt;p&gt;Γεια σας..&lt;/p&gt;&lt;p&gt;Έχουμε μια απλή Φόρμα .aspx&lt;/p&gt;&lt;p&gt;Κατά σειρά έχουμε: button1 που κάνει κάτι, button2 που κάνει κάτι, button3 που κάνει κάτι και τέλος ένα textbox1(το textbox1 χωρίς κανένα event).&lt;/p&gt;&lt;p&gt;Κάνοντας κλικ στο textbox1 και πατώντας το ENTER κάνει fire to event του button1. Αν μεταφέρω 1o το button2 τότε κάνει fire το event του button2.&lt;/p&gt;&lt;p&gt;Γιατί αυτό?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Σας ευχαριστώ.&amp;nbsp;&lt;/p&gt;</description></item><item><title>DIV μέσα σε ContentPlaceHolder..</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75365.aspx</link><pubDate>Thu, 15 May 2014 07:46:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75365</guid><dc:creator>gianestras</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75365.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75365</wfw:commentRss><description>&lt;p&gt;Καλημέρα.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Όπως λέει και ο τίτλος έχω ένα DIV μέσα σε ένα ContentPlaceHolder.&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;	&lt;/span&gt;&amp;nbsp; &amp;lt;div id="MyDiv"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;		&lt;/span&gt;&amp;lt;asp:Label ID="label1" runat="server" Text="Επέλεξε τύπο καφέ: " CssClass="label1"&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/asp:Content&amp;gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Το πρόβλημά μου είναι πως θέλω να "πειράξω" με CSS κώδικα το DIV πχ να του αλλάξω το χρώμα αλλά δεν γίνεται τίποτα.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Ο κώδικας CSS είναι&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;#&lt;span style="font-size:10pt;"&gt;MyDiv&lt;/span&gt;&lt;/p&gt;&lt;p&gt;{ &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; background-color: red;&amp;nbsp;&lt;/p&gt;&lt;p&gt;}&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;αλλά χωρίς αποτέλεσμα.&lt;/p&gt;&lt;p&gt;*Να σημειώσω πως όλα αυτά γίνονται μέσα σε μια MasterPage.(εκτός το CSS)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>runat="server"</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75370.aspx</link><pubDate>Thu, 15 May 2014 22:11:03 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75370</guid><dc:creator>gianestras</dc:creator><slash:comments>1</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75370.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75370</wfw:commentRss><description>&lt;P&gt;Καλησπέρα..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Φαίνεται τόσο απλό αλλά μήπως θα μπορούσε κάποιος να μας εξηγήσει τι σημαίνει το runat="server" και&amp;nbsp;ποια η χρησιμότητά του με ένα απλό και κατανοητό παρράδεγιμα?&lt;/P&gt;
&lt;P&gt;Από το ψαχτήρι που έκανα γενικά στο google δε μπορώ να πω πως κατάλαβα και πολλά.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Επίσης ποια η διαφορά με το autoPostBack?(το οποίο κάνει fire στα events των ASP Controls)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Ευχαριστώ...&lt;/P&gt;</description></item><item><title>Data from SQL</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/75151.aspx</link><pubDate>Thu, 13 Mar 2014 21:07:59 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75151</guid><dc:creator>kostasvit</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/75151.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=75151</wfw:commentRss><description>παιδιά καλημέρα, ήθελα να ρωτήσω, πως μπορώ έχοντας μια βάση δεδομένων να φτιάξω συνδέσμους σε μια σελίδα και πατώντας πάνω σε έναν σύνδεσμο να μου εμφανίζει τα δεδομένα απο την βάση σύμφωνα με το ID της κάθε εγγραφής;;;;;</description></item><item><title>Upload image-text</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/74860.aspx</link><pubDate>Mon, 06 Jan 2014 19:23:00 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:74860</guid><dc:creator>kostasvit</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/74860.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=74860</wfw:commentRss><description>&lt;p&gt;καλημέρα&lt;/p&gt;&lt;p&gt;ήθελα να ρωτήσω, πως θα μπορούσα ενώ έχω ανεβάσει σε μια βάση sql image-text κλπ στην συνέχεια αυτά να εμφανίζονται σε μια άλλη σελίδα;&lt;/p&gt;&lt;p&gt;(έχω και ένα μενού με κατηγορίες, έτσι όταν πατάω σε κάποιο θα εμφανίζει της αντίστοιχες εικόνες και κείμενο)&amp;nbsp;&lt;/p&gt;</description></item><item><title>AsyncFileUpload Access to the path ... is Denied</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/74755.aspx</link><pubDate>Sat, 07 Dec 2013 00:54:41 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:74755</guid><dc:creator>loukas_l</dc:creator><slash:comments>3</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/74755.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=74755</wfw:commentRss><description>&lt;p&gt;Καλησπέρα&lt;br&gt;&lt;/p&gt;&lt;p&gt;Χρησιμοποιώ AsyncFileUpload&amp;nbsp;&amp;nbsp; &amp;lt;input type="file" id="fileselect" name="fileselect[]" multiple="multiple"&amp;nbsp; runat="server"/&amp;gt;.&lt;/p&gt;&lt;p&gt;Όταν πατάω το να κάνω απθήκευση μου βγάζει σφάλμα&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif;"&gt;ASP.NET
 is not authorized to access the requested resource. Consider granting 
access rights to the resource to the ASP.NET
 request identity. ASP.NET has a base process identity (typically 
{MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the
 configured application pool identity on IIS 7.5) that is used if the 
application is not impersonating. If the application
 is impersonating via &amp;lt;identity impersonate="true"/&amp;gt;, the identity
 will be the anonymous user (typically IUSR_MACHINENAME) or the 
authenticated request user.
&lt;br&gt;
&lt;br&gt;
To grant ASP.NET access to a file, right-click the file in File 
Explorer, choose "Properties" and select the Security tab. Click "Add" 
to add the appropriate user or group. Highlight the ASP.NET account, and
 check the boxes for the desired access.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ο κώδικας για το save είναι.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="prettyprint prettyprinted"&gt;&lt;span class="kwd"&gt;for&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="kwd"&gt;int&lt;/span&gt;&lt;span class="pln"&gt; i &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="lit"&gt;0&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;span class="pln"&gt; i &lt;/span&gt;&lt;span class="pun"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="typ"&gt;Request&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Files&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Count&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;span class="pln"&gt; i&lt;/span&gt;&lt;span class="pun"&gt;++)&lt;/span&gt;&lt;span class="pln"&gt;
                &lt;/span&gt;&lt;span class="pun"&gt;{&lt;/span&gt;&lt;span class="pln"&gt;
                    &lt;/span&gt;&lt;span class="typ"&gt;HttpPostedFile&lt;/span&gt;&lt;span class="pln"&gt; file &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="typ"&gt;Request&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Files&lt;/span&gt;&lt;span class="pun"&gt;[&lt;/span&gt;&lt;span class="pln"&gt;i&lt;/span&gt;&lt;span class="pun"&gt;];&lt;/span&gt;&lt;span class="pln"&gt;
                    &lt;/span&gt;&lt;span class="kwd"&gt;if&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt;file&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;ContentLength&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;==&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="lit"&gt;0&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;
                    &lt;/span&gt;&lt;span class="pun"&gt;{&lt;/span&gt;&lt;span class="pln"&gt;
                        &lt;/span&gt;&lt;span class="kwd"&gt;continue&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;span class="pln"&gt;
                    &lt;/span&gt;&lt;span class="pun"&gt;}&lt;/span&gt;&lt;span class="pln"&gt;

                   
                    file&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;SaveAs&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt;mappath&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;span class="pln"&gt;
                &lt;/span&gt;&lt;span class="pun"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint prettyprinted"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="prettyprint prettyprinted"&gt;Αν μπορεί κάποιος να βοηθήσει ή έχει συναντήσει το ίδιο θέμα.&lt;/pre&gt;&lt;pre class="prettyprint prettyprinted"&gt;Ευχαριστώ &lt;br&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Δημιουργία pdf από HTML [ASP.NET Web forms]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/74293.aspx</link><pubDate>Mon, 09 Sep 2013 23:38:56 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:74293</guid><dc:creator>tasos</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/74293.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=74293</wfw:commentRss><description>&lt;p&gt;Καλησπέρα σας, &lt;/p&gt;&lt;p&gt;Έχετε να προτείνετε κάποιο component το οποίο να μετατρέπει μία HTML σελίδα σε pdf; Θέλω να χρησιμοποιήσω ένα τέτοιο component σε ASP.NET Web forms application, με βασική προϋπόθεση να παίζει σε medium trust.&lt;/p&gt;</description></item><item><title>DataList with UserInRole!!!!!!!!!!</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/72501.aspx</link><pubDate>Fri, 19 Apr 2013 05:44:38 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:72501</guid><dc:creator>kos6101991</dc:creator><slash:comments>2</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/72501.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=72501</wfw:commentRss><description>&lt;p&gt;Καλησπερα παιδια....Λοιπον φτιαχνω ενα site για αναζητηση εστιατοριων....Σε καποιες σελιδες υπαρχει ενα textbox οπου μεσω αυτου γινεται η αναζητηση...Τωρα τα αποτελεσματα εμφανιζονται σε μια dataList. για καθε item της datalist&amp;nbsp; εχω ορισει ενα datalist item οπου εκει εχω βαλει και ενα κουμπι...δλδ για καθε ενα ιτεμ της λιστας θα υπαρχει και ενα κουμπι...Θελω ομως αυτο το κουμπι να ειναι εμφανες μονο οταν ο χρηστης εχει κανει log in .Δεν θελω δλδ οι επισκεπτες να το βλεπουν....Πως μπορω να το κλειδωσω καθως δεν ξερω&amp;nbsp;&amp;nbsp; καθε φορα ποσα αντικειμενα θα εχει η λιστα, μπορει 5, μπορει 10....και επισης δεν γνωρίζω σε ποιο εβεντ της λιστας να βαλω τον κωδικα που πρεπει...δλδ ειχα γραψει με κωδικα στο&lt;b&gt; DataList1_ItemDataBound&lt;/b&gt;&amp;nbsp; να βαζει visible=false; οταν καποιος χρηστης ειναι σε ρολο αλλα δεν εκανε τιποτα.......&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ευχαριστω!!! &lt;br&gt;&lt;/p&gt;</description></item><item><title>aspx και page_load</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/72160.aspx</link><pubDate>Tue, 19 Feb 2013 00:20:03 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:72160</guid><dc:creator>evagelos</dc:creator><slash:comments>1</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/72160.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=72160</wfw:commentRss><description>&lt;p&gt;Γεια σας παιδια,φτιάχνω την 1η μου σελίδα σε asp και έχω μια basic ερώτησηστην page_load έχω αυτό:&lt;/p&gt;&lt;pre&gt;&lt;span style="color:black;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;        &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;object&lt;/span&gt; sender, EventArgs e)
        {
            LoadSqlDatas();
            LoadLB();
            &lt;span style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;//loadtmp();&lt;/span&gt;
        }&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;η LoadSqlDatas φορτώνει απο ένα webservice ένα datatable με μεγάλο αριθμό rows.&lt;/p&gt;&lt;p&gt;η&amp;nbsp;LoadLB γεμίζει 2 listbox που έχω μέσα. Στην συνέχεια έχω βάλει ένα κουμπί και όταν ο χρήστης το πατάει τότε κανω διαφορους υπολογισμούς απο το datatable και τα εμφανίζω σε ένα chart στην οθόνη.&lt;/p&gt;&lt;p&gt;1) Στο&amp;nbsp;τέλος της διαδικασίας βλέπω ότι,&amp;nbsp;για καποιο λόγω ξανα τρέχει η page_load γιατί ξαναβλέπω sql query στον sql ενώ δεν έπρεπε να υπάρχει αυτό. Επίσης επειδή τα listbox τα γεμίζω με loop και δεν τα αδειάζω ποτέ βλέπω ότι παίρνουν 2-3-4 φορές τιμες όσες φορες δηλαδή πατησα το κουμπί εκτέλεσης.&lt;/p&gt;&lt;p&gt;2) Πως μπορώ να έχω το chart width όσο πλάτος έχει και η οθόνη του χρήστη; Αν έχει κινητό θα κανει scale μονο του ή θα πρέπε να του το πω;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;&lt;span style="color:black;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;        &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;private&lt;/span&gt; &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;void&lt;/span&gt; LoadDatas()
        {
            DataTable tmpDT &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/span&gt; dt.Select(&lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"fyeid = 2012 and braid = 1"&lt;/span&gt;).CopyToDataTable();
            Chart1.Width &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/span&gt; Request.Browser.ScreenPixelsWidth;
            Chart1.Series[0].Name &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/span&gt; &lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Τζίρος Πωλήσεων"&lt;/span&gt;;
            Chart1.Series[0].IsValueShownAsLabel &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/span&gt; &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;true&lt;/span&gt;;
            Chart1.Series[0].Points.Clear();
            &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;for&lt;/span&gt; (&lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;int&lt;/span&gt; i &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/span&gt; 0; i &amp;lt; tmpDT.Rows.Count; i++)
            {
                Chart1.Series[0].Points.AddXY(i &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/span&gt; 1, Convert.ToDouble(tmpDT.Rows&lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-55.gif" alt="Idea" /&gt;[&lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"trnvalue"&lt;/span&gt;]));
            }
        }        
            
        


        &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;void&lt;/span&gt; Button1_Click(&lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;object&lt;/span&gt; sender, EventArgs e)
        {
            LoadDatas();
        }&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ευχαριστώ&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Custom config elements in web.config</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/72150.aspx</link><pubDate>Fri, 15 Feb 2013 01:40:58 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:72150</guid><dc:creator>psid</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/72150.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=72150</wfw:commentRss><description>&lt;P&gt;Είναι κάπως ενοχλητικά τα μηνύματα " &lt;EM&gt;Could not find schema information for the element 'xyz'&lt;/EM&gt; "&amp;nbsp; στο web.config για κάθε custom property&lt;BR&gt;που εισάγω, αφού βέβαια τα έχω δηλώσει στο &amp;lt;configSections&amp;gt;.&amp;nbsp;Αν υπάρχει λυση θα ήθελα πολύ να την ακούσω.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Διασύνδεση με PayPal και δυνατότητα για PayPal Account Optional</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/72051.aspx</link><pubDate>Tue, 05 Feb 2013 01:58:11 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:72051</guid><dc:creator>tasos</dc:creator><slash:comments>1</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/72051.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=72051</wfw:commentRss><description>Καλησπέρα σας, &lt;br&gt;&lt;br&gt;Έχω βάλει σε μία εφαρμογή μου διασύνδεση με PayPal, η οποία λειτουργεί κανονικά αλλά όταν σε πάει στη σελίδα του PayPal ζητάει να κάνεις login ή να φτιάξεις λογαριασμό. &lt;br&gt;Θα ήθελα να επιτρέπει στους χρήστες να κάνουν πληρωμή χωρίς να έχουν ή να φτιάξουν λογαριασμό στο PayPal. &lt;br&gt;&lt;br&gt;Το PayPal account που χρησιμοποιώ είναι Business και το "PayPal Account Optional" είναι ενεργοποιήμενο. Όταν κάποιος πάει να πληρώσει στο account αυτό με κάποιο button υπάρχει η επιλογή "Pay with my credit or debit card", ενώ όταν κάποιος πάει μέσα από τη φόρμα μου ζητάει δημιουργία λογαριασμού. &lt;br&gt;&lt;br&gt;Το library δεν τον έχω γράψει εγώ, και δεν έχω καλή εξοικείωση με την ορολογία του PayPal. &lt;br&gt;Από αρκετή αναζήτηση μέσα στη μέρα, κατάλαβα (μάλλον!) πως πρέπει να αλλάξω κάποιες παραμέτρους στο submit URL. Παραθέτω τον κώδικα που το κάνει build. &lt;br&gt;&lt;br&gt;&lt;table style="background-color:#f2f2f2;border:solid 1px #e5e5e5;" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;tr style="vertical-align:top;line-height:normal;"&gt;&lt;td style="width:40px;text-align:right;"&gt;&lt;pre style="font-family:courier new;font-size:11px;color:gray;margin:0px;padding:2px;border-right:solid 1px #e7e7e7;"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 &lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;pre style="margin:0px;padding:2px;padding-left:8px;"&gt;&lt;span style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Public&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Function&lt;/span&gt; GetSubmitUrl() &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;String&lt;/span&gt;
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Dim&lt;/span&gt; myUrl &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;New&lt;/span&gt; StringBuilder()

    myUrl.Append((&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Me&lt;/span&gt;.PayPalBaseUrl &amp;amp; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"cmd=_xclick&amp;amp;business="&lt;/span&gt;) &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;+&lt;/span&gt; HttpUtility.UrlEncode(AccountEmail))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (BuyerEmail &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;email={0}"&lt;/span&gt;, HttpUtility.UrlEncode(BuyerEmail))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (Amount &amp;lt;&amp;gt; 0D) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;amount={0:f2}"&lt;/span&gt;, Amount)
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (LogoUrl &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;image_url={0}"&lt;/span&gt;, HttpUtility.UrlEncode(LogoUrl))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (ItemName &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;item_name={0}"&lt;/span&gt;, HttpUtility.UrlEncode(ItemName))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (CurrencyCode &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;currency_code={0}"&lt;/span&gt;, HttpUtility.UrlEncode(CurrencyCode))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (InvoiceNo &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;invoice={0}"&lt;/span&gt;, HttpUtility.UrlEncode(InvoiceNo))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (SuccessUrl &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;return={0}"&lt;/span&gt;, HttpUtility.UrlEncode(SuccessUrl))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (CancelUrl &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;cancel_return={0}"&lt;/span&gt;, HttpUtility.UrlEncode(CancelUrl))
    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/span&gt; (NotifyUrl &amp;lt;&amp;gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;) &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/span&gt; myUrl.AppendFormat(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;notify_url={0}"&lt;/span&gt;, HttpUtility.UrlEncode(NotifyUrl))

    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Return&lt;/span&gt; myUrl.ToString()
&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;End&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Function&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;Αυτό που ζητάω είναι κάτι που μπορεί να ενεργοποιηθεί πειράζοντας την παραπάνω συνάρτηση; Χρειάζεται να κάνω κάτι άλλο ή τελικά θα πρέπει να δουλέψω στο SDK του PayPal και να το στήσω (πρακτικά) από την αρχή;&lt;br&gt;</description></item></channel></rss>