When I click on the link and look at your app, it shows an “Invalid Server License” error. It says “Status: WrongProductName Wisej Developer Professional License Expiration: 9/6/2025 Version: 3.5.11.5”
The WrongProductName error happens when you use a Developer License in the web.config instead of a Server License. Open your web.config file and add the server license key here:
<add key="Wisej.LicenseKey" value=""/>
If you don’t already have a Server License, you can get one here: https://wisej.com/server-licenses/
Hope this helps,
Julie
Hi, Julie,
Attached is the actual code, trimmed down to fit the file upload size limit.
I have confirmed that it works in this reduced form.
If you resize a control on the right side of the form, the curves will track ‘live’ – vertical is best.
I need to have the same behaviour when a control on the left side of the form is moved (resize is not implemented on the left side controls).
Thanks,
Geoff
Hello,
Can you please provide a small runnable test case that shows what you have implemented so far, so that we can better assist you?
Thanks,
Julie
Hello,
Can you please provide a test case that shows the solution you implemented with the dummy label?
Thanks,
Julie
Thank you Frank, I was able to uninstall version 3.0.17, restart computer and then install Wisej.NET-3-VS2022.vsix (version 3.5.11). The project and Visual Studio 2022 are working fine. Even the renderer is working with Edge.
My only wonder regards the displayed 3.0.0.0 version on Toolbox. Does it has any meanings?
Hi Adrian,
you should be able to deinstall 3.0.17 from your Control Center.
Please let us know if that does not work for you.
Best regards
Frank
Also seems to work when clicked outside:
Me.Eval(”
if (document.activeElement instanceof HTMLElement) {
document.activeElement.blur();
}
“)
Thank you!
I could solve the issue with filename encoding by pre-encoding the content disposition filename myself.
string sFileName = "(Template_rev12) eFinance IFRS adjustments M01 2023_006_IFRS 24年7月存货调整修正(冲销6月上传7月).xlsx";
string f = Path.GetFileName(sFileName);
byte[] b = Encoding.GetEncoding(“utf-8”).GetBytes(f);
sFileName = “=?utf-8?B?” + Convert.ToBase64String(b) + “?=”;
string sTempFilePath = “temp.bin”;
FileInfo fi = new FileInfo(sTempFilePath);
using (FileStream fileStream = fi.OpenRead())
Application.Download(fileStream, sFileName);
Hi Tiziano,
currently there are just 2 options for you. Either exclude the column from being shown in the Column Visibility Menu or set the column’s HeaderText property.
Best regards
Frank
Hi Steve,
thanks for your kind words about Wisej.NET.
What you described is IMHO actually a shortcoming or flaw in Visual Studio where it sometimes does not properly indicate
if a window is designable or not. Sometimes it is enough to just change a single character in your code and change it back
and you will see the icon of your component change and the designer becoming available with right click and the context menu or just by double clicking on it.
Typically this happens when you start working on a newly opened project and will get much better when you keep working on it.
I’m glad you figured out another way to get around it and wish you much fun on your Wisej.NET from here.
Best regards
Frank
Hi Sergio,
You can create a new Appearance Key and let it inherit from menubar.
Then change whatever you want for it and assign the Appearance Key to your MenuBar either through the property window
in Visual Studio or by code.
Best regards
Frank
I am trying to apply search function to data bound (with binding source defined) SearchComboBox.
In the code I can see that it is fetching data items:
protected override ObjectCollection CreateItemCollection()
{
return this.InnerComboBox.Items;
}
but when combo is opened I can only see Sytem.Data.DataRowView items in the list.
When clicking on the item it is correctly assigned to combo box when it is closed.
I tried defining DisplayMember and ValueMember when combo is created but no luck:
var innerComboBox = new ComboBox
{
Name = “list”,
Height = 300,
DropDownStyle = ComboBoxStyle.Simple,
AutoCompleteMode = AutoCompleteMode.Filter,
DisplayMember = this.DisplayMember,
ValueMember = this.ValueMember
};
Hi Frank,
Thanks to your suggestion, I was able to implement my custom headers by using a super control that contains a label and the image I need. Everything works as I want. There’s just one issue left: the menu that allows you to Show/Hide the columns only shows the checkboxes but not the column names. Is there a way to display it? I tried exposing the “HeaderText” property from the UserControl, but it doesn’t work.
Best regards
Tiziano
Actually, autosize became correct when scrolling was enabled and took place.
You might find the TreeView documentation to be helpful: https://docs.wisej.com/api/wisej.web/lists-and-grids/treeview
Also the documentation for TreeNode: https://docs.wisej.com/api/wisej.web/lists-and-grids/treeview/wisej.web.treenode
To show the toolTip, make sure to set ShowNodeToolTips = true on the treeView. You can do this in the designer.
You can set the ToolTipText for each node in the designer (click on the TreeView -> edit nodes -> select a node -> type a value for ToolTipText)
You will also want to set Scrollable = false, so the long node text doesn’t result in a scroll bar.
You can get the width of the TreeView using treeView1.Width, but unfortunately there is no property for the width of the node.
You can, however, get the length of the text of the Node. (Node.Text.Length). So if the length of the text is over a certain amount, you can set/display the ToolTip based on that.
See attached sample.
Hi Alaa, sorry for the late answer, the days around 15Aug are a truly dead period in our part of the globe…
It works correctly now, thanks for the updated sample.
Alex
If you want to purchase consulting hours, you can contact sales (sales AT wisej.com) or use https://wisej.com/professional-services-request/
Hope this helps!
-Julie
Can you please attach a reproducible test case, following the guidelines from https://wisej.com/support/question/forum-guidelines under “Before Posting an Issue”? Then we can try to reproduce.
Thanks!
-Julie
Here is some sample code that will set the text color to red:
Me.DxDataGrid1.Eval($"
var el = this.widget.getRowElement({e.Data("rowIndex")});
el.css('color', 'red');
")
See this example from the DevExpress documentation:
https://supportcenter.devexpress.com/ticket/details/t984736/datagrid-how-to-change-the-cell-s-background-color
Hi Huynh,
this issues is fixed in Wisej.NET 3.5.11 that has just been deployed.
Best regards
Frank