All Answers

0 votes

Hi Levie,

i followed your suggestion and managed to update the DataSource as you said.

I’ll attach to this reply and example that works.

 

Thanks for the help you’re providing.

Alex.

0 votes

Hi Levie,

thanks for your support and reply, i really appreciate that.

Hope your doing well in this times,

Alex.

0 votes

Not a silly question at all. BTW we are working on an extensive new documentation site.

IconLarge is currently used by the Taskbar in the Desktop component. If IconLarge is not available it uses the Icon. If you manage minimized windows on your own then you can use it in your representation of the minimized window.

  • Luca answered Aug 20, 2020 - 10:43 pm
  • last active Aug 20, 2020 - 10:44 pm
0 votes

Hi Alexandru,

Thanks for reporting the issue. I’ve logged it as #2378. I’ll let you know when it’s fixed.

In the meantime, I’d recommend using a BindingSource and call “ResetBindings()” whenever your List data source changes.

You can also clear the list another way, such as: _list = new List<Employee>(); Just make sure to remove all references to the old list so the Garbage Collector can free up the memory.

Best regards,

Levie

 

 

1 vote
In reply to: Version 2.2

Hi WiseJ team,
can you please explain which of the features in v2.2 will be available for “normal” customers ?
If I understand correctly native IOS and Android apps will NOT be available if I’m not a Technology Partner ?
What does this mean or better what are the costs for becoming a Technology Partner ?

  • Tobias answered Aug 19, 2020 - 9:00 am
0 votes

Hi Huynh,

issue #2349 is fixed in the latest Wisej development build (2.1.84).

Best regards
Frank

0 votes
In reply to: Version 2.2

Cool, thanks!

0 votes
In reply to: Version 2.2

Hi Jorge,

Yes, we´ll release 2.2. in September.

Read more: https://wisej.com/wisej-2.2/

Best regards
Frank

 

0 votes
In reply to: Duplicate Form Loading

All the click and pointer events are raised only once. If the user clicks twice the event will be raised twice like in a desktop app. If you enable dropDuplicateClicks then Wisej will drop subsequent “execute” events until the first is fully processed on the server. But it only drops the “execute” client event which corresponds to the Click event. If you process MouseClick, MouseDown, MouseUp they are fired as many times as the user clicks.

 

  • Luca answered Aug 18, 2020 - 3:37 pm
0 votes

Hi Drew,

can you please share the versions that you are using?
Which was the old Wisej version, what´s the new.
Which version of Visual Studio? Do you have multiple Visual Studio instances?

Best regards
Frank

0 votes

Now that I think about it, I have seen some similar before and it turned out to be an exception during the rendering of the rows. Those exceptions are logged but not displayed to the user. It could be a data error or a data formatting error.

You can enable logging to a file in web.config using

<configuration>
  <system.diagnostics>
    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="myListener" 
          type="System.Diagnostics.TextWriterTraceListener" 
          initializeData="TextWriterOutput.log" />
        <remove name="Default" />
      </listeners>
    </trace>
  </system.diagnostics>
</configuration>

the file can get big and it will slow down a bit. You can also attach to the DataError event of the DGV to see if you get a hit.

 

in debug mode you can simply enable the exceptions in VS Debug->Exception Settings.

  • Luca answered Aug 12, 2020 - 12:13 am
0 votes

Going to another screen means switching browser tabs, or going to another application? Or do you mean another screen in the app?

It looks like there may be rows added in a background task?  Also check the chrome console to see if there are javascript error.

BTW, a great free chrome extension to record a web page is screencastify.

  • Luca answered Aug 11, 2020 - 11:43 pm
0 votes

Levie,

Thanks, I’d tried that combination too but all that does is hide them, their space is still reserved. I’ve tried the InputType of Number but entry and formatting is a pain – I’ll use this until we can remove the +/-.

Cheers,

Neil

0 votes

BTW,

It could be useful to check out the “Themes” section in the Wisej Documentation for a list of properties and styles you can apply to the controls through mixins and the theme:

https://wisej.com/docs/2.1/html/Themes.htm

0 votes

Hi Neil,

Please try the attached mixin file and let me know if you still have issues. I’ll have to investigate why visibility is not set for the spinner’s up and down buttons.

You could also try using a TextBox with an InputType = Number.

