﻿<?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 - Multiple</title><link>http://www.intersoftsolutions.com/Community/Tags/Multiple/</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>Webgrid column value depending on multiple values</title><link>http://www.intersoftsolutions.com/Community/Tags/Multiple/</link><pubDate>Wed, 04 Apr 2012 10:03:18 GMT</pubDate><dc:creator>beyti77</dc:creator><category>WebGrid</category><category>WebCombo</category><category>Multiple</category><category>multiple values</category><category>value list</category><category>multiple column lookup</category><description>&lt;p&gt;The first thing I'm trying to achieve is, get a columns value that is calculated using 2 other columns, like:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;"User" table has the "&lt;span style="font-size: 10pt; "&gt;PrimarySectorId" and "PrimarySectorTypeId" columns.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;&amp;nbsp;And I have 8 different "Sector" tables like "SectorA", "SectorB", .... "SectorH".&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;There is a "WorkAreaId" column in every sector table that is a foreign key relation with "WorkArea" table's Id.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;"PrimarySectorTypeId" is a enum value (integer) that differentiates the sectors.&lt;/p&gt;
&lt;p&gt;Therefore, all I need to do is to bind the users to a webgrid and include a WorkArea column, so I need to get both the "PrimarySectorId" and "PrimarySectorTypeId" to get the correct "WorkArea" value.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;But as far as I know, I can just use a &amp;lt;value list&amp;gt; and take only one value to calculate a column value.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I'd really like to get it by myself but it has been so long and no step forward I could get.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Note: It would be lovely if someone could include a sample of many to many realationship binding to a webgrid. &lt;/p&gt;</description></item><item><title>Script Access to “Paste Multiple Rows from Clipboard”</title><link>http://www.intersoftsolutions.com/Community/Tags/Multiple/</link><pubDate>Tue, 09 Feb 2010 14:49:12 GMT</pubDate><dc:creator>danjransom@gmail.com</dc:creator><category>javascript</category><category>Multiple</category><category>paste</category><description>&lt;p&gt;Is there any way to access the &lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;“Paste Multiple Rows from Clipboard” feature from javascript outside of the row context menu? We want users to be able to paste multiple rows at a single time into an empty grid. However, if the grid is empty and there are no rows, there is no way to access the &lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;“Paste Multiple Rows from Clipboard” command.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Is there a way to perform this function from a button outside the grid? Alternatively, is there a way to show the row context menu even when there are no rows?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Multiple SpellCheckers</title><link>http://www.intersoftsolutions.com/Community/Tags/Multiple/</link><pubDate>Sun, 08 Nov 2009 19:00:22 GMT</pubDate><dc:creator>ewoudt@counton.com.au</dc:creator><category>Multiple</category><category>SpellChecker</category><description>&lt;p /&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: arial, sans-serif; color: navy; "&gt;Hello,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: arial, sans-serif; color: navy; "&gt;Thanks in advance for any help,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: arial, sans-serif; color: navy; "&gt;I have a repeater creating textboxes and i need to have them all spellchecked so i create a&amp;nbsp;spell check button for every text box and programmatically create the
Spell Checker, (i'm not aware that i can use one spell checker for more than
one control)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: arial, sans-serif; color: navy; "&gt;
Here is my code:&amp;nbsp;&lt;o:p&gt;.cs
(  on the&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;ItemDataBound
event of the repeater)&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: arial, sans-serif; color: navy; " /&gt;&lt;/p&gt;&lt;pre&gt;Panel pnl = (Panel)e.Item.FindControl("pnlSpellCheck");
WebSpellChecker wsCheck = new WebSpellChecker { ID = "wsCheck" e.Item.ItemIndex, TargetControlId = txtTextBox.UniqueID, Height = 500, Width = 700, TargetControlIdValue = "value", CssClass = "SpellCheck" };
pnl.Controls.Add(wsCheck);
WebButton btn = (WebButton)pnl.FindControl("btnSpellCheck");
btn.OnClientClick = "CheckSpell('" e.Item.ItemIndex "')";
&lt;/pre&gt;
&lt;p&gt; Javascript:&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&lt;pre&gt;function CheckSpell(id) {
var sp = ISGetObject("wsCheck" id);
sp.CheckSpell();
return false;
}&lt;/pre&gt;&lt;/pre&gt;
&lt;p&gt; Markup:
(inside a repeater)&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;asp:Panel id="pnlSpellCheck" runat="server"&amp;gt;
&amp;lt;ISWebDesktop:WebButton ID="btnSpellCheck" runat="server" Height="20px" OnClientClick="CheckSpell"
Text="Spell Check" Width="150px"&amp;gt;
&amp;lt;ButtonStyle&amp;gt;
&amp;lt;Normal CssClass="FPB-Button-N"&amp;gt;
&amp;lt;/Normal&amp;gt;
&amp;lt;Over CssClass="FPB-Button-O"&amp;gt;
&amp;lt;/Over&amp;gt;
&amp;lt;Active CssClass="FPB-Button-A"&amp;gt;
&amp;lt;/Active&amp;gt;
&amp;lt;/ButtonStyle&amp;gt;
&amp;lt;/ISWebDesktop:WebButton&amp;gt;
&amp;lt;/asp:Panel&amp;gt;
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;I get a javascript popup:&lt;/p&gt;
&lt;p&gt;An error occurred: &lt;/p&gt;
&lt;p&gt;&amp;lt;the page source&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: arial, sans-serif; color: navy; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item></channel></rss>