All Answers

0 votes

Hi Tung,

To utilize Brotli in your project, simply reference the DLL in your Wisej project and Wisej will automatically try to load it on startup.

In regards to verifying that it’s working, check out this post:

https://wisej.com/support/question/hi-how-to-know-if-brotli-is-working

You’ll want to look at the WebSocket connection under “Network” in the Developer Tools and verify that it has the proper “br” heading. Brotli will automatically compress all responses larger than 2048 (2mb).

 

If you have any questions about this, please let me know!

Best regards,

Levie

0 votes

Thanks Luca its works now

  • HSoft answered Nov 18, 2020 - 4:14 pm
0 votes

The problem is that you are overriding the browser’s window.print() function which is called by Wisej from Wisej.Core.print() to generate a print preview of a page or a specific widget. For example, see screen shots attached. In Wisej you can use Application.Print(control) to “isolate” a specific part of a page. In the screen shot it calls Application.Print(this.barcode1) which calls the javascript Wisej.Core.print() which calls the browser’s window.print().

When you put a global javascript function without a scope it override’s the window’s function with the same name and you risk breaking the entire application if you override a system function. You can call it something else, like “jspm_print” or give it a scope and call it “MyApp.print” like this:

window.MyApp = {

print: function(name){

}

};

HTH

 

 

  • Luca answered Nov 18, 2020 - 3:52 pm
0 votes
In reply to: WebClient Print Tool

I solved this problem , wisej is great tool

Thanks

  • HSoft answered Nov 18, 2020 - 3:18 pm
0 votes

TabIndexChanged is the event fired when the property TabIndex is changed and in the RibbonBar is hidden because it’s not relevant.

 

 /// <summary>
 /// This event is not relevant for this class.
 /// </summary>
 /// <exclude/>
 [Browsable(false)]
 [EditorBrowsable(EditorBrowsableState.Never)]
 public new event EventHandler TabIndexChanged

 

When SelectedPage property changes it fires SelectedPageChanged.

  • Luca answered Nov 17, 2020 - 5:53 pm
1 vote

The DropDownHeight “Returns or sets the maximum height in pixels of the drop-down portion of the Wisej.Web.ComboBox.”

The UserComboBox adjusts the height of the drop down to the height of the DropDownControl, and limits it to the DropDownHeight. In your case you should set the DropDownHeight to the maximum you want to limit the height to and set the height of this.listViewComboBox1.ListView.Height.

  • Luca answered Nov 14, 2020 - 7:40 pm
  • last active Nov 14, 2020 - 7:40 pm
0 votes

You can use any custom editor in any cell, like you did. In that case you are taking over the editing control (Editor). Remember to dispose the one you create otherwise they will be disposed by the GC which may happen much later and the controls pile up on the client. If you want your control to cover the cell set Dock=Fill and set the background.

Another way it to use the built in cell editors. In Wisej you can assign cells of different types regardless of the column type. Look at the PropertyGrid, it can edit any value type in the value column. That’s a DataGridView inside the PropertyGrid. Simply use DataGridViewColumn and then assign DataGridViewCheckBoxCell, or DataGridViewDateTimeCell to the cells. You can also create your own cell types and cell editors.

  • Luca answered Nov 14, 2020 - 7:11 pm
0 votes
In reply to: TreeViewComboBox

Hi Ewan,

thanks, logged as #2472.

A fix will be included in the next Wisej build.

Best regards
Frank

0 votes

Thanks Luca for your prompt response !!

A big detail !!!

I will try..

Regards

Marcelo Blank

 

0 votes

It’s in the browser log:

qx.min.js?v=1.5.58.0:1 Mixed Content: The page at ‘https://spreadjstest.azurewebsites.net/’ was loaded over HTTPS, but requested an insecure script ‘http://code.jquery.com/jquery-1.9.1.min.js’. This request has been blocked; the content must be served over HTTPS.

You can’t mix https and http.

Also notice that your azure site doesn’t have WebSocket enabled. It doesn’t matter for Wisej, but it’s just a checkbox in Azure.

  • Luca answered Nov 13, 2020 - 3:12 pm
