All Answers

0 votes

Hi,

can you please verify that your image paths are correct ? We could not reproduce here.
Also there is no need to use the Startuppath here.

Best regards
Frank

0 votes

Hi Orel,

we updated our FullCalendar extension and added support for the scheduler.
It´s been updated in the extensions section on Wisej.com and in github.

Best regards
Frank

0 votes

I want to StiWebViewer  UseRelativeUrls = true ,   but ı dont do that

stiWebViewer1.UseRelativeUrls = true; is not work on wisej

https://www.stimulsoft.com/en/documentation/online/programming-manual/index.html?reports_web_asp_net_web_forms_using_web_viewer_settings.htm

 

 

  • Muhammad answered Aug 12, 2018 - 8:46 pm
  • last active Aug 12, 2018 - 8:56 pm
0 votes

Hi Eric,

It’s logged as WJ-9123. It’s fixed in our internal build and will be on the next public dev build.

1 vote

Hi Edmond,

You are correct that Wisej keeps the client and server in sync. But that is for the entire widget (on the client) related to the component (on the server). Think of Wisej on the client as a layout engine. It receives metadata from the server and creates a javascript/dom representation on the client. The client objects are more complex than their server counter part and the rendering is entirely done on the client.

In this case it’s a lot better to add the functionality to the client side. The layout engine for the workspace in the desktop runs on the client, which is a lot more flexible than the server. See attached sample, it shows you how to add functions to wisej.web.Desktop and how to extend the Wisej.Web.Desktop component.

It’s very easy and very clean. You can organize the files by name or by folder and Wisej takes care of binding everything together.

HTH

/Luca

  • Luca answered Aug 11, 2018 - 4:48 pm
0 votes
In reply to: Wrong Product Name

That means that you are using the wrong license key, probably the developer key. Please contact us at support@wisej.com with the details so we can verify the issue.

  • Luca answered Aug 11, 2018 - 4:39 pm
0 votes

Yes, logged as WJ-9126: Menu items added to a Button or SplitButton after creation don’t fire  the ItemClick event.

It’s fixed in our build will make it to this upcoming dev build. Should be by Monday. You can work around it, in case you need it quicker, by attaching to the Click event of the menu items.

  • Luca answered Aug 11, 2018 - 4:38 pm
0 votes

Hi again Edmond.

I attach one of the ways of doing it.

0 votes

Hi Edmond,

Please have a look at JavaScript documentation.

0 votes

Hi Ewan,

The Wisej GoogleMaps is an extension for Wisej, meaning it’s intended to be shown on a web page (Wisej.Web.Page, Wisej.WebForm). So it won’t work unless you make it visible at least once. Making it visible forces the GoogleMap API scripts to load.

I attach back your solution with the following changes:

  • Show Coords in a TextBox (for progress monitoring)
  • Show GoogleMaps on page load and hide as soon as possible
  • Auto fecth the address as soon as you get the coords
  • callback use example

 

0 votes

Hi Tiago

Aysnc sample attached

How do I use the sync version? Specifically insatiate Bb?

Map.GetGeocode(Bb, double.Parse(Latitude), double.Parse(Longitude));
Address = Bb[0].ToString();

 

 

0 votes

There are no built in methods for that. The wisej.web.Desktop is a widget that manages the floating windows in a child widget named “workspace”. The workspace uses the qx.ui.layout.Canvas layout engine. So you can basically achieve anything quite easily. I tried this with the CodeProject sample:

 

Maximized the forms, or Wisej will update the client with the forms coordinates.

Assuming there are two windows (in javascript, where “this” is the desktop, otherwise use the global reference App.Desktop):

 

// dock window 1 to the left using half of the workspace

this.getWindows()[0].setLayoutProperties({left:0, right:”50%”, top:0, bottom:0});

// dock window 2 to the right using half of the workspace

this.getWindows()[1].setLayoutProperties({left:”50%”, right:0 top:0, bottom:0});

