All Answers

0 votes

A browser can send an event (an ajax request) to the server but if the event expects data back it has to be asynchronous. And certainly cannot change a C# object on the server and find  the original javascrip map changed on the client.

The devexpress documentation and sample show a javascript event handler and an async ajax request getting data from an endpoint. You can do the same by adding the javascript code and request data from the wisej widget like it’s shown in our devex data samples using the getPostbackUrl() which automatically wires the request to the Widget’s WebRequest event – where you can return the data just like the devex docs show.

When you use the Wisej automatically wired events you can only send data to the server. Another option you have is to call a server side [WebMethod] from javascript and receive the return value in a callback (last argument) or using a Promise or the await keyword and calling  the {MethodName}Async() version in javascript.

 

 

  • Luca answered May 7, 2021 - 2:00 pm
0 votes

Hi Edmond,

Just wanted to know if everything’s okay.
If not just let us know.

Best regards,
Alaa

0 votes

Hi Simone,

Just wanted to know if everything is fine.
If not just let us know.

Best regards,
Alaa

0 votes

Hi Stepan,

Just wanted to know if everything is fine.
If not just let us know.

Best regards,
Alaa

0 votes

Hello Cristian,

Sorry for the delayed response, are you still having issues with the TinyEditor extension on Firefox?

If you still have an issue please make sure to update the extension from our GitHub repository: iceteagroup/wisej-extensions: Extensions to Wisej. See https://wisej.com. (github.com) .

Best regards,
Alaa

0 votes
In reply to: Panels Overlapping

Hi Alaa.

Great. It´s always good to learn some new features of a component.

I confess it that went unnoticed.

Best regards.


.

0 votes
In reply to: Panels Overlapping

Hi Alaa.

Great. It´s always good to learn some new features of a component.

I confess it that went unnoticed.

Best regards.


.

0 votes

The Double Hop issue is resolved if the user comes from a trusted source ie they are logged onto the domain.

 

Would it be possible to generate the ReportServerCredentials based on the prompted user login from the untrusted source?

Alternately

Would it be possible to user BearerTokens instead?

c# – Sending a bearer token to endpoint, then validate this token – Stack Overflow

Thanks

Ewan

 

  • Ewan Walker answered May 6, 2021 - 9:46 am
  • last active May 6, 2021 - 10:47 am
0 votes

Hi Ewan,

Wisej uses the WindowsIdentity.Impersonate() method (WindowsIdentity.Impersonate Method (System.Security.Principal) | Microsoft Docs),  and there’s no way that you can change the authentication system.

The double hop issue is a known problem, that can only be resolved by the Network Manager, so it’s not a Wisej issue.

Best regards,
Alaa

0 votes
In reply to: Panels Overlapping

Hi Marcelo,

We can reproduce this issue and we’ll be looking into it.

Best regards,
Alaa

0 votes

Awesome, will give this a go. My suggestions were merely what endusers might expect a control can do without having to resort to “advanced” “workarrounds” 🙂 .

I’m still trying to learn everything WiseJ has to offer and how everything works.

Vincent

  • Vincent answered May 4, 2021 - 6:58 pm
  • last active May 4, 2021 - 6:58 pm
0 votes

We actually have 4 ways to draw lines:

  1. Line control.
  2. Shape control.
  3. Paint event
  4. Canvas control

 

1 and 2 are div elements with borders that can be rotated.

3 can be painted on any Wisej control. All Wisej controls support the Paint event and can draw an image in the background.

4 is a full HTML5 Canvas element wired to the server. You can use all the canvas instructions in C# or VB.NET! https://www.w3schools.com/html/html5_canvas.asp

See attached small demo and sample code below:

 

 private void label1_Paint(object sender, PaintEventArgs e)
 {
   e.Graphics.DrawLine(Pens.Gray, 0, 0, 100, 100);
 }

 private void canvas1_Redraw(object sender, EventArgs e)
 {
   this.canvas1.MoveTo(0, 0);
   this.canvas1.LineTo(100, 100);
   this.canvas1.StrokeStyle = "gray";
   this.canvas1.LineWidth = 1;
   this.canvas1.Stroke();
 }
  • Luca answered May 4, 2021 - 3:30 pm
0 votes

Hi Frank,

I have installed version 2.2.47 and it seems to be working fine.

Thanks.

0 votes

Hi Angelo,

I could reproduce with 2.2.46 but not with 2.2.47.
Any chance to test it with 2.2.47 on your end?

Best regards
Frank

0 votes

Hi Angelo,

thanks for providing a test case.
However I cannot reproduce with the latest build.
Which browser do you use?
I will also retest with 2.2.46 to see if it´s a fixed issue.

Best regards
Frank

0 votes

Hi Levie.

Any thoughts on this one?

Cheers.

Ivan

0 votes

But can we draw Line control within a Shape control. Could not find anything in the Shape class.

We are trying to migrate from Visualwebgui to Wisej. So on the winform application we have a line control with diagonal orientation and trying to render it onto Wisej.

  • Behzad answered May 3, 2021 - 11:52 pm
0 votes

Hi
I apologize for the delay
Attached you can find the sample with changes, commented as “ITG” where the changes were.

The biggest change was the lower panel control by a FlowLayoutPanel control
It happens that a panel cannot have vertical growth capabilities by design, as a flow design does.
But we found a bug in the padding property of a tag, therefore not will work perfectly.
the fix for the label.padding will disponible in the next release.

Regards and happy codding

  • Paul answered May 3, 2021 - 11:39 pm
  • last active May 3, 2021 - 11:46 pm
0 votes
In reply to: Question about Timers

Hi Daniel

Atached you get the sample with all the case of house timers with Wisej

Note that for your question, the better option is the broadcast timer, because this run in a server context and the timer could be running after the first client that activates it goes off

We hope to be helpful

 

 

  • Paul answered May 3, 2021 - 10:23 pm
  • last active May 3, 2021 - 10:24 pm
0 votes

Vincent,

the issue with an inside label for the TagTextBox is logged as #2640.
We´ll let you know when a fix is available.

Best regards
Frank

Showing 3781 - 3800 of 11k results