﻿<?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 - WebEssentials</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</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>WebListBox generates error when removing items</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Mon, 13 Mar 2017 13:28:05 GMT</pubDate><dc:creator>NBPSupport_DBillings</dc:creator><description>I have two WebListBoxes, one for Available Items and another for Selected Items. The design goal is for the user to select items from one list box and transfer them to the other. This means the code must (a) detect the selected items in one list, (b) copy the selected items to the other list, and (c) delete the selected items from the first list. I can do (a) and (b) but the page crashes if I try (c).&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Here's the code for the user control (which contains the two list boxes) and the page that uses the control:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;pre&gt;!!! Design for user control
&amp;lt;%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ucMembership.ascx.vb" Inherits="MembershipTest.ucMembership" %&amp;gt;

&amp;lt;%@ Register Assembly="ISNet.WebUI.WebEssentials" Namespace="ISNet.WebUI.WebEssentials" TagPrefix="ISWebEssentials" %&amp;gt;

&amp;lt;asp:Table ID="tblMembership" runat="server"&amp;gt;
    &amp;lt;asp:TableRow&amp;gt;
        &amp;lt;asp:TableCell RowSpan="4"&amp;gt;
            &amp;lt;ISWebEssentials:WebListBox ID="wlbAvailableItems" runat=server Width="45%" Height="100%" SelectedIndex="-1" SelectionMode="Multiple" DefaultStyleMode="Win7"
                EnableKeyboardSupport="true"&amp;gt;
                &amp;lt;LayoutSettings ItemHeight="20" ScrollMode="ScrollBar" /&amp;gt;
            &amp;lt;/ISWebEssentials:WebListBox&amp;gt;
        &amp;lt;/asp:TableCell&amp;gt;
        &amp;lt;asp:TableCell&amp;gt;
            &amp;lt;asp:Button ID="btnMoveRight" runat="server" Text ="&amp;gt;" Width="30px" /&amp;gt;
        &amp;lt;/asp:TableCell&amp;gt;
        &amp;lt;asp:TableCell RowSpan="4"&amp;gt;
            &amp;lt;ISWebEssentials:WebListBox ID="wlbSelectedItems" runat=server Width="45%" Height="100%" SelectedIndex="-1" SelectionMode="Multiple" DefaultStyleMode="Win7"
                EnableKeyboardSupport="true"&amp;gt;
                &amp;lt;LayoutSettings ItemHeight="20" ScrollMode="ScrollBar" /&amp;gt;
            &amp;lt;/ISWebEssentials:WebListBox&amp;gt;
        &amp;lt;/asp:TableCell&amp;gt;
    &amp;lt;/asp:TableRow&amp;gt;
    &amp;lt;asp:TableRow&amp;gt;
        &amp;lt;asp:TableCell&amp;gt;
            &amp;lt;asp:Button ID="btnMoveAllRight" runat="server" Text ="&amp;gt;&amp;gt;" Width="30px" /&amp;gt;
        &amp;lt;/asp:TableCell&amp;gt;
    &amp;lt;/asp:TableRow&amp;gt;
    &amp;lt;asp:TableRow&amp;gt;
       &amp;lt;asp:TableCell&amp;gt;
            &amp;lt;asp:Button ID="btnMoveLeft" runat="server" Text ="&amp;lt;" Width="30px" /&amp;gt;
        &amp;lt;/asp:TableCell&amp;gt;
    &amp;lt;/asp:TableRow&amp;gt;
    &amp;lt;asp:TableRow&amp;gt;
        &amp;lt;asp:TableCell&amp;gt;
            &amp;lt;asp:Button ID="btnMoveAllLeft" runat="server" Text ="&amp;lt;&amp;lt;" Width="30px" /&amp;gt;
        &amp;lt;/asp:TableCell&amp;gt;
    &amp;lt;/asp:TableRow&amp;gt;
&amp;lt;/asp:Table&amp;gt;

!!! Code behind for user control

Imports ISNet.WebUI.WebEssentials

