User Profile & Activity

Yudi Support
Page
of 12
Posted: September 4, 2015 3:54 AM

Following snippet code shows how to add background image in WebDesktopManager.

<ISWebDesktop:WebDesktopManager ID="WebDesktopManager1" runat="server" Height="100%"
    Width="100%" ShortcutIconsVisible="True" EnableContextMenu="true">
    <ImagesSettings OverlayBackground="../images/aqua_images/aqua_bg.jpg" />
    ...
</ISWebDesktop:WebDesktopManager>

By default, the background image will rendered as img element such as shown below:

<img style="width: 100%; height: 100%; position: absolute;" src="../images/aqua_images/aqua_bg.jpg">

Using DOM Explorer, this element is the firstChild of WebDesktopManager. We can use OnInitialize client-side event to manipulate this element. For example: removes its height and width style to prevent the background image stretched based on the screen resolution. Thus the size of the image will be as-is.

function WebDesktopManager1_OnInitialize(controlId)
{
    var WebDesktopManager1 = ISGetObject(controlId);

    WebDesktopManager1.GetFrameElement().firstChild.style.height = "";
    WebDesktopManager1.GetFrameElement().firstChild.style.width = "";
            
    return true;
}

Hope this helps.

The backlog, CROS-803, is now in active sprint of Crosslight 4 Update 1. The ETA of Crosslight 4 Update 1 is at the end of the month of September 2015.



Edited on September 15, 2015 8:10 AM
Reason: provide nightly-build for CROS-803

Nightly-build for CROS-803 is now available in here.

Please, take a look at the DataSamples sample under iOS 7 and go to "Multiple Delete". EditingOptions.AllowEditing is set but there is no swipe gesture. Doing the same on iOS 8 the "Delete" button appears when I swipe. Why is the swipe gesture in the "Multiple Delete" section not working under iOS 7?

I have tested the nightly-build on the above scenario. The swipe gesture is now working on iOS 7. Please give it a spin and let us hear your feedback.

Posted: September 4, 2015 2:04 AM

Glad to hear the good news.

The hotfix is now available in our git.

Should you need further assistance or run into any problems regarding our controls, feel free to post it into our communitiy. We would be happy to assist you again.

Hi Jimmy,

The origin of the error stack trace you posted is coming from Crosslight.Android framework.

When you perform GetSingleAsync(), it is done in background thread. When the updated item is retrieved, OnPropertyChanged is triggered, and since the item is bound, the UI is going to be updated, but all of this is still done in background thread. Thus you get the error. Updating the UI should be done in UI thread.

This is a bug in the Android framework, it is filed under CROS-894.
Find the hotfix here.

Hope this helps.

Posted: September 3, 2015 2:09 AM

The problem, can't disable WebCombo in Chrome, was filed under ASPNET-40. I will inform this to WebCombo development team and update this thread with any news I heard from the team regarding ASPNET-40.

Posted: September 2, 2015 4:05 AM

When click on preview, what developer sees in the preview window is an HTML file. This file will be added inside: http://localhost/CommonLibrary/ISTemp/ directory.

By default, the setup file of WebUI Studio for ASP.NET will do the following:

  • Add "CommonLibrary" folder into "[Intersoft Solutions installation folder]\WebUI Studio for ASP.NET\CommonLibrary".
  • Copy files and subfolders (include "ISTemp" folder) inside the "CommonLibrary" folder.
  • Add CommonLibrary as application in IIS Default Web Site.

Unknown error (0x80005000) might occur if the specified directory does not exist. Please ensure the following and let us know whether this helps or not.

  • CommonLibrary folder is available in [Intersoft Solutions installation folder]\WebUI Studio for ASP.NET\CommonLibrary"
  • IIS is installed and properly configured.
  • http://localhost/CommonLibrary/ISTemp/ is accessible (have sufficient permission).
  • Try to run Visual Studio as administrator.

If the problem still persist, please provide following information:

  • Operating system of your development machine, for example: Windows 8.1 64-bit.
  • Visual Studio version in your development machine, for example: Visual Studio 2012 Ultimate Update 5
  • The version of Intersoft software installed on your development machine, for example: Intersoft Premier Studio 2015 R1.

Hope this helps.

Posted: September 1, 2015 2:04 AM

I created a video which shows how to preview and apply WebDesktopManager pre-define layout by using WebDesktopManager Designer.

The file shown in the video is DesktopWithShortcuts.aspx sample file of WebDesktopManager. After select a layout -- Metro Theme for HTML5 -- from the tree, click the Preview button to preview the layout. Then click Apply button in order to apply the selected layout to the control.

For your information, I'm using Visual Studio 2012 and WebDesktop 4.0.7200.14.

The video is enclosed as attachment. Please let me know if you have different result.

Glad to hear that the snippet code helps.

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.

Posted: August 27, 2015 3:58 AM

Sorry for the delay in sending this.

... There is no cancel and no flash icon visible. Clicking on the area where the icons should be, the flash is activated or the scan view is cancelled.

This problem has been forwarded to Crosslight development team. The report is filed under CROS-892.

Today, the team has tested several nightly build of Crosslight. I'll provide the hotfix as soon as the problem resolved.



Updated on September 1, 2015 1:30 AM
Reason: Update status of CROS-892

I tested the barcode-reader sample with the attached hotfix (nightly-build) and found that the missing icon/image problem is no longer persist.

Please have the attached nightly-build evaluated on your end and let me know whether it helps or not.

Following snippet code will show the total grouped columns on OnAfterResponseProcess event in javascript.

<script>
    function ShowGroupedColumnsCount2(controlId, actionName,
        lastRequestObject, xmlResponseObject)
    {
        var grid = ISGetObject(controlId);
        var rootTbl = grid.RootTable;
        var grpColumns = rootTbl.GroupedColumns;

        alert(grpColumns.length);
    }
</script>

<ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...>
    <LayoutSettings AllowGrouping="Yes" GroupByBoxVisible="true">
        <ClientSideEvents OnAfterResponseProcess="ShowGroupedColumnsCount2" />
    </LayoutSettings>
    ...
</ISWebGrid:WebGrid>

The collection of grouped-columns can be accessed in [WebGrid id].RootTable.GroupedColumns. This should helps.

All times are GMT -5. The time now is 12:58 AM.
Previous Next