﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - .net 4.6 and webGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/net-46-and-webGrid/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>.net 4.6 and webGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/net-46-and-webGrid/</link><pubDate>Thu, 15 Dec 2016 09:04:33 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear the good news.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to contact us through the &lt;a href="#livechat" target="_blank"&gt;live chat&lt;/a&gt; service or post it into our &lt;a href="http://www.intersoftsolutions.com/Community" target="_blank"&gt;community&lt;/a&gt;. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>.net 4.6 and webGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/net-46-and-webGrid/</link><pubDate>Mon, 07 Nov 2016 15:23:49 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>Thanks&lt;br&gt;&lt;br&gt;Not sure what is going on! I can't reproduce the problem using the samples but my project defiently has the problem. WebGrid1.RootTable.GetCheckedRows() is nothing when I use the targetFramework=4.6 on the httpRuntime tag.&amp;nbsp; No idea how to proceed with this other than removing the targetFramework!&lt;br&gt;&lt;br&gt;Thanks anyway&lt;br&gt;</description></item><item><title>.net 4.6 and webGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/net-46-and-webGrid/</link><pubDate>Mon, 07 Nov 2016 04:57:04 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I started my investigation by creating a simple Web Application targeting Framework 4.6. Decided to skip testing Framework 4.0 since the problem only happen when targetFramework is set to 4.6.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;A web form, WebForm1.aspx, is added into the application. It has a WebGrid and an ASP.NET Button. The grid is bind to SQLDataSource control and shows Customers data. Initially, the grid is grouped by "Country" column with ascending sort order.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="500px" Width="100%" DataSourceID="SqlDataSource1"&amp;gt;
    &amp;lt;LayoutSettings AllowGrouping="Yes"&amp;gt;            
    &amp;lt;/LayoutSettings&amp;gt;
    &amp;lt;RootTable DataKeyField="CustomerID"&amp;gt;
        &amp;lt;GroupedColumns&amp;gt;
            &amp;lt;ISWebGrid:WebGridGroup ColumnMember="Country" SortOrder="Ascending" GroupMode="Expanded" /&amp;gt;
        &amp;lt;/GroupedColumns&amp;gt;
        &amp;lt;Columns&amp;gt;
            ...
        &amp;lt;/Columns&amp;gt;
    &amp;lt;/RootTable&amp;gt;
&amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following code is added into the button click event handler.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
	If (WebGrid1.SelectedRowKeyValue &amp;lt;&amp;gt; "" Or IsNothing(WebGrid1.SelectedRowKeyValue)) Then
		Dim keyValue As String = WebGrid1.SelectedRowKeyValue
		Dim x = keyValue
		Dim name = WebGrid1.RootTable.GetUngrouppedRows().GetRowByKeyValue(keyValue).Cells.GetNamedItem("CompanyName").Text

		Button1.Text = name
	End If
End Sub&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following steps are performed in order to test the reported problem:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="color: #1f497d;"&gt;&lt;li&gt;View WebForm1.aspx page in browser.&lt;/li&gt;&lt;li&gt;Select any row.&lt;/li&gt;&lt;li&gt;Click the Button1 (under WebGrid control).&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Everything work as expected and I was unable to replicate the problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I enclose my simple sample as attachment. Please have my sample evaluated on your end and feel free to let me know if you find anything that I might miss during my attempt in order to reproduce the problem.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>.net 4.6 and webGrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/net-46-and-webGrid/</link><pubDate>Thu, 03 Nov 2016 13:37:40 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>&lt;p&gt;Using the latest version of webGrid.&lt;/p&gt;&lt;p&gt;I have a page which uses a grid and has code behind to get some values from the selected row:&lt;/p&gt;&lt;p&gt;Dim keyValue As String = WebGrid4.SelectedRowKeyValue&lt;br&gt; x = keyValue&lt;br&gt; name = WebGrid4.RootTable.GetUngrouppedRows().GetRowByKeyValue(keyValue).Cells.GetNamedItem("Name").Text&lt;/p&gt;&lt;p&gt;When running it using ASP .NET Framework 4.0 all is fine and the keyValue returned is the value that I am expecting, so no problem.&amp;nbsp; But if I go to Framework 4.6 and change the &amp;lt;httpRuntime tag in web.config to use the targetFramework=4.6, the SelectedRowKey value (listed above) returns a null value. Removing the targetFramework=46 from &amp;lt;httpRuntime gets the proper value for keyValue.&lt;br&gt;&lt;/p&gt;&lt;p&gt;Any ideas?&lt;br&gt;&lt;/p&gt;&lt;p&gt;thanks&lt;br&gt;&lt;/p&gt;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&lt;p&gt;john&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>