All Answers

0 votes

Timer interval is 5000 (there are 2 timers running, one on the “main” page and one on the “child” page  – both set to 5000.

The session timeout is at the default.  However I am doing the following to try to make it so it will not time out.

Public Sub Main()

Dim window As New Main()
window.Show()

AddHandler Application.SessionTimeout, AddressOf Application_SessionTimeout
End Sub

Private Sub Application_SessionTimeout(sender As Object, e As System.ComponentModel.HandledEventArgs)
e.Handled = True
End Sub

 

 

0 votes

Nope, you have to copy like this:

\\Templates.zip\Visual Basic\Items => \My Documents\Visual Studio 2013\Templates\ItemTemplates\Visual Basic\Wisej

\\Templates.zip\Visual Basic\Projects => \My Documents\Visual Studio 2013\Templates\ProjectTemplates\Visual Basic\Wisej

 

  • Luca answered Mar 7, 2017 - 6:19 pm
0 votes

One more thing, after the installer gets the error, it appears to do a roll back.  Is this the case?  Do I just install WiseJ as a local user to get around the error?

0 votes

What is the timer interval and the session timeout value?

  • Luca answered Mar 7, 2017 - 6:05 pm
0 votes

Can you clarify something for me on this?

I see the path …\ProjectTemplates\Visual Basic

 

The Templates.zip file has a folder “Visual Basic”.  Do the “Items” and “Projects” folders go directly into the …\ProjectTemplates\Visual Basic folder

0 votes

Yep, the installer was adding the VS directories for all versions for a single file – it’s not related to this issue though. The directory is created and it’s just there, doesn’t do anything. The path is too long problem may be connected to a network drive or subst drive?

http://www.advancedinstaller.com/forums/viewtopic.php?t=193

You can add the templates manually to:

 

\\users\sramirez\My Documents\Visual Studio 2013 (and/or 2015)\Templates\ProjectTemplates\Visual Basic

\\users\sramirez\My Documents\Visual Studio 2013 (and/or 2015)\Templates\ItemTemplates\Visual Basic

This is a link to the templates:

http://setup.wisej.com/Templates.zip

 

 

 

  • Luca answered Mar 7, 2017 - 5:55 pm
0 votes

Here is the code I was using.

To bind the list(of…) to the datagrid was:

Me.dgvQueueHistory.DataSource = utl.QueueHistory

And to do the color

Private Sub dgvQueueHistory_Paint(sender As Object, e As Wisej.Web.PaintEventArgs) Handles dgvQueueHistory.Paint
For Each row In dgvQueueHistory.Rows
Dim tag As hdBO.HW.Monitor.QueueHistory = TryCast(row.DataBoundItem, hdBO.HW.Monitor.QueueHistory)
If IsNothing(tag) = False Then
Select Case tag.RowDisplayColor
Case “Red”
row.DefaultCellStyle.BackColor = Drawing.Color.Red
Case “Yellow”
row.DefaultCellStyle.BackColor = Drawing.Color.Yellow
Case “Green”
row.DefaultCellStyle.BackColor = Drawing.Color.Green
End Select
End If
Next
End Sub

 

I am now using the the DataBindingComplete event and it appears to work better.

I am still getting an error after a time, the “Invalid Session” error that I reported in another post.

Thanks for the help.

Shawn

0 votes

This one is embarrassing, somebody must have deleted the parenthesis 🙂

Thanks!

One more thing to watch out for when using HTTPS, if you don’t have a valid authority ssl certificate installed (self signed certificates don’t count), when using HTTPS it works with a warning, but WSS will be denied by the browser and you can’t use WS when the “parent” connection was started with HTTPS.

  • Luca answered Mar 7, 2017 - 3:06 pm
0 votes

Yes my friend, it works!

Our company is looking for a successor for  migrating from VWG and I think we found it, for me wisej is product of the year 🙂

I really really hope that it will have a long life and updates

thank you

Cristian

PS: Luca are you italian or only italian name?

0 votes

I just tried to update the row colors and it’s working well. See below. The correct event to detect when the rows are created in a data-bound grid is DataBindingComplete. There are other events for rows added programmatically. The Paint event is an image callback and changing the style causes the grid to “push” updates to the client up to a threshold after which it simply issues a new data reload from the client.

 

private void dataGridView1_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
{
foreach (var row in this.dataGridView1.Rows)
{
row.DefaultCellStyle.BackColor = Color.Red;
}
}

  • Luca answered Mar 6, 2017 - 9:32 pm
0 votes

Hi Nic,

Please update your ChartJS code with the latest source at /Extensions. It includes your enhancements, some fixes and the embedded js resources to be “internet-free”.

  • Luca answered Mar 6, 2017 - 9:21 pm
0 votes

From the image looks like you are using a UserPopup for the UserComboBox. The UserPopup is supposed to be used independently from the UserComboBox, it’s a panel that you can popup programmatically in relation to any other control. The UserComboBox already uses a UserPopup as the drop down.

However, there are 2 bugs: 1) the control assigned at design time is removed from the design surface  – it should be removed only at creation; 2) when detaching the control from the DropDownControl property, the parent is not restored. Logged as WJ-8087 and WJ-8088.

 

  • Luca answered Mar 6, 2017 - 7:03 pm
