All Answers

0 votes

The MaskedTextBox problem is caused by a recent fix and will log as a regression. It’s caused by the key event and the control trying to update the client back.

The NumericUpDown is caused a language mismatch. Your decimal point is the comma, not the dot. When the format doesn’t match the language Wisej resorts to the browsers parseFloat() which in your case is ignoring the dot.

  • Luca answered Jul 6, 2019 - 9:44 pm
0 votes
In reply to: Form.DialogResult

It works as intended.

WinForms closes only modal dialogs with the AcceptButton and doesn’t close non modals but still fires a click, which is an inconsistent behavior that we fixed in Wisej. Assigning the AcceptButton and CancelButton will fire the click when pressing Enter and Escape and will assign the DialogResult of the buttons automatically. But closing or not the form is up to your code.

 

  • Luca answered Jul 6, 2019 - 5:58 pm
0 votes

Hi frank

For 1.5xx version have this property but 2.xx version Not available

  • HSoft answered Jul 6, 2019 - 3:49 pm
0 votes

Hi,

Our jQueryKnob extension is a wrapper around this nice widget:

https://github.com/aterrien/jQuery-Knob

Please refer to its documentation on GitHub.
There is no headertext property.

Best regards
Frank

0 votes

You can use any javascript or asp.net viewer for any reporting system. For non-web reporting systems (including CR non server based) you can return a pdf file or stream to the PdfViewer. Javascript based viewers can be used in a Wisej Widget. ASP.NET viewers can be dropped on a aspx page and used in a AspNetPanel or wrapped in a AspNetWrapper and used as a wisej control.

See https://wisej.com/support/question/stuck-wrapping-an-asp-net-control-stimulsoft-reports-designer

  • Luca answered Jul 5, 2019 - 5:07 pm
0 votes

Oauth 2 requires a callback url. It can be implemented on the client using any client side javascript library or on the server by adding a handles to web.config.

See: https://oauth.net/code/dotnet/

 

  • Luca answered Jul 5, 2019 - 5:03 pm
0 votes

Dmitry,

can you please share some sample code ?
Could be an issue in ChartJS.

Thanks in advance,
Frank

0 votes
In reply to: Application Exit

Hi Angelo,

it´s virtually impossible to detect the browser closing a page.
I recommend to use the SessionTimeoutEvent to perform cleanup.

Best regards
Frank

0 votes
In reply to: License Inquiry

Hi Glenn,

the same developer can install and use Wisej on up to 3 devices.
In that case VM would simply count as an additional device to your desktop.

Best regards
Frank

0 votes
In reply to: MenuItem

Hi Huynh,

MdiList is explained here:

https://wisej.com/docs/2.0/html/P_Wisej_Web_MenuItem_MdiList.htm

The 3 other properties control the merging of menu items of a child control into its container´s menu.

Find a simple sample with some options attached.

Best regards
Frank

0 votes

Hi Nikos,

I think that the easiest way (for now) is to copy the mixin from
the extension into your projects theme directory and adjust the colors in it.

In alternative you can also define a mixin where you override the color definitions.

See here:

https://wisej.com/support/question/datagridview-change-highlight-row-color

Best regards
Frank

0 votes

Hi Arturo,

I need to use CrystalReportViewer in wisej app.

Can you give demo to use crystalReportViewer in wisej frame?

Thank you.

0 votes

Thanks Frank,

In the need to migrate a license from one computer to another, how can i process that?

0 votes
In reply to: Key event not woking

It works as designed and explained here:

https://wisej.com/docs/2.0/html/Events.htm

In a web environment we have determined that it’s a waste of bandwidth and cpu time to send every single keystroke and every single pointer event to every control in every form. Therefore if your app needs those events for some controls you can simply attach the handler. Once attached you may either override and/or use the handlers.

 

if there is anything that doesn’t work please send a test case.

  • Luca answered Jul 2, 2019 - 1:38 pm
