User Profile & Activity

Yudi Member
Page
of 259
Posted: October 27, 2015 6:34 AM
... we are unable to get the option as per screen shot below.

I tried to reproduce the problem by using the ClientUI live sample with no luck. The "SubReport" option inside the Ribbon can be found. See screenshot below:

The step-by-step below shows how to show the "SubReport" option in Report Designer.

  1. Open "Sales Comparison" reporting sample (live).
  2. After the report appear, click "Design" button from the toolbar to open the Intersoft Report Designer.
  3. Click the Ribbon Gallery to show the "SubReport" option. (it is shown in the bottom-right of Ribbon Gallery, see screenshot above).

Sub report allows you to embed one or more reports into a single report document. This can be useful when there is a particular report structure which have a consistent appearance and functionality that needs to be included many times in a report.

In the "Sales Comparison" sample, the sub report shown side-by-side. ClientUI documentation provides walkthrough article, Create Side-by-Side Report Using ClientUI Reporting. It provides step-by-step instructions to create a side-by-side report using ClientUI Reporting including designing the report by inserting two sub report into the data band. Each sub report will display different sales based on the selected territory.

Hope this helps.

Posted: October 26, 2015 8:12 AM

I tested the link to download the files on three different computers with three diferent browsers, and found no problems.

I recall that you had the same issue (having difficulties to download the files, getting 404 file not found error) on October 19, 2015. Could you please try to download the file using different internet connection?

Posted: October 26, 2015 4:01 AM

IEMozBridge.js file is modified and now grid is no longer invisible when user navigates through pages by clicking the page button of the grid.

I enclosed the modified version of CommonLibrary as attachment (CommonLibrary_modified2.zip). Try to apply the modified CommonLibrary and let me know whether this helps or not.

I modified the WebCombo part of Supplier-Product WebCombo (from my previous sample) based on the following information:

  • not using ISDataSource
  • an XML file (App_Data/Suppliers.xml) exist which have all distinct SupplierID and CompanyName (of Supplier)
  • SuppliersCombo is binded using Suppliers.xml file reading from code-behind by utilizing OnInitializeDataSource
  • On selection of particular Supplier, products information related with the Supplier are shown in ProductsCombo

Please have the modified WebCombo sample evaluated on your end and let me know whether it helps or not.

Posted: October 23, 2015 8:48 AM

You can set the height of caption bar of WebDesktopWindow by setting WindowHeaderHeight property to an integer value.

Following snippet code shows how:

<ISWebDesktop:WebDesktopManager ID="WebDesktopManager1" runat="server" Height="100%"
    Width="100%" ActiveWindowIndex="0" ShortcutIconsVisible="true">
    ...
    <WindowSettings BorderType="ComplexImages" CommandButtonBorderType="ComplexImages"
        CaptionButtonSpacing="0" ApplyContainerStyle="true" WindowHeaderHeight="27">
        ...
    </WindowSettings>
    ...
</ISWebDesktop:WebDesktopManager>

Hope this helps.

Attached sample shows linked WebCombo inside WebGrid. The parent WebCombo is the Supplier combo. The Products combo is filtered based on what user select from Supplier combo.

Please have the attached sample evaluated on your end and let me know whether this helps or not.

Posted: October 22, 2015 4:51 AM

Based on your information, I made a simple test against WebGrid live sample in IE 11 run on Windows 10. The steps shown below:

Test loading WebGrid page using Compatibility View.

  1. Open IE 11 in Windows 10.
  2. Navigate to WebGrid's unbound hierarchical live sample.
  3. The page is loaded with Compatibility View off. Result: the reported problem: infinite loop in the grid indicating a "Long Running Script", is not reproducible.
  4. Enable Compatibility View by adding the website to the Compatibility View list.
  5. The page is re-rendered with Compatibility View on. Result: the reported problem: infinite loop in the grid indicating a "Long Running Script", is not reproducible.