0 votes

The Paint event is not related to the rendering of the rows. It’s to paint into the graphics object that represents the background image of the control. For a DGV it doesn’t make much sense to paint the whole grid. I don’t know what happens if the code manipulates the row in a Paint callback – which is just an image request.

You should manage the rows outside of the Paint event.

Can you send a code snippet that shows how you bound the color to the data source?

  • Luca answered Mar 6, 2017 - 6:50 pm
0 votes

AutoScroll applies to the panel. Looks like the grid is too big for the panel and you are scrolling the entire grid.

  • Luca answered Mar 6, 2017 - 6:46 pm
0 votes

Looks like the system detects user inactivity and invalidates the session. I’ll get back to you with a solution shortly.

  • Luca answered Mar 6, 2017 - 6:45 pm
0 votes

I have seen that before and I thought it was fixed. It looks like the deployment server is failing to activate or load the license. I’ll try to reproduce. Are you using the latest build>?

  • Luca answered Mar 6, 2017 - 6:42 pm
1 vote

Hi Cristian,

The “load” event is available for image, iframe, flash or other widgets that load external content. The event you are looking for could be the “appear” event. That event is fired when a widget is rendered to DOM.

However, if you hide and show a widget it’s fired again. You can add a flag to indicate that the widget has been initialized. Or you can use “addListenerOnce” to handle the event only the first time.

For a full list of all the available events look at the qooxdoo api: http://www.qooxdoo.org/current/api/#qx.ui.core.Widget

HTH

Best,

Luca

  • Luca answered Mar 6, 2017 - 6:40 pm
0 votes

Thanks Dave !

I could reproduce following your description and have logged WJ-8086 for it.

We´ll inform you when a fix is available.

Best regards
Frank

0 votes

Done some more digging. Appears to be an issue with the MenuBar and MenuItem.

  1. Create New Project
  2. Add a menu Bar.
  3. Add a menu item through the designer.
  4. Change it to AllowHTML = True

What ever you put in the text causes the error. “Not a valid Key Name for a Shortcut :MenuItem1”

Change the text to “<a href=”http://google.com” target=”_blank”>Google</a>” and you get the “whitespaces are not allowed within shortcuts” message.

 

0 votes

Hi Dave,

can you try to search for “& “ in your code ?
Are dynamically assigning any accelerators to menus, buttons etc. ?

If it does not help, any chance to send us some code that causes this error ?

You send it to frankATiceteagroup.com

Thanks in advance,
Frank

Showing 9441 - 9460 of 11k results