Best,

Levie

0 votes

Dear Levie,

Thank you for your support. I’ve finally got the solution according to the code below. Currently its working well.

Public Sub LoadingAllAppointments(ByVal FullCalendar1 As FullCalendar)
Try
Using connexon As New VistaDBConnection(“Data Source = D:\MastersoftHRM\bin\MastersoftHRMDbOnline.vdb5”)
connexon.Open()
Using command As New VistaDBCommand(“SELECT * FROM Appointments”, connexon)
Using reader As VistaDBDataReader = command.ExecuteReader()
While reader.Read

Dim fcEvent = New Wisej.Web.Ext.FullCalendar.Event()
fcEvent.Id = CType((reader(0)), String)
fcEvent.Start = CType((reader(1)), Date)
fcEvent.End = CType((reader(2)), Date)
fcEvent.Title = CType((reader(3)), String)
fcEvent.ClassName = CType((reader(4)), String)
FullCalendar1.Events.Add(fcEvent)

End While
End Using
End Using
End Using
Catch ex As Exception
MessageBox.Show(ex.Message & Environment.NewLine & ex.StackTrace.ToString(CultureInfo.InvariantCulture))
End Try
End Sub

I just call it like LoadingAllAppointments(FullCalendar1) on Form_Load Event.

 

Thanks

Adrian

0 votes
Dear Levie,
Thank you for the reply and the sample project that you sent. I've reviewed it. I did all that you've pointed me to but 
with no success! I've been using VB.Net for over a decade now especially with DevExpress WinForm Controls with different 
Databases. Now, look at the code below and advise me accordingly. Where have I gone wrong? 

'Here, I Load all Calendar Events from the Database (VisitaDb) into an Array
Private Function GetAppointments() As Array
     Dim eventList() As Object = Nothing
     Using connexon As New VistaDBConnection("Data Source = D:\MastersoftHRM\bin\MastersoftHRMDbOnline.vdb5")
     connexon.Open()
        Using command As New VistaDBCommand("SELECT * FROM Appointments", connexon)
           Using reader As VistaDBDataReader = command.ExecuteReader()
              While reader.Read
                 eventList = {reader(0), reader(1), reader(2), reader(3), reader(4)}
              End While
          End Using
       End Using
   End Using
 Return eventList
End Function

'This is the Method I Call in Form_Load Event
Private Sub PopulateFullCalendarWithEvents()
      ' Here I begin the process of retrieving each Calendar Event from the Array
     Dim EventValues() As Object = GetAppointments()
     Dim eventId As String = Convert.ToString(EventValues(0))
     Dim eventStart As Date = Convert.ToDateTime(EventValues(1))
     Dim eventEnd As Date = Convert.ToDateTime(EventValues(2))
     Dim eventTitle As String = Convert.ToString(EventValues(3))
     Dim eventDescription As String = Convert.ToString(EventValues(4))

     Dim Appointment As [Event] = New [Event]
     Appointment.Id = eventId
     Appointment.Start = eventStart
     Appointment.End = eventEnd
     Appointment.Title = eventTitle
     Appointment.ClassName = eventDescription
     FullCalendar1.Events.Add(Appointment)
End Sub

It ONLY return one LAST Calendar Event from the Database and displays it on the Calendar Control!
Please, I need more assistance
Thank you
  • Ngabo Adrian answered Aug 7, 2020 - 7:10 pm
  • last active Aug 7, 2020 - 7:11 pm
0 votes

Hi Adrian!

That is a complex question.

Here is information on linking your application to a SQL Server database:

https://stackoverflow.com/questions/1345508/how-do-i-connect-to-a-sql-database-from-c

https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlconnection?view=dotnet-plat-ext-3.1

Once you’ve connected to your database and retrieved the data, you can populate the FullCalendar.

I’ve attached a sample project demonstrating adding events to the FullCalendar in Wisej.

Please let me know if you have any other questions!

Best regards,

Levie

0 votes

You cannot access the content of an iframe (from a different URL). All browsers will block any attempt. The WebBrowser running on the desktop is not an iframe, the WebBrowser running in the browser is an iframe.

  • Luca answered Aug 6, 2020 - 1:32 pm
  • last active Aug 6, 2020 - 1:32 pm
Showing 4621 - 4640 of 11k results