﻿<?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 - WebCombo - WebCombo Retrieve values server side</title><link>http://www.intersoftsolutions.com/Community/WebCombo/WebCombo-Retrieve-values-server-side/</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>WebCombo Retrieve values server side</title><link>http://www.intersoftsolutions.com/Community/WebCombo/WebCombo-Retrieve-values-server-side/</link><pubDate>Mon, 28 Sep 2009 05:25:26 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><category>WebCombo Retrieve values server side</category><description>&lt;blockquote&gt;&lt;p&gt;... The scenario is the following: &lt;strong&gt;When I delete a WG row I need to retrieve the value from the selected row cell(2) of the WCombo&lt;/strong&gt;...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Your information is useful. I’m able to repro the&amp;nbsp;error if I use the code in WebGrid OnDeleteRow server side event. “WebCombo1.SelectedRow” returns null. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;This happens because in WebGrid FlyPostBack context, not all of WebCombo information is sent to avoid performance issue. In normal circumstances, other controls wouldn’t be submitted in FlyPostBack context. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Since WebCombo1.Value or WebCombo1.Text information is passed in WebGrid FlyPostBack context, I suggest you to obtain the other cell of selected row by using query based on the value or text of WebCombo1.Value or WebCombo1.Text. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebCombo Retrieve values server side</title><link>http://www.intersoftsolutions.com/Community/WebCombo/WebCombo-Retrieve-values-server-side/</link><pubDate>Fri, 25 Sep 2009 10:05:08 GMT</pubDate><dc:creator>lucisit</dc:creator><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hello This is the error.&lt;/p&gt;
&lt;p&gt;Regards, Luciano&lt;/p&gt;</description></item><item><title>WebCombo Retrieve values server side</title><link>http://www.intersoftsolutions.com/Community/WebCombo/WebCombo-Retrieve-values-server-side/</link><pubDate>Fri, 25 Sep 2009 09:56:48 GMT</pubDate><dc:creator>lucisit</dc:creator><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hello, before writing my question I had already tried the code above, but it returns null value for the object. The scenario is the following: When I delete a WG row I need to retrieve the value from the selected row cell(2) of the WCombo. &lt;/p&gt;
&lt;p&gt;Thank you, my best regards.&lt;/p&gt;
&lt;p&gt;Luciano&lt;/p&gt;</description></item><item><title>WebCombo Retrieve values server side</title><link>http://www.intersoftsolutions.com/Community/WebCombo/WebCombo-Retrieve-values-server-side/</link><pubDate>Fri, 25 Sep 2009 05:27:09 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><category>WebCombo Retrieve values server side</category><description>&lt;blockquote&gt;&lt;p&gt;Hello, is there any chance to retrieve server side all the WebCombo columns' values for the selected row, &lt;strong&gt;when the postback is set to false&lt;/strong&gt;. The only value availble it seems to be Webcombo1.Value. Thank you my best regards. Luciano&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please try to use following snippet code to obtain all the column values of the selected row of WebCombo.&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: 'courier new'; font-size: 10pt"&gt;Label1.Text = WebCombo1.SelectedRow.Cells.GetNamedItem(&lt;span style="color: #a31515"&gt;"ContactName"&lt;/span&gt;).Text;
Label2.Text = WebCombo1.SelectedRow.Cells.GetNamedItem(&lt;span style="color: #a31515"&gt;"CompanyName"&lt;/span&gt;).Text;
Label3.Text = WebCombo1.SelectedRow.Cells.GetNamedItem(&lt;span style="color: #a31515"&gt;"Phone"&lt;/span&gt;).Text;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I assume that the term “when the postback is set to false” refer to AllowAutoPostback=”False” in WebCombo. Please let me know if you have different scenario.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</description></item><item><title>WebCombo Retrieve values server side</title><link>http://www.intersoftsolutions.com/Community/WebCombo/WebCombo-Retrieve-values-server-side/</link><pubDate>Thu, 24 Sep 2009 12:04:33 GMT</pubDate><dc:creator>lucisit</dc:creator><category>WebCombo Retrieve values server side</category><description>&lt;p&gt;Hello, is there any chance to retrieve server side all the WebCombo columns' values for the selected row, when the postback is set to false. The only value availble it seems to be Webcombo1.Value. Thank you my best regards. Luciano&lt;/p&gt;</description></item></channel></rss>