Hello Johann,
There is a missing Wisej DLL reference in the project.
Add manually a reference to : Program File\IceteaGroup\Wisej 2\bin\Wisej.Framework.Design.dll
Then exit the program and reload.
This should help.
Regards.
Hi Glenn,
you can set the AlowHtml Property for the column to true and add HTML to your cell to show an image. I used the CellFormatting event to add the HTML to my cells.
Snippet
htmlReturn = "<div role='"+ ROLE_CELLBUTTONCLICK + "' class='my-menu-cell' style='background-image:url(\"" + base64 + "\");'>" + "</div>"; htmlReturn = newText + htmlReturn;
In CellClick event of the grid I checked for the e.Role property and send a click to my application
Snippet
if (e.Role == ROLE_CELLBUTTONCLICK)
{
//do something
}
With this approach you handel this feature serverside. It gives you more flexiblity on changing images for each cell. But it increases server work. To get the unchanged text after a cell value was change on client you must remove the HTML Tags first.
A client side way is shown in attached example. Here all the stuff is done on client in a custom CellRenderer.
Hope this helps.
Best,
Jens
Howdy,
I was checking this about the sessions timeout, this handler:
AddHandler Application.SessionTimeout, AdressOf YourFunction
I have two questions:
1, where should the handler be placed, form_load?
2, what should be the content of “YourFunction”? I just created an empty sub, like bellow, but i’m going something wrong.
3, Can’t I just use: “sessionTimeout”: 0, in Default.json?
Thanks in advanced,
Private Sub MyDesktopMain_Load(sender As Object, e As EventArgs) Handles Me.Load
AddHandler Application.SessionTimeout, AddressOf FuncTimeOut
End Sub
Sub FuncTimeOut()
End Sub
Hi,
Application.exit() does the job, but how can I do to to again to the login page after it?
Thanks in advanced,
Thanks Frank!
Where can i post a feature request, for the “IsLoggedOn” like in WGX, that when it turns into false he kill’s the app?
Hi Jorge,
you can read/write session variables in Wisej as
Wisej.Web.Application.Session("Name")
Best regards
Frank
I also had this issue, and went back to 2.0.13.
Hi Again,
For WGX there was something that i liked, that was:
VWGContext.Current.Session.IsLoggedOn = True
and them we used the variables on it like below, how can i do this in WiseJ?
VWGContext.Current.Session.Item(“hostinguser”) = txtusername.Text.Trim
Hi,
Any idea on this?
Jorge
Check the image attached, but this 2nd example is workable!
Thanks!
Can you attach a screenshot of the cut screen? I’m not having any noticeable issues over here.
I attached a sample without a new Page. You can modify the default desktop. It’s just a UserControl. Open up the “MyDesktop” and drag and drop components.
The attached sample also has a click event tied to a menu item. Select the menu item, click the lightning bolt in “Properties” (Events) and double click the “Click” event. This will create a handler.
I hope this helps!
Best regards,
Levie
Hi Levie,
Thanks i see how, cant be in the desktop form directly.
But the sample you provided, and i tested in my project happens the same, the right side is cut, any idea?
Also, i figured out how to add menus and submenus, what about to click/give them an action?
Hi Levie,
I see, but, the window on the right is not all filled, can you check why?
Hi Jorge,
Here’s a sample application in VB, you can add a desktop component to a “Page” and dock the menubar to the top (remove the other desktop in Program.vb).
If you need the Wisej.Framework to compile, you can probably find it in C:\Program Files\IceTeaGroup\Wisej 2
Let me know if this works for you.
Best regards,
Levie
Howdy,
I’d like to use this example to start my App login form, but the project has a reference to wisej.web.dll and wisej.core.dll that i don’t.
Where can i get it?
WiseJ 2.0.13 installed and vs2019
Do you have demos or samples how to use combobox like serachbox control
See attached gif
Thanks
Hi
Please make it an official extension, a think that its behavior is better than combobox, maybe only need more options/properties/events
Thanks
If the iframe is from the same domain you can call javascript directly using window.frames[index] and from the frame up using window.parent.
If the iframe from a different domain you need to use postMessage, otherwise the browser will block you.
From the server side in Wisej you can call any javascript function using Control.Call or Eval on a specific control or Application.Call/Eval for a general call.
If the iframe is a Wisej.Web.IFramePanel on the server, then on the client it exposes getWindow() and getDocument() to the get window and the document objects from the iframe (works only from the same domain).
If you attach a test case showing what you need and leaving out the parts that you need help with it would help me understand better.
It’s a handled exception. In the code version you have in the image it’s simply ignored and the brotli encoding is not loaded and it will default to gzip.
The latest Brotli extension here https://github.com/iceteagroup/wisej-extensions still ignores the exception but it loads the library since the file has already been extracted. Please try the newer extension and let me know.
Hi Leive,
Don’t work.
I have do this step:
1) close all visual studio
2) uninstall wisej from control panel
3) delete the folder C:\Program Files\IceTeaGroup\Wisej 2
4) install wisej 2.0.24.0
5) open my solution
6) I made sure that all the forms are closed
7) upgrade framework of the application from 4.6.0 to 4.6.1
8) I add references from folder C:\Program Files\IceTeaGroup\Wisej 2\bin
9) rebuild solution
10) open a from in design, same error 🙁
regards
Cristian Zerbinati
