<?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>Απ: Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40409.aspx</link><pubDate>Sat, 23 Feb 2008 00:35:15 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40409</guid><dc:creator>manosB</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40409.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40409</wfw:commentRss><description>Κύριοι σας ευχαριστώ πολύ&lt;br&gt;</description></item><item><title>Απ: Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40407.aspx</link><pubDate>Sat, 23 Feb 2008 00:16:09 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40407</guid><dc:creator>Pak</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40407.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40407</wfw:commentRss><description>&lt;P&gt;...Και μετά βαζεις και ένα property read only στον&amp;nbsp;container και το ελέγχεις στο load του control. Αν είναι true τότε τρέχει το loop...&lt;/P&gt;</description></item><item><title>Απ: Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40406.aspx</link><pubDate>Fri, 22 Feb 2008 23:47:13 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40406</guid><dc:creator>elam</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40406.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40406</wfw:commentRss><description>&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;manosB:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;ήθελα να αποφύγω τo loop.&lt;BR&gt;&lt;BR&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Γιατί να το αποφύγεις το loop;&lt;BR&gt;Κάποιος θα πρέπει να το κάνει και αυτό &lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-1.gif" alt="Smile" /&gt; ή ο κώδικάς σου, ή ο container που θέλεις.&lt;/P&gt;
&lt;P&gt;Πάντως η ιδέα του Pak για custom container είναι καλή: &lt;BR&gt;Αποφεύγεις το cast που έχεις με το panel, και βάζεις μόνο ένα loop στον container.&lt;/P&gt;</description></item><item><title>Απ: Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40404.aspx</link><pubDate>Fri, 22 Feb 2008 22:57:23 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40404</guid><dc:creator>Pak</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40404.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40404</wfw:commentRss><description>&lt;P&gt;Πώς σου φαίνεται η ιδέα να φτιάξεις ένα custom container?&lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/P&gt;</description></item><item><title>Απ: Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40402.aspx</link><pubDate>Fri, 22 Feb 2008 21:51:17 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40402</guid><dc:creator>manosB</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40402.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40402</wfw:commentRss><description>Ήθελα να τα βάλω σε κάποια μορφής container και να πω Container.readonly=true;&lt;br&gt;Αν δεν υπάρχει κάτι τέτοιο αναγκαστικά θα καταφύγω σε κάτι σαν και αυτό που περιγράφεις αν και ήθελα να αποφύγω τo loop.&lt;br&gt;&lt;br&gt;</description></item><item><title>Απ: Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40401.aspx</link><pubDate>Fri, 22 Feb 2008 21:11:59 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40401</guid><dc:creator>elam</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40401.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40401</wfw:commentRss><description>&lt;P&gt;Γιατί δεν τα βάζεις σε Collections όλα τα Textboxes ανά ομάδα; &lt;BR&gt;Σε κάθε Collection, με ένα foreach, μπορείς να τα κάνεις όλα readonly.&lt;/P&gt;
&lt;P&gt;Μήπως εννοείς κάτι άλλο;&lt;/P&gt;
&lt;P&gt;Για παράδειγμα, αν παίξεις με panels&amp;nbsp;τότε το collection σου το έχουν έτοιμο:&lt;/P&gt;
&lt;P&gt;foreach (Control c in Panel1.Controls) &lt;BR&gt;&amp;nbsp; if (c is TextBox) ((TextBox)c).ReadOnly = true;&lt;/P&gt;</description></item><item><title>Πως κάνω πολλά textboxes readonly μαζί.</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/40400.aspx</link><pubDate>Fri, 22 Feb 2008 19:11:29 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:40400</guid><dc:creator>manosB</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/40400.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=40400</wfw:commentRss><description>Εχω 10 textboxes κια θέλω να τα κάνω read only με κώδικα υπό προυποθέσεις. &lt;br&gt;&lt;br&gt;Γίνεται να τα βάλω κάπου ώστε να τα κάνω όλα μαζί. Πχ σε ένα panel αλλά αυτό δυστυχώς δεν υποστηρίζει readonly.&lt;br&gt;&lt;br&gt;Am i missing sth?&lt;br&gt;</description></item></channel></rss>