﻿<?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 - javascript</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</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 hiddendatamember javascript property</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Mon, 28 Dec 2015 13:35:03 GMT</pubDate><dc:creator>zeljko.skoric@hrpro.hr</dc:creator><category>WebGrid</category><category>javascript</category><category>property</category><category>hiddendatamember</category><description>&lt;p&gt;We are currently upgrading our app and abandoning support for olde IE browsers including IE8 and everything below. The problem we ran into is that client-side api for grid, behaves differently in new browsers. When we define a HiddenDataMember on a Webgrid column, in server-side code:&lt;/p&gt;&lt;pre&gt;  myCol = New WebGridColumn
            myCol.Name = "EmployeeId"
            myCol.DataMember = "&lt;span style="font-size: 9pt;"&gt;EmployeeId&lt;/span&gt;&lt;span style="font-size: 9pt;"&gt;"&lt;/span&gt;&lt;br&gt;            myCol.HiddenDataMember = "EmployeeName"
            grid.RootTable.Columns.Add(myCol)&lt;/pre&gt;&lt;p&gt;&amp;nbsp;on a client, we would access that property like this:&lt;/p&gt;&lt;pre&gt;wgGetCellByName(SelectedRow,"&lt;span style="font-size: 9pt;"&gt;EmployeeId&lt;/span&gt;&lt;span style="font-size: 9pt;"&gt;").&lt;/span&gt;&lt;span style="font-size: 9pt;"&gt;EmployeeName&lt;/span&gt;&lt;span style="font-size: 9pt;"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;and that worked in IE8 and below, however it doesn't work in HTML5 browsers. With the new DOCTYPE html, in new browsers, that gets rendered as a direct property on a combo object, while in older browsers it's rendered as a member of attributes array on a combo object in js.&lt;/p&gt;&lt;p&gt;When it gets rendered as a property it is lowercased, so the property name would be "employeename" and of course, you have to get it by that name:&lt;/p&gt;&lt;pre&gt;wgGetCellByName(SelectedRow,"EmployeeId").employeename;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;This means we have to go over all of our code and lowercase all properties. Have you encountered this issue and is there some solutio to it?&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Webgrid doesn't update row after OnCellDblClick</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Tue, 18 Feb 2014 05:16:01 GMT</pubDate><dc:creator>macedes</dc:creator><category>WebGrid</category><category>javascript</category><category>Update</category><category>function</category><description>&lt;p&gt;Hello, i have a WebGrid with some rows filled, when i doubleclick to a specific cell it will call the function "WebGrid1_OnCellDblClick" and sets the current DateTime in the Cell. after i press shift and Enter it won't save the changes in die DB. It doesn't recognize the entry as an Update. When I edit a cell by myself it work.  Do you have any solutions?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;here is my code:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;        &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="518px" UseDefaultStyle="True"
            Width="1219px" DataMember="DefaultView" DataSourceID="SqlDataSource1"&amp;gt;
            &amp;lt;RootTable DataKeyField="ID"&amp;gt;
                &amp;lt;Columns&amp;gt;
                    &amp;lt;ISWebGrid:WebGridColumn Caption="ID" DataMember="ID" DataType="System.Decimal" Name="ID"
                        Width="100px" Visible="False"&amp;gt;
                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                 
                    &amp;lt;ISWebGrid:WebGridColumn Caption="Ankunft" DataMember="ANKUNFT" DataType="System.DateTime"
                        Name="ANKUNFT" Width="150px"&amp;gt;
                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                    &amp;lt;ISWebGrid:WebGridColumn Caption="Abreise" DataMember="ABREISE" DataType="System.DateTime"
                        Name="ABREISE" Width="150px"&amp;gt;
                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                    &amp;lt;ISWebGrid:WebGridColumn Caption="Status" Name="STATUS"
                        Width="100px" DataMember="STATUS" DataType="System.Decimal"&amp;gt;
                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                &amp;lt;/Columns&amp;gt;
            &amp;lt;/RootTable&amp;gt;
             &amp;lt;LayoutSettings AllowAddNew="Yes" AllowDelete="Yes" AllowEdit="Yes" AllowFilter="Yes"
                AllowSorting="Yes"&amp;gt;
                &amp;lt;ClientSideEvents OnCellDblClick="WebGrid1_OnCellDblClick" /&amp;gt;
            &amp;lt;/LayoutSettings&amp;gt;
        &amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;&lt;pre&gt;       function WebGrid1_OnCellDblClick(controlId, tblName, rowIndex, cellIndex, cellEl) {
          var grid = ISGetObject(controlId);
          var WebCombo2 = ISGetObject("WebCombo2");
          var now = new Date();
          var datum = (pad(now.getDate())).toString() &amp;#43; "." &amp;#43; (pad(1 &amp;#43; now.getMonth())).toString() &amp;#43; "." &amp;#43; now.getFullYear().toString() &amp;#43; " " &amp;#43; (pad(now.getHours())).toString() &amp;#43; ":" &amp;#43; (pad(now.getMinutes())).toString() &amp;#43; ":00";
          if (cellIndex == 17) {
              grid.GetSelectedObject().ToRowObject().GetCell('ANKUNFT').SetValue(now, true);
              grid.GetSelectedObject().ToRowObject().GetCell('ANKUNFT').SetText(datum.toString() );
              grid.GetSelectedObject().ToRowObject().GetCell('STATUS').SetValue('0', true);
              grid.GetSelectedObject().ToRowObject().GetCell('STATUS').SetText('Awensend');
          }
          if (cellIndex == 18) {
              grid.GetSelectedObject().ToRowObject().GetCell('ABREISE').SetValue(now, true);
              grid.GetSelectedObject().ToRowObject().GetCell('ABREISE').SetText(datum.toString());
          }
      return true;
      }&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Dynamically created WebCombo and the ISControl_InitializeAtlas error</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Mon, 29 Apr 2013 04:45:15 GMT</pubDate><dc:creator>ArtAmurao</dc:creator><category>WebCombo</category><category>javascript</category><category>error</category><category>UpdatePanel</category><category>AsyncPostback</category><category>ISControl_InitializeAtlas</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;We are encountering an error on our page with a WebCombo. Our WebCombo is being generated in the code, and is being added to a control under an UpdatePanel. If the UpdatePanel uses a PostbackTrigger, it works fine. However, if we use an AsyncPostbackTrigger, we are receiving the error, "The value of the property 'ISControl_InitializeAtlas' is null or undefined, not a Function object" and the WebCombo is not rendered properly. Please see attached sample page.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I can confirm that the runtime licenses are supplied correctly on our web.config and that the ISNet.dll, ISNet.WebUI.dll, ISNet.WebUI.Resources.dll are on our website's bin folder, as indicated on some of the responses to similar problems I've found on this forum. If you notice, I also tried to add the &amp;lt;system.webServer /&amp;gt; tags on our web.config. All these did not resolve the error we're encountering.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This is happening on my local machine (Windows 7, VS2010) and on our app server (Windows Server 2008, IIS7).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;We need to use the AsyncPostbackTrigger in this page as we have other controls that would be affected. Please help!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-- Art&lt;/p&gt;</description></item><item><title>How to force redraw/ rerender a Webgrid/ Webgrid Layout (clientside, javascript)?</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Thu, 09 Jun 2011 01:19:49 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebGrid</category><category>javascript</category><category>layout</category><category>clientside</category><category>force redraw</category><category>redraw</category><category>rerender</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am having a WebGrid in the page which horizontal scrollbar is not drawn correctly occasionally (especially in slow PC), Is there any way to force the webgrid to redraw in clientside?&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item><item><title>Sharepoint 2010 Tutorial?</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Wed, 30 Mar 2011 14:46:57 GMT</pubDate><dc:creator>smueller</dc:creator><category>WebGrid</category><category>javascript</category><category>error</category><category>Sharepoint 2010</category><category>tutorial</category><description>&lt;p&gt;Is there any tutorial how I can use the webgrid in SharePoint?&lt;/p&gt;