0 votes
In reply to: Key event not woking
My custom control.
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports Wisej.Web
Public Class vsTextBox
Inherits Wisej.Web.TextBox
#Region “Properties”
Private _ObjNext As Control
<Category(“MyProperties”), Description(“”), Browsable(True)>
Public Property ObjNext() As Control
Get
Return Me._ObjNext
End Get
Set(ByVal value As Control)
Me._ObjNext = value
End Set
End Property
Private _ObjBack As Control
<Category(“MyProperties”), Description(“”), Browsable(True)>
Public Property ObjBack() As Control
Get
Return Me._ObjBack
End Get
Set(ByVal value As Control)
Me._ObjBack = value
End Set
End Property
    Private _label1 As vsLabel
<Category(“MyProperties”), Description(“”), Browsable(True)>
Public Property Label1() As vsLabel
Get
Return _label1
End Get
Set(ByVal value As vsLabel)
_label1 = value
End Set
End Property
    Private _ObjTextPropertyName As String
<Category(“MyProperties”), Description(“”), Browsable(True)>
Public Property ObjTextPropertyName() As String
Get
Return Me._ObjTextPropertyName
End Get
Set(ByVal value As String)
Me._ObjTextPropertyName = value
End Set
End Property
    Private _IsSetTextForm As Boolean = True
<Category(“MyProperties”), Description(“”), Browsable(True)>
Public Property IsSetTextForm() As Boolean
Get
Return Me._IsSetTextForm
End Get
Set(value As Boolean)
Me._IsSetTextForm = value
End Set
End Property
#End Region
#Region “Event”
Protected Overrides Sub OnGotFocus(ByVal e As System.EventArgs)
MyBase.OnGotFocus(e)
        If Me.Label1 IsNot Nothing Then
Me.Label1.Font = New Font(Me.Label1.Font.Name, Me.Label1.Font.Size, FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel)
End If
End Sub
Protected Overrides Sub OnLostFocus(ByVal e As System.EventArgs)
MyBase.OnLostFocus(e)
        If Me.Label1 IsNot Nothing Then
Me.Label1.Font = New Font(Me.Label1.Font.Name, Me.Label1.Font.Size, FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel)
End If
End Sub
Protected Overrides Sub OnKeyDown(e As KeyEventArgs)
MyBase.OnKeyDown(e)
        Select Case e.KeyValue
Case 13
If Me.Multiline = False AndAlso Me.ObjNext IsNot Nothing Then
If Me.ObjNext IsNot Nothing Then
Me.ObjNext.Focus()
End If
End If
Case 27
If Me.ObjBack IsNot Nothing Then
Me.ObjBack.Focus()
End If
End Select
End Sub
#End Region
End Class
In winform,I don’t need to attach a handler. KeyDown event does work.
Wisej framework, KeyDown event doesn’t work.
0 votes

Hi Jorge,

1. Yes the licenses are perpetual, they keep working but cannot be upgraded anymore once the license expired.
2. Yes, it´s the same as 1.
3. There is no tool, but for server licenses you can remove it from one web.config and add it to another web.config

Best regards
Frank

0 votes
In reply to: Key event not woking

Hi,

did you attach a handler ?

See lazy events here

https://wisej.com/docs/2.0/html/Events.htm

Best regards
Frank

0 votes

Jorge,

a future Wisej release will bring major improvements in that area.
We´re still figuring out the details.

I will keep you updated.

Best regards
Frank

0 votes

Frank,

I see, but for what i want to achieve wont work, i want to change it on runtime depending on that the logged user has defined.

Could be added as a feature? to change it via code like: grid.rowstyle.highlightcolor = color.red

0 votes

Hi Jorge,

overriding the theme colors can be done by defining a mixin like this.

{
“name”: “MyMixin”,
“colors”:
{
“table-row-background-even”: “yellow”,
“table-row-background-odd”: “green”
}
}

Put these lines in a text file called e.g. MyMixin.mixin.theme and put it into your projects Themes folder.

You can override any theme color like this.
See Theme Builder to find out more about the available settings.

Best regards
Frank

Showing 5761 - 5780 of 11k results