User Profile & Activity

Yudi Member
Page
of 259
Posted: May 11, 2015 2:12 AM

Apologize for the delay in sending this.

I tried to reproduce the problem in my local end by testing the "export to pdf" feature of WebScheduler from one of WebScheduler sample but my efforts were not successful - everything worked smoothly and the export result was accessed without any issues.

This probably caused by the data binded to WebScheduler, since the reported problem doesn't persist when test the export feature on WebScheduler sample file. Please switch to "Year" view and test the WebScheduler export to pdf feature. Is there any specific year which has the problem?
Try to test the export feature using Month view to determine which part of data that causing the problem.

Could you please confirm if you are using following configuration in your page containing WebCombo?

  • Use XHTML doctype.
  • WebCombo's RenderingMode is set to XHTML.
  • View the page in IE 11 browser.

If yes, please try to do the following:

  • View the page in other browser, for example: IE 10 or Firefox or Chrome.
  • To use HTML5 doctype. The steps below shows how to modify the page to use HTML5 doctype.
    1. Replace XHTML doctype declaration:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" >

      with HTML5:
      <!DOCTYPE html>
      <html>.
    2. Set WebCombo's RenderingMode to HTML5.
    3. Save the changes.
    4. View the page in browser.
  • Please, let me know if this works for you.

    Posted: May 8, 2015 1:24 AM

    Sorry for the delay in sending this.

    You can remove - actually not literally remove, but make the titlebar's height to 0px - the titlebar of WebDialogBox by setting the value of WebDialogBox-WindowSettings-WindowHeaderHeight to 0. The following snippet code shows how.

    <ISWebDesktop:WebDialogBox ID="dlgBox" runat="server" Width="600px" Height="400px"
        DialogBoxImage="None" Text="WebDialogBox Sample">
        ...
        <WindowSettings WindowHeaderHeight="0">
            ...
        </WindowSettings>
    </ISWebDesktop:WebDialogBox>

    Please, let me know if this works for you.

    Posted: May 7, 2015 3:03 AM
    can I add column dynamically with column set?

    Yes, you can. Please refer to the How-to: Create ColumnSet layout programmatically article in here.

    Hope this helps.

    The fix for ASPNET-149 has not been implemented in WebGrid code. I may be able to help by raising the priority of the problem.

    I'll check the estimate time with the development team and get back to you with any news I heard from them.

    Based on your information, I made a minor modification to SimpleWebDesktop.aspx (available in WebDesktop sample file). The details are:

    • Set Height of WebDesktopManager to 600px.
    • Set Width of WebDesktopManager to 800px.

    The list below shows the step-by-step in order to reproduce the reported problem in my local end.

    1. Save the above changes.
    2. View the modified sample page in Chrome and/or Firefox browser.
    3. Drag a window until mouse pointer leaves the WebDesktopManager canvas.
    4. Drop or release the mouse down button.
    5. Move the mouse pointer to enter the WebDesktopManager canvas again.

    However, I was unable to replicate the reported problem in my local end by using this sample. For your information, I'm using WebDesktop 4.0.7200.14 and WebUI.NET Framework 3.0.5000.913.

    Should you find anything that I might miss during my attempt to reproduce the problem, please feel free to let me know.

    Posted: May 5, 2015 8:21 AM

    The production team agrees to add a topic in Crosslight's documentation which explains how to use async and await keyword in Crosslight project. Thank you very much for your valuable feedback.

    Posted: May 4, 2015 7:40 AM

    A feature request, to get turn-by-turn driving description of a route, has been forwarded to Crosslight development team. The request is filed under CROS-806.
    I will keep you informed with any news I heard from the team regarding CROS-806.

    Another feature request, to show marker's info window programmatically, has been forwarded to Crosslight development team. The request is filed under CROS-812.
    I will keep you informed with any news I heard from the team regarding CROS-812.

    There is no two way binding of the CameraSettings on iOS maybe on Android, too. Moving around the map does not update the CameraSettings (I added two way binding in the binding provider). How can I save and restore the state of the map when leaving the map view and navigate back to the map view (view is initialized new)? A sample for iOS and Android would be nice.

    The map view is used to show map so it only receives one way binding. Currently it is not possible to save and restore the state of the map when leaving and navigate back.

    I found an interesting article in stackoverflow, which discuss about how to restoring Android map state.

    Hope this help.


    Edited on May 5, 2015 3:00 AM
    Reason: add snippet code to save and restore map state.

    Android

    You can try to get the Southwest and Northeast visible region before leaving the map view. Example: add following snippet code in map fragment.

    protected override void OnViewDisposed()
    {
        LatLng SouthwestBound = this.MapView.Map.Projection.VisibleRegion.LatLngBounds.Southwest;
        LatLng NortheashBound = this.MapView.Map.Projection.VisibleRegion.LatLngBounds.Northeast;
    
        // place code to save SouthwestBound and NortheastBound in here
    
        base.OnViewDisposed();
    }

    Next, set the CameraSettings and apply the latitude and longitude of SouthwestBound and NortheastBound when navigate back at the constructor of the view model.

    Example:

    public CustomMarkerViewModel()
    {
        this.Title = "Custom Marker";
        this.Markers = this.Repository.GetAll();
    
        this.CameraSettings = new CameraSettings(
            new MapRectBounds(
                new LocationCoordinate(SouthwestBound.Latitude, SouthwestBound.Longitude),
                new LocationCoordinate(NortheastBound.Latitude, NortheastBound.Longitude)));
    }

    iOS

    The Span and Center of map region can be obtained before leave the map view.

    protected override void OnViewDisposed()
    {
        MKCoordinateSpan SpanPosition = this.Map.Region.Span;
        CLLocationCoordinate2D CenterPosition = this.Map.Region.Center;
    
        // place code to save SpanPosition and CenterPosition in here
                
        base.OnViewDisposed();
    }

    Next, set CameraSettings in view model when navigate back to map view.

    public CustomMarkerViewModel()
    {
        this.Title = "Custom Marker";
        this.Markers = this.Repository.GetAll();
    
        this.CameraSettings =
            new CameraSettings(new MapRectBounds(new LocationCoordinate(latitude, longitude), radius));
    }

    Hope this helps.

    CROS-803 is in progress state and currently there is no nightly-build available to be evaluated yet. I will let you know once CROS-803 is resolved.

    Posted: May 4, 2015 2:27 AM

    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.

    All times are GMT -5. The time now is 2:41 AM.
    Previous Next