&lt;p&gt;I have a Sharepoint 2010 server, VS2010 and the newest version of WebGrid and I want to make some webparts.&lt;/p&gt;
&lt;p&gt;I get some javascript errors.&lt;/p&gt;
&lt;p&gt;I used this tutorial: &lt;a href="http://www.intersoftpt.com/Community/Attachments/508/WebGridNET6_SPD2007.pdf"&gt;http://www.intersoftpt.com/Community/Attachments/508/WebGridNET6_SPD2007.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any sugesstions?&lt;/p&gt;</description></item><item><title>WebDesktop Max window javascript</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Thu, 08 Jul 2010 14:52:37 GMT</pubDate><dc:creator>Andre</dc:creator><category>WebDesktop</category><category>javascript</category><description>&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Hi,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;p&gt;&lt;span style="font-size: 15px; font-family: calibri"&gt; &lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;I am trying to open up a Webdesktop window in Javascript on Body onload=”opennewwindow”. When I open the window the window opens in Maximize but is off center. In the case of the example attached it’s also not maximized.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;You would have to minimize the window then maximize the window again.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;p&gt;&lt;span style="font-size: 15px; font-family: calibri"&gt; see attached video&lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Also, if you right click on the window to open the content menu, the content menu is not near the mouse.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>WebGrid client-side dynamic grouping problem</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Thu, 11 Mar 2010 09:59:36 GMT</pubDate><dc:creator>Mladen.maras@combis.hr</dc:creator><category>WebGrid</category><category>javascript</category><description>&lt;p&gt;I have a problem when I try to dynamically change grouping in WebGrid using javascript function on the client side. I use dropdown list to specify in which ways to group data in grid.&lt;/p&gt;&lt;pre&gt;&amp;lt;asp:DropDownList ID="ddlGrupiranje" runat="server" SkinID="Medium" onchange="ChangeGroup(this.id);"&amp;gt;
	&amp;lt;asp:ListItem Text="Po oznaci" Value="1" Selected="True"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po fazi" Value="2" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po ics-u" Value="3" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po oznaci izvornika" Value="4" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po tajniku" Value="5" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po smjernicama" Value="6" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po naslovu" Value="7" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="PovuÄŤeni projekti" Value="8" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po Glasilu - rasprava" Value="9" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po Glasilu - objava" Value="10" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po Glasilu - ispravak" Value="11" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po Glasilu - potvrÄ‘ivanje" Value="12" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Po Glasilu - povlaÄŤenje" Value="13" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
	&amp;lt;asp:ListItem Text="Arhiva" Value="14" Selected="False"&amp;gt;&amp;lt;/asp:ListItem&amp;gt;