0 votes

Hi Cristian,

I’m glad to hear the latest release worked for you!

I’m going to mark this answer as the solution just to close the issue.

Best regards,

Levie

0 votes

You can also change some metrics without recompiling the NavigationBar extension:

this.navigationBar1.Controls[“header”] is the header.

this.navigationBar1.Controls[“header”].Controls[“icon”] is the icon.

etc. you can inspect the code and find the hierarchy. You can then change the height, hide the icons (in your screen images the blank space to the left are missing icons), etc…

  • Luca answered Nov 10, 2020 - 8:15 pm
0 votes

Hi! I can’t find ColumnHeader.BackColor and ColumnHeader.ForeColor to ListView?

  • mgmst answered Nov 10, 2020 - 5:01 pm
1 vote

Hi mgmst,

You can download the source code of the NavigationBar extension here: https://github.com/iceteagroup/wisej-extensions. Feel free to change the extension however you want, rebuild it, and add it to your project. You should be able to achieve everything you’re trying to accomplish!

For #3, you can use the NavigationBarItem.Expanded property collapse or show children.

In regards to #4, the default implementation of the NavigationBar uses a SlideBar, which shows the buttons to scroll at the top and bottom of the control. If you want a scrollbar you’ll need to implement a different control (try FlowLayoutPanel).

 

If you have any questions about this, please let me know!

Best regards,

Levie

 

  • Levie (ITG) answered Nov 10, 2020 - 2:59 pm
  • last active Nov 10, 2020 - 3:01 pm
0 votes

You can use MyButton.BorderStyle = BorderStyle.None 🙂

  • mgmst answered Nov 10, 2020 - 2:07 pm
0 votes
In reply to: TreeViewComboBox

Hi Frank

Collapse is fixed (except when nodes are locked see below)

However programmatically selecting a node is not.

The tree auto expands to the node, but the nodes leading to the selected node remain locked as expanded, even if another node is selected.

(If a node is manually selected you can open the drop down and manually collapse all nodes leading to selected node, collapse also works correctly)

Thanks

  • Ewan Walker answered Nov 10, 2020 - 8:33 am
  • last active Nov 10, 2020 - 8:39 am
0 votes
In reply to: TreeViewComboBox

Hi Ewan,

this issue is logged as #2471 and will be fixed in our next release.

Best regards
Frank

0 votes
In reply to: TreeViewComboBox

Hi Luca

From my tests CollapseNode() just collapses the top level node, as if you re-expand the top level node, the previously expanded nodes are still expanded.

Once you programmatically select a node that is several levels down, you can no longer collapse that branch even if you select a different node.

If you manually select a node you can collapse each node in the chain.

See video

https://1drv.ms/u/s!AnsMoCQkVNQtsW8QoiD1VKeXMKc2?e=y826u6

Thanks

Ewan

0 votes
In reply to: TreeViewComboBox

When you select a node it will automatically expand all the parent nodes.

  • Luca answered Nov 9, 2020 - 2:11 pm
0 votes
In reply to: TreeViewComboBox

Hi Levie

I am using the latest version 2.2.18.0

I am trying to implement the ability to type into the combo to search the tree.

When I programmatically set the selected node. you cannot collapse the node even if you try and do it within the drop down.

See highlighted line.

private void tvcmbServiceList_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 27)
{
//Cancelled();
}
else if (e.KeyChar == 8 && strSearch.Length > 0)
{
strSearch = strSearch.Substring(0, strSearch.Length – 1);
tvcmbServiceList.Text = strSearch;
}
else if (e.KeyChar == 13)
{
((TreeView)this.tvcmbServiceList.DropDownControl).CollapseAll();
TreeNode Node = SearchNode(strSearch, tvcmbServiceList.Nodes[0], true);
((TreeView)this.tvcmbServiceList.DropDownControl).SelectedNode = Node;
strSearch = “”;
}
else
{
strSearch = strSearch + e.KeyChar;
tvcmbServiceList.Text = strSearch;
}
}

Thanks

Ewan

Showing 4361 - 4380 of 11k results