User Profile & Activity

Yudi Member
Page
of 259
Posted: October 2, 2015 4:47 AM

Sorry for any inconvenience this problem may have caused you. We're testing the reported problem based on your information and will get back to you as soon as possible.


Edited on October 4, 2015 9:00 PM
Reason: update test result.

I managed to install Premier Studio 2015 R1 without any problems. Following information shows the detail of the PC.

  • Operating system: Windows 8.1 Pro 64-bit.
  • IDE: Visual Studio 2015.

I downloaded the setup file of Intersoft Premier Studio 2015 R1 on October 1, 2015 and able to install the WebUI Studio for ASP.NET on the specified development machine without any problems.

In order to determine what may cause the problem on your end, please allow me to guide you to create a log file.

<setup.exe> /l=<logfile.ext>

In the above example, setup.exe denotes the main setup executable, and logfile.ext is the full path to the desired log file.

Be aware that logging significantly decreases the runtime speeds of an installation.

Example:

  1. Create a folder in C:\ and named it as: DownloadedFiles.
  2. Add a Text Document file and named it as: LogFile.txt.
  3. Open Command Prompt (Admin). Fow Windows 8.1 user, can use this combination key: Win key + X, followed by A.
  4. Type cd c:\DownloadedFiles\intersoftstudio2015.exe /l=c:\DownloadedFiles\LogFile.txt. Then Press Enter.

Please note:

  • If your logfile path contains spaces, enclose the full parameter (including the leading /l= part) inside double-quotes.
  • Specifying a file name only is not allowed. You must specify a full valid path in an existing folder, including drive and directory information.
Posted: October 1, 2015 6:51 AM

I'd like to inform you that WebGrid development team has implemented the Print feature. The AllowPrint.aspx sample (click here to test the live version) demonstrates the print feature in WebGrid.

Please give it a try and let us hear your response.

Posted: October 1, 2015 4:22 AM

I tried to reproduce the reported problem in my local test by viewing IntegrationwithWebCombo.NET.aspx WebGrid sample file in IE 11 browser but my efforts were not successful - the page was accessed without any issues.

I would need you to elaborate on your specific scenario and possibly provide us with a simple sample that replicates the problem (or sent the modified sample of IntegrationwithWebCombo.NET.aspx that reproduce the problem) and step-by-step guide that we can use to observe the problematic behavior.

Glad to know that the script helps.

I will propose this to the WebGrid development team. Should you need further assistance or run into any problems regarding our controls, feel free to post it into our community. We would be happy to assist you again.

Posted: August 21, 2015 3:30 AM

You can try to use the following steps in order to export custom data which is different from the data binded to WebGrid:

  1. Add an ASP.NET Button into the page.
  2. In OnClick server-side event handler, rebind the custom data source.
  3. Programmatically invoke the export grid feature.
  4. Rebind the original data source.

The snippet code below shows how.

protected void Button1_Click(object sender, EventArgs e)
{
    // Step 2: rebind the custom data source
    dsNorthwind_ReadOnlyTableAdapters.ShippersTableAdapter daCustomDataSource = new dsNorthwind_ReadOnlyTableAdapters.ShippersTableAdapter();
    WebGrid1.DataSource = daCustomDataSource.GetData(); // set WebGrid's DataSource 
    WebGrid1.RetrieveStructure();
    WebGrid1.RebindDataSource();

    // Step 3: invoke the Export Grid feature
    WebGrid1.ExportGrid(SetDynInfo()); // export grid data

    // Step 4: rebind the original data source
    dsNorthwind_ReadOnlyTableAdapters.ProductsTableAdapter daOriginalDataSource = new dsNorthwind_ReadOnlyTableAdapters.ProductsTableAdapter();
    WebGrid1.DataSource = daOriginalDataSource.GetData(); // set WebGrid's DataSource 
    WebGrid1.RetrieveStructure();
    WebGrid1.RebindDataSource();
}

private DynARInfo SetDynInfo()
{
    // configure the DynARInfo object   
    // as the parameter for the ExportGrid() method

    // need to configure 4 things :   
    // dynInfo.ReportType   
    // dynInfo.ReportPath   
    // dynInfo.IISReportPath   
    // dynInfo.DynPageOrientation

    DynARInfo dynInfo = new DynARInfo("excel", Server.MapPath("~/TempReports/"), "WebGridToExcel");
    dynInfo.IISReportPath = "/TempReports/";
    dynInfo.DynPageOrientation = PageOrientation.Portrait;
    return dynInfo;
}

WebGrid will show Products table. When the button is clicked, Shippers table will be exported.

Hope this helps.

Posted: August 21, 2015 3:29 AM

You can try to use the following steps in order to export custom data which is different from the data binded to WebGrid:

  1. Add an ASP.NET Button into the page.
  2. In OnClick server-side event handler, rebind the custom data source.
  3. Programmatically invoke the export grid feature.
  4. Rebind the original data source.

The snippet code below shows how.