&amp;lt;/asp:DropDownList&amp;gt;&lt;/pre&gt;

&lt;p&gt;Javascript function is defined like this:&lt;/p&gt;&lt;pre&gt;function ChangeGroup(ddlId) {
	var ddl = document.getElementById(ddlId);
	var selectedValue = ddl.options[ddl.selectedIndex].value;
	
	var grid = ISGetObject("WebGrid1");
	
	if (grid == null) {
		return;
	}
	
	var rootTable = grid.RootTable;
	while (rootTable.GroupedColumns[0] != null) {
		rootTable.GroupedColumns.RemoveAt(0);
	}
	
	switch (selectedValue) {
		case "1":
			var newGroup = new WebGridGroup();
			newGroup.ColumnMember = "TehOdbor";
			newGroup.GroupInterval = "Text";
			newGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(newGroup);
			break;
		case "2":
			var newGroup = new WebGridGroup();
			newGroup.ColumnMember = "TehOdbor";
			newGroup.GroupInterval = "Text";
			newGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(newGroup);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Faza";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "3":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "TehOdbor";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var ics1 = new WebGridGroup();
			ics1.ColumnMember = "ICSGrupa1";
			ics1.GroupInterval = "Text";
			ics1.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(ics1);
			var ics2 = new WebGridGroup();
			ics2.ColumnMember = "ICSGrupa2";
			ics2.GroupInterval = "Text";
			ics2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(ics2);
			var ics3 = new WebGridGroup();
			ics3.ColumnMember = "ICS";
			ics3.GroupInterval = "Text";
			ics3.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(ics3);
			break;
		case "4":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "TehOdbor";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Faza";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "5":
			var tajnik = new WebGridGroup();
			tajnik.ColumnMember = "Tajnik";
			tajnik.GroupInterval = "Text";
			tajnik.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(tajnik);
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "TehOdbor";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "OznakaIzvornika";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "6":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "VezaEUDirektive";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			break;
		case "7":
			var newGroup = new WebGridGroup();
			newGroup.ColumnMember = "TehOdbor";
			newGroup.GroupInterval = "Text";
			newGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(newGroup);
			break;
		case "8":
			var newGroup = new WebGridGroup();
			newGroup.ColumnMember = "TehOdbor";
			newGroup.GroupInterval = "Text";
			newGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(newGroup);
			break;
		case "9":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "Rasprava";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Tajnik";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "10":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "Objava";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Tajnik";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			var TOGroup = new WebGridGroup();
			TOGroup.ColumnMember = "TehOdbor";
			TOGroup.GroupInterval = "Text";
			TOGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(TOGroup);
			break;
		case "11":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "Ispravak";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Tajnik";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "12":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "Potvrdjivanje";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Tajnik";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "13":
			var groupby = new WebGridGroup();
			groupby.ColumnMember = "Povlacenje";
			groupby.GroupInterval = "Text";
			groupby.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby);
			var groupby2 = new WebGridGroup();
			groupby2.ColumnMember = "Tajnik";
			groupby2.GroupInterval = "Text";
			groupby2.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(groupby2);
			break;
		case "14":
			var newGroup = new WebGridGroup();
			newGroup.ColumnMember = "TehOdbor";
			newGroup.GroupInterval = "Text";
			newGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(newGroup);
			break;
		default:
			var newGroup = new WebGridGroup();
			newGroup.ColumnMember = "TehOdbor";
			newGroup.GroupInterval = "Text";
			newGroup.SortOrder = "Disabled";
			grid.RootTable.GroupedColumns.Add(newGroup);
			break;
	}
	
	grid.RootTable.UpdateUI();
	grid.Refresh();
	}&lt;/pre&gt;
