All Answers

0 votes

Hi
I attach an executable with your code
Was needed to correct constructor and initialization variable

Also can see the small gif video

Regards

  • Paul answered Oct 22, 2021 - 3:21 pm
0 votes

You cannot show a file selection dialog on the user’s computer without an action from the user. You can use hidden Wisej.Web.Upload control and call this.upload1.UploadFiles() but it must come from a user action. There is no way around it.

  • Luca answered Oct 20, 2021 - 9:51 pm
0 votes

Hi

you must update the nugget reference.

It was sended with 2.5.26 ver.

See the attached pics

Regards

 

  • Paul answered Oct 20, 2021 - 8:54 pm
0 votes

Hi Luca,

It is from the browser. Google chrome. I changed to EDGE and events are fine.

Thank you and sorry for the time you spend on this case.

  • mgmst answered Oct 20, 2021 - 6:49 pm
0 votes

It do not fire events and in VS2015.

It worked fine a month ago.

What it can be and what I can do for that?

Thank you!

 

  • mgmst answered Oct 20, 2021 - 6:30 pm
0 votes

Checking your sample, the button event fire ok. but there are a bug on your side in this line in the pic

HTH, regards

  • Paul answered Oct 20, 2021 - 4:40 pm
0 votes

Hi Lennox,

ItemCloned is fired when a new item is created but the new item is NOT the item on the screen. A data repeater with 1000 records and 3 visible items will fire ItemCloned 3 times, not 1000.

When the item is populated it fires ItemUpdate, is your first,
The second step, Wisej loads js packages asynchronously and therefore it is ideal to use this procedure:


//js initialization
this.init = function(options) {
// your initialization code.
this.widget = WaveSurfer.create({
container: '#'+this.getId()+"_container",
waveColor: 'blue',
progressColor: 'purple'
});
'VB Event
Private Sub DataRepeater1_ItemUpdate(sender As Object, e As DataRepeaterItemEventArgs) Handles DataRepeater1.ItemUpdate
Dim Player As Widget = e.DataRepeaterItem.Controls("Widget1")
Player.Instance.load("http://ia902606.us.archive.org/35/items/shortpoetry_047_librivox/song_cjrg_teasdale_64kb.mp3")
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Widget2.Instance.load("http://ia902606.us.archive.org/35/items/shortpoetry_047_librivox/song_cjrg_teasdale_64kb.mp3")
End Sub

Happy Coding,

I attached one sample

Kevin (ITG)

  • Kevin answered Oct 20, 2021 - 3:52 pm
0 votes

Thank you!

Please find the project attached

 

  • mgmst answered Oct 20, 2021 - 1:58 pm
0 votes

Those are normal entries in the event viewer generated by the IIS websocket system when the connection is closed. You didn’t get any exception or error in the application.

  • Luca answered Oct 20, 2021 - 1:37 pm
0 votes

Cannot reproduce. If you attach a small runnable test case that shows the issue we can see what’s wrong with the code.

  • Luca answered Oct 20, 2021 - 1:32 pm
0 votes
In reply to: DragDrop Files

Hi Paul

Thanks for the reply.

As you can understand if I drop a file that takes a long time to be loaded, in the user interface I have only the wait cursor available to indicate that I have to wait for the upload to finish.

0 votes
In reply to: Dropped File lenght.

Hi Frank,

I’m using Wisej ver. 2.2.52 and Google Chrome as browser.

0 votes

Please find attached.

 

 

One button simply loads the widget  and call the  “LoadMedia” function by itself.

The other  populates the Repeater and tries to call the function using the  DataRepeater1_ItemCloned() event

 

I had to remove the “Wisej.Framework.dll” to keep the size of the zip file down.

0 votes

Hi Carl

You can check this post related to drag and from files into wisej controls

https://wisej.com/support/question/dragdrop-files#sabai-entity-content-12039

hth

  • Paul answered Oct 20, 2021 - 3:40 am
0 votes

Hi Page,

thanks for letting us know. We have logged this issue as #2782 and will let you know when it´s fixed.

Best regards
Frank

0 votes

Hi Lennox,

can you please post a complete sample that includes the Data Repeater and where you want to call the widget code?

Thanks in advance.

Best regards
Frank

0 votes
In reply to: DragDrop Files

Hi Angelo

Sorry for the late.

I attached your sample with a small fixes in the datagridview. This has nugget reference for last 2.5 beta build. You can change it for the version that are using

Was nedded a column and a line of code for add a new row on it to display the name of file dragged.

The Progress event is only available for the Upload control.

Drag and drop of a file in Wisej can work with any control as a target then AllowDrop is true and there is no Progress event for that

HTH

Paul

  • Paul answered Oct 19, 2021 - 7:21 pm
  • last active Oct 19, 2021 - 9:22 pm
0 votes

Hey Luca,

See attachment. I uploaded a sample project and screenshot. I don’t know if my pulse is accurate or what but every time I click on the left corner by the button edge, the click event does not fire. See screenshot. Fyi, I removed the bin and obj folder to upload them.

0 votes

Hi Pavel,

Unfortunately, we weren’t able to reproduce the issue.

Still, if in the theme is defined colours, how to change individual panels colors then? It seems the theme colors are more significant than the properties of individual objects… Is that correct?

You’ll just have to change the BackColor property, the theme colors are of good use when you have an application that offers more than one theme. It would be easier for you to include different colors in the themes.

For example, let’s say you have a Dark and Light theme, the “@control” color can be “White” and “LightGray” respectively, that way the appearance changes “on the fly”.

If you want it to have a “fixed” color, then just use a Web Color , System Color or a select a color from a Color Picker.

HTH,
Alaa

  • Alaa (ITG) answered Oct 19, 2021 - 7:57 pm
  • last active Oct 19, 2021 - 7:59 pm
0 votes

Hi Jonatha,

Sorry for the delayed answer.

In order for you to use the “Stacking” and “Grouping” functionalities, you’ll have to use the most recent version of ChartJS3’s extension.

You can find it here: iceteagroup/wisej-extensions: Extensions to Wisej. See https://wisej.com. (github.com)

The current NuGet package doesn’t include these functionalities, but we’re going to roll out the changes in the next release.

You can build it yourself and just replace the .DLL reference with the newer NuGet package later!

I have attached a small sample to help you get you started.
P.S – In order to use the sample, please build the ChartJS3 extension from source and then replace the .DLL reference.

HTH,
Alaa

 

Showing 3161 - 3180 of 11k results