<?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>Απ: Infragistics ultrawebgrid με ιεραρχικό dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/22293.aspx</link><pubDate>Fri, 15 Dec 2006 21:19:02 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:22293</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/22293.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22293</wfw:commentRss><description>no prob man&lt;BR&gt;&lt;BR&gt;any time &lt;img src="/cs/emoticons/emotion-5.gif" alt="Wink" /&gt;</description></item><item><title>Απ: Infragistics ultrawebgrid με ιεραρχικό dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/22291.aspx</link><pubDate>Fri, 15 Dec 2006 21:12:41 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:22291</guid><dc:creator>thdls55</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/22291.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22291</wfw:commentRss><description>Γεια σου, Νάσσο.&lt;br /&gt;
&lt;br /&gt;
Δεν έχω εμπειρία για να πω αν είναι non-standard η προσέγγιση... Όμως μου φαίνεται πολύ κομψή (καλύτερη από το να άνοιγε Connection), και ταιριάζει με το στυλ του κώδικα που έχω γράψει ως τώρα. &lt;br /&gt;
&lt;br /&gt;
Ευχαριστώ πολύ!&lt;br /&gt;
&lt;br /&gt;
NetAdvantage 6.2/CLR 2.0 (C#)&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Απ: Infragistics ultrawebgrid με ιεραρχικό dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/22244.aspx</link><pubDate>Fri, 15 Dec 2006 05:16:37 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:22244</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/22244.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22244</wfw:commentRss><description>&lt;P&gt;Infragistics ver 6.1 CLR2.0&lt;BR&gt;&lt;BR&gt;Δεν ξερω τη γίνετε παρακάτω σε web version.&lt;BR&gt;&lt;BR&gt;εσύ τη version εχεις?&lt;BR&gt;&lt;BR&gt;Εδώ είναι πώς το έκανα εγώ για να το τεστάρω, πριν ποστάρω.lol&lt;img src="/cs/emoticons/emotion-43.gif" alt="Confused" /&gt;&lt;/P&gt;
&lt;P&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;protected&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;//Setting the ViewType of the Grid&lt;/span&gt;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.UltraWebGrid1.DisplayLayout.ViewType &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;br /&gt;           Infragistics.WebUI.UltraWebGrid.ViewType.OutlookGroupBy;&lt;br /&gt;        &lt;br /&gt;        &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;//Getting the DataSet of the Master dataSource (Dummy Way)&lt;/span&gt;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.AccessDataSource2.DataSourceMode &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; SqlDataSourceMode.DataSet;&lt;br /&gt;        DataView viewMaster &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;br /&gt;           &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.AccessDataSource2.Select(DataSourceSelectArguments.Empty) &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;as&lt;/span&gt; DataView;&lt;br /&gt;        DataSet dsMaster &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; viewMaster.Table.DataSet;&lt;br /&gt;       &lt;br /&gt;        &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;//Getting the DataSet of the Detail dataSource (Dummy Way)&lt;/span&gt;&lt;br /&gt;        DataView viewDet &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;br /&gt;           &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.AccessDataSource1.Select(DataSourceSelectArguments.Empty) &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;as&lt;/span&gt; DataView;&lt;br /&gt;        DataSet dsDet &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; viewDet.Table.DataSet;&lt;br /&gt;       &lt;br /&gt;        &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;//Creating the DataSet for the grid&lt;/span&gt;&lt;br /&gt;        DataSet ds &lt;span style="color: Red;background-color: Transparent;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;new&lt;/span&gt; DataSet();&lt;br /&gt;        ds.Tables.Add(dsMaster.Tables[0].Copy());&lt;br /&gt;        DataTable master &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; ds.Tables[0];&lt;br /&gt;        master.TableName &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"Master"&lt;/span&gt;;&lt;br /&gt;       ds.Tables.Add(dsDet.Tables[0].Copy());&lt;br /&gt;       DataTable Detail &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; ds.Tables[1];&lt;br /&gt;       Detail.TableName &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"Detail"&lt;/span&gt;;&lt;br /&gt;      &lt;br /&gt;        &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;//Creating the relation&lt;/span&gt;&lt;br /&gt;       DataRelation relation &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; &lt;br /&gt;           &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;new&lt;/span&gt; DataRelation(&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"Test"&lt;/span&gt;, master.Columns[&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"MID"&lt;/span&gt;], Detail.Columns[&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"MDMASTERID"&lt;/span&gt;]);&lt;br /&gt;        &lt;br /&gt; ds.Relations.Add(relation);&lt;br /&gt;      &lt;br /&gt;        &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;//Add the DataSet to the Grid&lt;/span&gt;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.UltraWebGrid1.DataSource &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; ds;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.UltraWebGrid1.DataMember &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; master.TableName;&lt;br /&gt;        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;this&lt;/span&gt;.UltraWebGrid1.DataBind();&lt;br /&gt;    }&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Όλα τα σχόλια περι περιεργου Approch .... true αλλα βαριόμουνα να κανω Connection&lt;img src="/cs/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;/P&gt;</description></item><item><title>Απ: Infragistics ultrawebgrid με ιεραρχικό dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/22243.aspx</link><pubDate>Fri, 15 Dec 2006 05:13:44 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:22243</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/22243.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22243</wfw:commentRss><description>Φίλε thds55,&lt;BR&gt;&lt;BR&gt;το ViewType property πρεπει να ειναι outlookGroupBy και όχι Hierarchical:&lt;BR&gt;&lt;BR&gt;this.UltraWebGrid1.DisplayLayout.ViewType = Infragistics.WebUI.UltraWebGrid.ViewType.OutlookGroupBy;&lt;BR&gt;&lt;BR&gt;αυτο μόνο χρειάζεσαι, αν δε δουλευει, τοτε κατι παιζει με το DataSource σου.&lt;BR&gt;&lt;BR&gt;ΑΑΑ Επίσης σαν DataMember του Grid να ειναι το Master Table!&lt;BR&gt;&lt;BR&gt;Hope it'll work&lt;BR&gt;&lt;BR&gt;Nassos</description></item><item><title>Infragistics ultrawebgrid με ιεραρχικό dataset</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/22220.aspx</link><pubDate>Thu, 14 Dec 2006 23:05:51 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:22220</guid><dc:creator>thdls55</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/22220.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22220</wfw:commentRss><description>Γεια σας. Εδώ και 1 βδομάδα δουλεύω για πρώτη φορά σε τεχνολογία Microsoft, και αυτό είναι το πρώτο μου post..&lt;br /&gt;&lt;br /&gt;Ως τώρα έχω φτιάξει επίπεδα ultrawebgrids που μιλούν απευθείας με SQLDataSources.&lt;br /&gt; &lt;br /&gt;Προκειμένου να φτιάξω ένα ιεραρχικό grid, &lt;br /&gt;1. δημιούργησα ένα DataSet με 2 πίνακες και 1 relation&lt;br /&gt;2. το συνέδεσα με ένα ObjectDataSource (ορίζοντας το TableAdapter του parent ως business object του DataSource).&lt;br /&gt;3. Συνέδεσα το DataSource στο grid&lt;br /&gt;4. Όρισα τον τύπο του grid να είναι hierarchical.&lt;br /&gt;&lt;br /&gt;Το αποτέλεσμα είναι να πάρω ένα επίπεδο grid, χωρίς ιεραρχία.Υποπτεύομαι ότι κάτι παραπάνω χρειαζόταν στο βήμα 2.&lt;br /&gt;&lt;br /&gt;ευχαριστώ&lt;br /&gt;</description></item></channel></rss>