&lt;p&gt;Grid itself has over 30 columns. When I change grouping, columns that are used for grouping are removed from RootTable.Columns collection. &lt;strong&gt;When I change back grouping to previous selection, javascript error of undefined is thrown, because columns were removed when they were&amp;nbsp;first grouped by.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When GroupedColumns are cleared, regarding columns are not returned to RootTable.Columns collection. &lt;/p&gt;
&lt;p&gt;How can this be solved?&lt;/p&gt;</description></item><item><title>Script Access to “Paste Multiple Rows from Clipboard”</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</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>Webscheduler 3 Javascript Error</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Mon, 25 Jan 2010 12:42:42 GMT</pubDate><dc:creator>twor</dc:creator><category>javascript</category><category>WebScheduler 3</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;After i installed "Intersoft WebUI Studio 2009 R2", webscheduler started to give me some errors.&lt;/p&gt;
&lt;p&gt;The first error i found out and resolved. In the webscheduler documentation it says that the mandatory table to bind in the scheduler is Events. I was using events and resources and it gave a error. After some investigation i found out that i needed to bind also the category table. That solve one error.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;But i still am struggling with one other error.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When i load a page with the scheduler it throws an javascript error shown in the attachment zip (JSError.png).&lt;/p&gt;
&lt;p&gt;When i debug the error i see this (JSErrorFile.png in files.zip)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I picked up the Webscheduler Sample "FirstDayOfWeek.aspx" and strip some code to be more like what i have in my code and the error still ocurres.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Can someone help me?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Tanks,&lt;/p&gt;
&lt;p&gt;Ricardo&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>WebCombo 4 Client Calls SetSelectedIndex And SetSelectedRowByValue Fail Crash</title><link>http://www.intersoftsolutions.com/Community/Tags/javascript/</link><pubDate>Fri, 08 Jan 2010 09:18:58 GMT</pubDate><dc:creator>PRISMAY</dc:creator><category>WebCombo</category><category>javascript</category><category>Client Side Events</category><category>crash</category><category>SetSelectedIndex</category><category>Client</category><description>&lt;p&gt;I have a custom date control made of 3 components: WebCombo and two WebInput calendars.  The WebCombo gives the user a preset number of options that automatically set the calendars, i.e., Yesterday, Last Week, This Month, etc.&lt;/p&gt;
&lt;p&gt;When the user directly sets the dates via the calendars, then we want to automatically set the combo's range type selection to our "Custom" selection.  I'm doing that via a workaround using the code below:&lt;/p&gt;&lt;pre&gt;oIsCbo.SelectedIndex = i;
oIsCbo.SetValue(oDRT.dateRangeTypeId);
oIsCbo.SetTextBoxValue(oDRT.dateRangeTypeName);&lt;/pre&gt;

&lt;p&gt;I'm using this workaround because both SetSelectedIndex and SetSelectedRowByValue crash when called.  Both calls cause the javascript runtime error of "'this.Column.BaseFieldName' is null or not an object."  I'm using an unbound combo and all the UI elements do not post back so everything is done client-side.  We don't want a simple control like this to constantly post back on every little user change.&lt;/p&gt;
&lt;p&gt;Here's how our PrismComboBox (derives from &lt;span style="font-size: 10pt"&gt;ISNet.WebUI.WebCombo.&lt;span style="color: #2b91af"&gt;&lt;span style="color: #2b91af"&gt;WebCombo&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;) is set up:&lt;/p&gt;&lt;pre&gt;this.AllowWildCardSearch = true;
this.EnableViewState = true;
this.Items = new PrismComboBoxItems();
this.Items.ComboBox = this;
this.SelectedItem = new PrismComboBoxSelectedItem();
this.SelectedItem.ComboBox = this;
this.LayoutSettings.AllowAddItem = false;
this.LayoutSettings.AllowFloatingText = false;
this.LayoutSettings.AllowNavigationOnMouseWheel = true;
this.LayoutSettings.AllowTextWrapping = false;
this.LayoutSettings.AlwaysShowAllRowsOnDropdown = true;
this.LayoutSettings.AlwaysShowColumnHeaders = false;
this.LayoutSettings.AlwaysShowHelpButton = false;
this.LayoutSettings.AlwaysShowResultBox = false;
this.LayoutSettings.AlwaysShowSearchButton = true;
this.LayoutSettings.AutoColumnOrdering = false;
this.LayoutSettings.ComboMode = ISNet.WebUI.WebCombo.Mode.SingleColumn;
this.LayoutSettings.EnableAnimation = true;
this.LayoutSettings.EnableSlidingAnimation = true;
this.LayoutSettings.EntryMode = ISNet.WebUI.WebCombo.EntryMode.AutoComplete;
this.LayoutSettings.NoResultFoundAction = ISNet.WebUI.WebCombo.NoResultFoundAction.RevertSelection;
this.LayoutSettings.SearchIconMode = ISNet.WebUI.WebCombo.SearchMode.Text;
this.LayoutSettings.TextBoxMode = ISNet.WebUI.WebCombo.TextboxMode.Editable;
this.UseDefaultStyle = false;
this.SelectionRequired = false;
&lt;/pre&gt;