It is recommended to avoid viewing the page in compatibility view because it's IE specific stuff. The tools basically render the pages based on the specified document type. However, the compatibility mode causes the rendering to use old browser mode.

I enclose my simple sample as attachment. Please have the attached sample evaluated on your end and let me know the result. Should you find anything that I might miss during my attempt to reproduce the problem, please feel free to let me know.

I created a simple page of WebGrid based on your description and managed to reproduce the reported problem in my local test.

Adding the following JS code fix the edit box misplaced problem in my local end. Thanks to Leo Chandra for providing the script.

function EnterEditMode(controlId, tblName, editObject)
{
    if (IS.chrome || IS.moz)
    {
        var grid = ISGetObject(controlId)
        var element = editObject.element;

        if (editObject.element.GetFrameElement)
            element = editObject.element.GetFrameElement();

        var offsetLeft = ISPosLib.getLeftNonIE(grid.FrameObj) - ISPosLib.getLeft(grid.FrameObj);
        element.style.left = (parseInt(element.style.left) + (offsetLeft)) + "px";
    }
}

Try to assign the above script to WebGrid's OnEnterEditMode client-side event. Please feel free to let me know if you have different result.

Posted: October 22, 2015 2:46 AM

... your code snippet helped me a lot. ...

Glad to know that the snippet code of GetMultipleValuesText(), GetMultipleValuesValue(), and SetMultipleValues(text, value) helps.

For more detail information about those methods, you can find them in WebCombo documentation. Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.

I need to find event of webcombo when the value is changed in Jquery(Javascript).

You can try to use OnAfterItemSelected client-side event of WebCombo. This event fired after an item is selected.

This sample, Client_AdditionalFilters.aspx, shows how to add an additional filter (to filter the webcombo's result) from client-side by utilizing OnAfterItemSelected client-side event.

I am willing to advise you further on this question but in order to do so I would need you to create a new thread/ticket (since this event of WebCombo topic is different from the topic discussed within this thread, to get and set value in multiple selection webcombo from javascipt). I'm sure that the new thread will helps other member which might have similar question.

Thank you very much for your understanding and cooperation. Hope this helps.

Posted: October 21, 2015 3:05 AM

To get the text and value of multiple selection WebCombo using GetMultipleValuesText and GetMultipleValuesValue methods. Following snippet code shows how:

function GetValues(){    var WebCombo1 = ISGetObject("WebCombo1");
    var selectedValues = WebCombo1.GetMultipleValuesValue();
    var selectedText = WebCombo1.GetMultipleValuesText();

    alert(selectedValues);
    alert(selectedText);

    return true;
}

To set the text and value of multiple selection WebCombo using SetMultipleValues(text, value) methods. The method has two parameters, they are: text, value. The text part is list of text (DataTextField) separated by SeparatorChar. The value part is list of value (DataValueField) separated by SeparatorChar.

For example: suppose I have a multiple selection WebCombo showing list of Employees with SeparatorChar is set to ";".

<ISWebCombo:WebCombo ID="WebCombo1" runat="server" UseDefaultStyle="True"
    DataTextField="FirstName" DataValueField="EmployeeID"
    Width="477px" Height="20px">
    <Columns>
        ...
    </Columns>
    <MultipleSelectionSettings Enabled="True" SeparatorChar=";" />
    <LayoutSettings ComboMode="MultipleColumns" TextBoxMode="ReadOnly" ...>
    </LayoutSettings>
</ISWebCombo:WebCombo>

The text part is the list of FirstName of Employees, for example: "Nancy;Andrew;Janet". And the value part is the list of EmployeeID of Employees, for example: "1;2;3".
Following snippet code shows how:

function SetValues()
{
    var WebCombo1 = ISGetObject("WebCombo1");

    WebCombo1.SetMultipleValues("Nancy;Andrew;Janet", "1;2;3");
    WebCombo1.RefreshTextByValueItems();

    return true;
}

Hope this helps.

All times are GMT -5. The time now is 7:39 AM.
Previous Next