Given the enormous flexibility of the framework you can achieve just about anything.

 

 

 

 

  • Luca answered Aug 9, 2018 - 6:09 pm
0 votes

Hi Edmond,

HttpContext.Current and the session are different things. The HttpContext is just the current context for the current request thread. The session is bound to the browser’s instance either through a cookie storing the id or a session item. Wisej used to use cookies but now uses a session item (in private browsing it still uses a cookie since session storage is disabled in the browser).

At the end it comes down to an id.

These are the options:

  1. Add the session id to the ashx link: $”myhandler.ashx?sid={Application.SessionId}”. In ProcessRequest(context) use Wisej.Web.Application.RestoreSession(context).
  2. Store the authenticated state is a cookie and read it back in ProcessRequest(context).

HTH

  • Luca answered Aug 9, 2018 - 5:55 pm
0 votes
In reply to: Panel always on top

Two ways:

  1. Add a StyleSheet component with a css class like this “.fixed {position:fixed !important;}”. Set the CssClassName of the panel to “fixed”. You can also do this programmatically like this:
        var css = new StyleSheet();
        css.Styles = ".fixed {position:fixed !important;}";
        css.SetCssClass(panel, "fixed");

Or you can simply add a <style> section in Default.html selecting the panel by name [name=mypanel]. Or you can add a css file with the same selector.

2. Use a UserPopup with AutoHide set to false and show it using ShowPopup(0, 0) or any other coordinate – it will stay there forever. If you need to resize it attach to the Application.BrowserSizeChanged event or the page’s SizeChanged or Resize events.

 

HTH

 

  • Luca answered Aug 9, 2018 - 4:41 pm
0 votes

Hi Ewan,

Please attach a sample.

0 votes

For now I use Theme Builder and modify the width of the scrollbar at zero.

It does not disappear completely, but it so little thas is fine too

0 votes

Hi Tiago

I am missing something here – GeocoderResult[] never gets called

private string _lastQuery;
private GoogleMap Map = new GoogleMap();
private GeocoderResult[] _geocodes;

public string Address { get; private set; }
public GeocoderResult[] Geocodes
{
get { return _geocodes; }
private set
{
_geocodes = value;
}
}

private async void getAddress(string Latitude, String Longitude)
{
_lastQuery = $”Lat: {Latitude} Lng:{Longitude}”;
Geocodes = await Map.GetGeocodeAsync(double.Parse(Latitude), double.Parse(Longitude));
if (Geocodes[0].IsError)
{
MessageBox.Show($”Received error {Geocodes[0].ResultCode}”,
“Search Error”,
MessageBoxButtons.OK,
MessageBoxIcon.Error);
Geocodes = null;
}
else
{
Address = Geocodes[0].FormattedAddress;
}
}

Alternatively I think I need to call it synchronously.

Map.GetGeocode(Bb, double.Parse(Latitude), double.Parse(Longitude));
Address = Bb[0].ToString();

However how do I instantiate Action Bb?

Thanks

Ewan

  • Ewan Walker answered Aug 9, 2018 - 11:41 am
  • last active Aug 9, 2018 - 12:58 pm
0 votes

Hi Tiago,

I tried to make a simple sample from scratch, and it worked perfectly.

It must be something that has crept in from the upgrading of the project over time with various WiseJ releases.

I will see if I can spot what the difference is between the sample I just made and our existing project.

Regards,
Mark

  • Mark McCormack answered Aug 8, 2018 - 4:37 pm
  • last active Aug 8, 2018 - 4:42 pm
0 votes
In reply to: Large pages

That’s it. Changing the taborders of the controls from top to bottom works.
Thank you very much

  • Tobias answered Aug 8, 2018 - 2:19 pm
0 votes
In reply to: Large pages

It scrolls to the control with the focus. At first load it’s the first focusable control in the tabbing order.

  • Luca answered Aug 8, 2018 - 2:13 pm
Showing 6941 - 6960 of 11k results