&lt;p&gt;Here's how the combo box is further configured and populated in our PrismDateRange control:&lt;/p&gt;&lt;pre&gt;m_ComboboxRangeType.ID = "ComboBoxRangeType";
m_ComboboxRangeType.AutoPostBack = AutoPostBack;
m_ComboboxRangeType.SelectedIndexChanged &amp;#43;= new EventHandler(m_ComboboxRangeType_SelectedIndexChanged);
m_ComboboxRangeType.PreRender &amp;#43;= new EventHandler(m_ComboboxRangeType_PreRender);
m_ComboboxRangeType.Enabled = this.Enabled;
m_ComboboxRangeType.DropDownRows = 50;

m_ComboboxRangeType.Width = Unit.Percentage(100);
m_ComboboxRangeType.LayoutSettings.StatusBoxVisible = false;

m_ComboboxRangeType.LayoutSettings.ResultBoxShadow = false;
m_ComboboxRangeType.LayoutSettings.ResultBoxWindowType = ISNet.WebUI.DisplayType.Normal;

m_ComboboxRangeType.Enabled = true;
m_ComboboxRangeType.insertBlankRow = false;
m_ComboboxRangeType.DataValueField = "dateRangeTypeID";
m_ComboboxRangeType.DataTextField = "dateRangeTypeName";

ISNet.WebUI.WebCombo.WebComboColumn colText = new ISNet.WebUI.WebCombo.WebComboColumn();
colText.BaseFieldName = m_ComboboxRangeType.DataTextField;
colText.Bound = false;
colText.ColumnType = ISNet.WebUI.WebCombo.ColumnType.Text;
colText.DataType = "System.String";
colText.Hidden = false;
colText.Name = m_ComboboxRangeType.DataTextField;

ISNet.WebUI.WebCombo.WebComboColumn colValue = new ISNet.WebUI.WebCombo.WebComboColumn();
colValue.BaseFieldName = m_ComboboxRangeType.DataValueField;
colValue.Bound = false;
colValue.ColumnType = ISNet.WebUI.WebCombo.ColumnType.Text;
colValue.DataType = "System.String";
colValue.Hidden = true;
colValue.RenderOnHidden = true;
colValue.Name = m_ComboboxRangeType.DataValueField;

m_ComboboxRangeType.Columns.Add(colText);
m_ComboboxRangeType.Columns.Add(colValue);

m_ComboboxRangeType.PopulateUnboundData(GetTypeTable(),false);

if (CPRISMStrLib.IsVs(ReportCategoryId))
{
    m_ComboboxRangeType.Value = CPRISMStrLib.GetStr(GetDefTable().Rows[0]["defaultDateRangeTypeID"]);
    m_ComboboxRangeType.SelectedValue = m_ComboboxRangeType.Value;
}
&lt;/pre&gt;

&lt;p&gt;I've attached a couple falsh videos of the issue while running in debug mode.  The first one shows the crash when SetSelectedIndex is hit and the value of this.Column.  The second one breaks into my javascript code and also shows the result of SetSelectedRowByDefault in the watch window as well as continuing on and the crash of SetSelectedIndex.&lt;/p&gt;
&lt;p&gt;As you can see above, the BaseFieldName is set up so I'm not sure why all that is empty on the client side, i.e., this.Column and so on.  Let me know if you need anything else.&lt;/p&gt;
&lt;p&gt;I'm in a bind to get this working please so I can really use a fast resolution.  Thanks a lot.&lt;/p&gt;</description></item></channel></rss>