Hi
I attach an executable with your code
Was needed to correct constructor and initialization variable
Also can see the small gif video
Regards
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.
Hi
you must update the nugget reference.
It was sended with 2.5.26 ver.
See the attached pics
Regards
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.
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!
Checking your sample, the button event fire ok. but there are a bug on your side in this line in the pic
HTH, regards
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.
//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)
Thank you!
Please find the project attached
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.
Cannot reproduce. If you attach a small runnable test case that shows the issue we can see what’s wrong with the code.
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.
Hi Frank,
I’m using Wisej ver. 2.2.52 and Google Chrome as browser.
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.
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
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
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
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
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.
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
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