protected void Button1_Click(object sender, EventArgs e)
{
    // Step 2: rebind the custom data source
    dsNorthwind_ReadOnlyTableAdapters.ShippersTableAdapter daCustomDataSource = new dsNorthwind_ReadOnlyTableAdapters.ShippersTableAdapter();
    WebGrid1.DataSource = daCustomDataSource.GetData(); // set WebGrid's DataSource 
    WebGrid1.RetrieveStructure();
    WebGrid1.RebindDataSource();

    // Step 3: invoke the Export Grid feature
    WebGrid1.ExportGrid(SetDynInfo()); // export grid data

    // Step 4: rebind the original data source
    dsNorthwind_ReadOnlyTableAdapters.ProductsTableAdapter daOriginalDataSource = new dsNorthwind_ReadOnlyTableAdapters.ProductsTableAdapter();
    WebGrid1.DataSource = daOriginalDataSource.GetData(); // set WebGrid's DataSource 
    WebGrid1.RetrieveStructure();
    WebGrid1.RebindDataSource();
}

private DynARInfo SetDynInfo()
{
    // configure the DynARInfo object   
    // as the parameter for the ExportGrid() method

    // need to configure 4 things :   
    // dynInfo.ReportType   
    // dynInfo.ReportPath   
    // dynInfo.IISReportPath   
    // dynInfo.DynPageOrientation

    DynARInfo dynInfo = new DynARInfo("excel", Server.MapPath("~/TempReports/"), "WebGridToExcel");
    dynInfo.IISReportPath = "/TempReports/";
    dynInfo.DynPageOrientation = PageOrientation.Portrait;
    return dynInfo;
}

WebGrid will show Products table. When the button is clicked, Shippers table will be exported.

Hope this helps.

Posted: August 21, 2015 2:22 AM

Could you please provide me with following information so that I can investigate the problem further.

  • Operating system of your development machine, for example: Windows 10 Pro 64-bit.
  • Installed Visual Studio on your development machine, for example: Microsoft Visual Studio Ultimate 2013

Setup file of Intersoft Mobile Studio will add the Crosslight project wizard, CrosslightApp.zip, in this location: "\My Documents\Visual Studio Version\Templates\ProjectTemplates\Visual C#\Intersoft Solutions\Mobile\CrosslightApp.zip". For example: Crosslight project wizard in my development machine can be found in: "C:\Users\MyUserName\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\Intersoft Solutions\Mobile\CrosslightApp.zip".

When I open Visual Studio 2015, click File | New | Project from the main menu to bring up the New Project dialog. In the left pane under Intalled | Templates chose the Visual C# | Intersoft Solutions | Mobile, then choose Intersoft Crosslight Application (iOS, Android, Windows) from the available templates in the middle pane. The screenshot below shows how.

Look forward to hearing back from you so that I can assist you further.

Posted: August 19, 2015 2:34 AM
... looking at that video, are you using a 3rd party to show the screen of a physical device? If so, are you able to control the screen from Mac or you were controlling the device itself?

I use Reflector 2 on Mac. It allows me to mirror the content of my physical device, iPhone 4s running iOS 8.4.1. Everything we do on our device can be wirelessly sent to Reflector.

Hope this helps.


I tested the Barcode Scanner Sample on a device with iOS 7. 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.

Thank you for the report. I will investigate this and let you know the result as soon as possible.

Overriding CanExecuteDelete can be used in order to prevent delete on item from DataListViewModelBase.

I use MyInventoryWebAPI Crosslight sample and apply this rule: prevent delete on item(s) that have been sold. Note that the Item has a Sold column/field name.

Override CanExecuteDelete and insert following code:

protected override bool CanExecuteDelete(object parameter)
{
    // only return true if item is not sold
	// prevent delete on item(s) that has/have been sold
	// on multiple selection scenario, if any item from
	// the selected item is sold, delete will be disabled
	if (parameter is Item)
    {
        return !(parameter as Item).Sold;
    }
	else if (parameter is IEnumerable<Item> && ((IEnumerable<Item>)parameter).Count() > 0)
		return !((IEnumerable<Item>)parameter).Any(p => p.Sold == true);

    return false;
}

I uploaded the modified version of MyInventoryWebAPI sample at OneDrive: here, as reference. Hope this helps.

Posted: August 18, 2015 8:29 AM
the new barcode scanner for iOS behaves not satisfying. It takes about 10 seconds to recognize a simple qr code. On Android it is extremly faster.

I enclosed a video which shows how the iOS Barcode-reader sample is used to scan a simple QR code which containing: "Thank you for using Crosslight BarcodeScanner" string.

Common problems that may occur when using Barcode reader are:

  • Camera fails to focus, making scanning hard or impossible.
  • High-density QR code may take longer during scan.
When I am in the scan mode, how can I cancel and go back to the view I started. Right now, I can only close and restart the app which is not very user friendly.

In the scan mode, there are two buttons on the upper-left and upper-right corner. They are: Flash button and Cancel button. In the last part of attached video (after QR code scan demo), shows the cancel button is being pressed.

Hope this helps.

All times are GMT -5. The time now is 7:08 PM.
Previous Next