Public Class ucMembership
    Inherits System.Web.UI.UserControl

    Public Property ControlHeight() As Double
        Get
            Return CType(ViewState("ControlHeight"), Double)
        End Get
        Set(ByVal value As Double)
            ViewState("ControlHeight") = value
        End Set
    End Property

    Public Property ControlWidth() As Double
        Get
            Return CType(ViewState("ControlWidth"), Double)
        End Get
        Set(ByVal value As Double)
            ViewState("ControlWidth") = value
        End Set
    End Property

    Public Property DefaultStyleMode() As WebListBoxDefaultStyleMode
        Get
            Return CType(ViewState("DefaultStyleMode"), WebListBoxDefaultStyleMode)
        End Get
        Set(value As WebListBoxDefaultStyleMode)
            ViewState("DefaultStyleMode") = value
        End Set
    End Property

    Private Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load

        If Not Page.IsPostBack Then
            If ControlHeight.ToString &amp;lt;&amp;gt; "" Then
                tblMembership.Height = New System.Web.UI.WebControls.Unit(ControlHeight, UnitType.Pixel)
                wlbAvailableItems.Height = New System.Web.UI.WebControls.Unit(ControlHeight, UnitType.Pixel)
                wlbSelectedItems.Height = New System.Web.UI.WebControls.Unit(ControlHeight, UnitType.Pixel)
            End If

            If ControlWidth.ToString &amp;lt;&amp;gt; "" Then
                tblMembership.Width = New System.Web.UI.WebControls.Unit(ControlWidth, UnitType.Pixel)
                wlbAvailableItems.Width = New System.Web.UI.WebControls.Unit(ControlWidth * 0.45, UnitType.Pixel)
                wlbSelectedItems.Width = New System.Web.UI.WebControls.Unit(ControlWidth * 0.45, UnitType.Pixel)
            End If

            If DefaultStyleMode.ToString &amp;lt;&amp;gt; "" Then
                wlbAvailableItems.DefaultStyleMode = DefaultStyleMode
                wlbSelectedItems.DefaultStyleMode = DefaultStyleMode
            End If
        End If

    End Sub

    Public Sub SetAvailableItems(ByVal ItemList As Collection)

        Dim x As WebListBoxItem
        Dim ListItem As ListItem

        wlbAvailableItems.Items.Clear()

        For Each ListItem In ItemList

            x = New WebListBoxItem
            x.Text = ListItem.Text
            x.Value = ListItem.Value

            wlbAvailableItems.Items.Add(x)

        Next

    End Sub

    Public Sub SetSelectedItems(ByVal ItemList As Collection)

        Dim x As WebListBoxItem
        Dim ListItem As ListItem

        wlbSelectedItems.Items.Clear()

        For Each ListItem In ItemList

            x = New WebListBoxItem
            x.Text = ListItem.Text
            x.Value = ListItem.Value

            wlbSelectedItems.Items.Add(x)

        Next

    End Sub

    Private Sub btnMoveRight_Click(sender As Object, e As EventArgs) Handles btnMoveRight.Click

        Dim ListItem As WebListBoxItem
        Dim SelectedItems As List(Of String)
        Dim SelectedValue As String
        Dim i As Integer
        Dim Moved As Boolean

        SelectedItems = wlbAvailableItems.GetValues()

        For Each SelectedValue In SelectedItems

            For Each ListItem In wlbAvailableItems.Items
                If ListItem.Value.ToLower = SelectedValue.ToLower Then
                    wlbSelectedItems.Items.Add(ListItem)
                    Exit For
                End If
            Next
        Next

        wlbAvailableItems.SetValues(New List(Of String))

        'try clearing all items
        wlbAvailableItems.Items.Clear()

        'try recreating client controls
        'wlbAvailableItems.RecreateChildControls()

        'try building a copy of the items and then adding them in after a clear
        'Dim AvailableListItems(wlbAvailableItems.Items.Count) As WebListBoxItem

        'wlbAvailableItems.Items.CopyTo(AvailableListItems, 0)

        'wlbAvailableItems.Items.Clear()

        'For i = LBound(AvailableListItems) To UBound(AvailableListItems) - 1
        '    Moved = False
        '    For Each SelectedValue In SelectedItems
        '        If AvailableListItems(i).Value.ToLower = SelectedValue.ToLower Then
        '            Moved = True
        '            Exit For
        '        End If
        '    Next
        '    If Not Moved Then
        '        wlbAvailableItems.Items.Add(AvailableListItems(i))
        '    End If
        'Next

    End Sub

End Class

!!! Design page that calls user control

        &amp;lt;div style="position: absolute; top:35px; left: 19px; height: 100px; width: 200px;"&amp;gt;
            &amp;lt;uc1:ucMembership ID="ucMembership1" runat="server" ControlHeight="100" ControlWidth="400" DefaultStyleMode="OutlookBlue" /&amp;gt;
        &amp;lt;/div&amp;gt;  

!!! Code behind page for call to the user control

