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
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
I want to StiWebViewer UseRelativeUrls = true , but ı dont do that
stiWebViewer1.UseRelativeUrls = true; is not work on wisej
Hi Eric,
It’s logged as WJ-9123. It’s fixed in our internal build and will be on the next public dev build.
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
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.
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.
Hi again Edmond.
I attach one of the ways of doing it.
Hi Edmond,
Please have a look at JavaScript documentation.
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:
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();
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.
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:
HTH
Two ways:
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
Hi Ewan,
Please attach a sample.
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
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
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
That’s it. Changing the taborders of the controls from top to bottom works.
Thank you very much
It scrolls to the control with the focus. At first load it’s the first focusable control in the tabbing order.