Public Class WebForm1
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If Not Page.IsPostBack Then

                Dim x As New Collection
                Dim y As New ListItem
                Dim i As Integer

                For i = 1 To 10
                    y = New ListItem
                    y.Text = "test " + i.ToString
                    y.Value = i
                    x.Add(y)
                Next

                ucMembership1.SetAvailableItems(x)

                x = New Collection
                For i = 11 To 13
                    y = New ListItem
                    y.Text = "test " + i.ToString
                    y.Value = i
                    x.Add(y)
                Next

                ucMembership1.SetSelectedItems(x)

        End If

    End Sub

End Class&lt;/pre&gt;&lt;p&gt;When I run the program I get items 1 through 10 in the Available Items list and items 11 to 13 in the Selected Items list. If I choose the first 3 items of the Available List and click the Move Right button (top one) the page crashes with the attached error. NOTE: There is commented code in the user control that tries to clear the items. You have to uncomment some of that to see the error.&lt;/p&gt;&lt;p&gt;Is there a way to remove items from a WebListBox without invoking a page crash?&lt;/p&gt;&lt;/div&gt;</description></item><item><title>WebCalendar multiple selection lost its ability </title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Wed, 06 Apr 2016 15:07:54 GMT</pubDate><dc:creator>sjain</dc:creator><description>&lt;p&gt;Hi,&lt;br&gt; We recently upgarded our applilaction with new version of controls of Intersoft. In this version WebCalendar lost its multiselect functionality and on click on any date increase the date cell's height. Intersoft provided 2 sample files; one as "ISNet.WebUI.Samples" and second as "WebUI.Unified.Samples" . Multiple selection is working in "WebUI.Unified.Samples" but not in&lt;br&gt;"ISNet.WebUI.Samples". I modified both sample's AcademicCalendar.aspx pages and attaching for your view. Also second issue can be replicated on your live sample site also. Just Click on a date several time and you will see the issue. link is http://live.intersoftsolutions.com/cs/WebEssentials/WebCalendar/RangeOfChart_MetroStyle.aspx?noframe=1&amp;amp;path=/WebEssentials/Calendar .&lt;br&gt;&lt;br&gt; May be someone would suggest that we should use Unified theming but that is not solution. It should work for intersoft samples. Changing them require a lot of testing prior to deploy to client side and after getting new version of controls our planner pages are not working for miltiple selection. Live sample was checked on Window 10 pro IE 11 where attached samples are on IE 10.&lt;br&gt; Can you look on the issue that what should need to do for WebCalendar multiple selection and height issue !&lt;br&gt;regards&lt;br&gt;Sachin&lt;br&gt; &lt;br&gt;&lt;/p&gt;</description></item><item><title> Intersoft Releases Premier Studio 2016 with Massive New Features for WebUI</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Mon, 14 Mar 2016 06:40:30 GMT</pubDate><dc:creator>MarTin</dc:creator><category>webui</category><category>Premier studio</category><category>unified theming</category><category>bootstrap</category><category>webessentials 4</category><description>&lt;p&gt;Hello Intersoft valued customers,&lt;/p&gt;&lt;p&gt;We are pleased to announce the release of Premier Studio 2016, our biggest and most revolutionary release ever. In this release, we introduce new features and enhancements for all Intersoft's products.&lt;/p&gt;&lt;p&gt;New WebUI Release featuring Unified Modern Theme, Retina-sharp SVG icons, Built with SASS and redesigned all 40+ WebUI components. Read&amp;nbsp;&lt;a href="http://intersoftsolutions.com/webui" target="_blank"&gt;What's New in WebUI Studio for ASP.NET&lt;/a&gt;. Moreover, Crosslight 5 introduces New Android Material Library, Stunning Gauge Charts, and Extensive NuGet Support.&amp;nbsp;ClientUI 12 Adds Financial Charts for Reporting and improved Support for WPF. Check our&amp;nbsp;&lt;a href="http://www.intersoftsolutions.com/Corporate/PressRelease/dca52020-15ed-4d59-891e-9dee63197e21" target="_blank"&gt;Press Release 2016&lt;/a&gt;&lt;span style="font-size: 10pt;"&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://intersoftsolutions.com/requesttrial" target="_blank" style="font-size: 10pt;"&gt;Download&lt;/a&gt;&amp;nbsp;your 30-days trial to explore and experience Premier Studio 2016.&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;Regards,&lt;br&gt;Martin Lie&lt;br&gt;Enterprise Account Manager&lt;/p&gt;</description></item><item><title>First week of year not correct in 2015 </title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Fri, 17 Apr 2015 17:38:16 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;Hi We use the 2 settings below:&lt;/p&gt;&lt;p&gt;CalendarSettings.FirstWeekOfYear = WebSchedulerFirstWeekOfYear.First4DayWeek;&lt;/p&gt;&lt;p&gt;CalendarSettings.FirstDayOfWeek = DayOfWeek.Monday;&lt;/p&gt;&lt;p&gt;Normally the week starting on january 29th 2015 has 4 days in 2015 and should be considered as the first week of the year but it is not. It is shown as the 53th of 2014.&lt;/p&gt;</description></item><item><title>Webcalendar does not display all months when used in a dialogbox</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Wed, 01 Apr 2015 08:17:17 GMT</pubDate><dc:creator>shresta</dc:creator><category>webcalendar</category><category>WebEssentias</category><description>&lt;p&gt;Hi Intersoft,&lt;/p&gt;&lt;p&gt;We are using webcalendar in a webdialog which is Integrated to desktop.&lt;/p&gt;&lt;p&gt;When we use the multicalendar feature(eg: NumberOfCalendarDisplayed=6'), few months does not get displayed as the height and width of the calendar exceeds the dimension of webdialog. Is it possible for the webcalendar to float outside the webdialog frame such that all the 12 months get displayed?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Shresta&lt;/p&gt;</description></item><item><title>WebCalendar disable past dates</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Thu, 19 Feb 2015 12:11:00 GMT</pubDate><dc:creator>devashish</dc:creator><category>webcalendar</category><category>Disable past dates</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Is there any way I can disable the past dates in&amp;nbsp;WebCalendar i.e. the user can only select the present date or a future date.&lt;/p&gt;&lt;p&gt;Something like booking a flight where user can only select today or a day in future.&lt;/p&gt;&lt;p&gt;Ans also can you tell how to make the disabled date look different.&lt;/p&gt;&lt;p&gt;Regards,&lt;br&gt;Dev&lt;/p&gt;</description></item><item><title>WebCalendar holiday are repeated on every year</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Thu, 15 Jan 2015 21:54:08 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;We have a problen with holidays in the WebCalendar. Actually, when we add a holiday in the list, it shows up every year not only the year of the date we created it. &lt;br&gt;&lt;/p&gt;&lt;p&gt;It is a problem for us as many holidays are base on day of week like for example Thanksgiving which is the fourth Thusday of November. So we have the holiday on Nov 27th 2014 but Nov 26th 2015. &lt;br&gt;&lt;/p&gt;&lt;p&gt;If we add Nov 24th 2014, the calendar will show a holiday on every Nov 24th no matter the year we look to.&lt;/p&gt;&lt;p&gt;What are we doing wrong?&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Alex&lt;br&gt;&lt;/p&gt;</description></item><item><title>WebCalendar Deployment Error!</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Mon, 15 Dec 2014 13:16:19 GMT</pubDate><dc:creator>sample4170</dc:creator><category>Deployment</category><category>webcalendar</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have recently deployed a project in IIS 7. I am using WebGrid, WebDesktop and WebCalendar in it. I've a virtual directory added to CommonLibrary in IIS 7. I've the ISNet.dll, ISNet.WebUI.dll, ISNet.WebUI.Resources.dll and ISNet.WebUI.[product].dll/ISNet.WebUI.[product].Resources.dll; As well as the XML files. For the WebGrid, I've added ISRes and ISChart http handlers as well, along with WebInput and Run-time license keys for all the three components.&lt;/p&gt;&lt;p&gt;Now the issue is, InitWebCalendar Component is throwing JavaScript error: Object Required. I know this as an issue which occurs only when the assembly files are missing. But here, I am not able to find any mistake on this side. Can you please provide a solution for this as soon as possible? This is really urgent and would like to know what is missing. Thanks in advance.&lt;/p&gt;</description></item><item><title>WebRibbon without ContextualTabs: means without 20px place waste above tabs </title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Thu, 11 Sep 2014 11:51:58 GMT</pubDate><dc:creator>rainer.donner</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Is it possible to turn off ContextualTabs by WebRibbon in the way that the WebRibbon HAS NOT the 20px place waste above the RibbonTabslike is has per default?&lt;/p&gt;&lt;p&gt;Thanks for your help.&lt;br&gt;&lt;/p&gt;&lt;p&gt;With kind regards&lt;/p&gt;&lt;p&gt;Rainer&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Show/Hide/Enable/Disable WebAccordionItem</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/</link><pubDate>Thu, 28 Aug 2014 09:31:36 GMT</pubDate><dc:creator>roiu@a-g-r-e.com</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Could you please tell me how to set&amp;nbsp;WebAccordionItem Visible/Hidden/Endabled/Disabled via javascript + server side code (C#)&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;</description></item></channel></rss>