All Answers

0 votes

Hi Luca,

I created a sample program.

best regards

Bernhard

0 votes

Hi Jay

.ico is not supported. ImageSource can be the name of an image in the theme or the relative path to an image resource or a url. just like any image loaded by a browser.
HTH
  • Paul answered Jan 4, 2023 - 8:12 pm
0 votes

Hi Jay,

You can try to use one of the RichTextEditors extensions,

You can try TinyMCE, TinyEditor, or if you want something that resembles a code editor you can also use the AceEditor extension!

They’re all available as NuGet packages or you can directly build them yourself.

Best,
Alaa

//

0 votes

Hi Jay,

Adding to my last answer, you can also set the visibility of each column according to your needs.

It would be better to implement your own filtering logic in the button click event and then you can decide what column you want visible or not.

Also, if you wish to have manual control, you can also use the ColumnVisibilty Menu.

The ColumnFilter extension is better used to filter rows.

HTH,
Alaa

//

0 votes

Hi Jay,

You can use the ColumnFilter extension available as a NuGet Package, or you can also build it from source.

With it, you can add your own custom filtering logic and tailor it to your needs.

HTH,

Alaa

//

0 votes

Hi Kürşat,

Can you please send a reproducible test sample?

Thanks!
Alaa

//

0 votes

Hi Bjorn,

The easiest thing you can do is installing the extensions via the NuGet Package Manager in Visual Studio.

It’s as simple as right clicking the solution, then choosing the “Manage NuGet Packages..” option in the resulting Context Menu.

From there, you can search for Wisej-3-PrintPreview and simply install it.

You can also build each extension from source like you were trying to do, for that you have to add both .NET4.8 and .NET 6 assemblies if your application is targeting them both.

HTH,
Alaa

0 votes
In reply to: Invalid Server License

Hi Manfred,

can you please contact us at supportATwisej.com and provide us with the full key you are using in web.config?
Then we can figure out best, what the issue might be.

Thanks in advance,
Frank

0 votes

Hi Manuel,

You can implement it using JavaScript as mentioned in their documentation.

You can build it using whatever web system you are familiar with then use the JavaScript in a Wisej page.

You can also contact us for a quote on our professional services: https://wisej.com/services-packages/

HTH,
Alaa

//

0 votes

Hello Luca,

We already tried this and is is is not working. If we set Application.CurrentCulture and read it back we still get the old instance back.

static void Main()
{
 var enHU = new CultureInfo("en-HU");
 var huHU = CultureInfo.GetCultureInfo("hu-HU");
 enHU.NumberFormat = huHU.NumberFormat;
 enHU.DateTimeFormat = huHU.DateTimeFormat;
 
 Application.CurrentCulture = enHU;
 if (Application.CurrentCulture == huHU) {
  MessageBox.Show("nothing changed");
 }
 
 Application.MainPage = new Page1();
}
0 votes

Zip the dll and send it to the support email address please.

  • Luca answered Jan 3, 2023 - 4:01 pm
0 votes

Snippet

static void Main()
{
 
	var enHU = new CultureInfo("en-HU");
	var huHU = CultureInfo.GetCultureInfo("hu-HU");
	enHU.NumberFormat = huHU.NumberFormat;
	enHU.DateTimeFormat = huHU.DateTimeFormat;
	
	Application.CurrentCulture = enHU;
 
	Application.MainPage = new Page1();
}

Works well. It’s not a workaround, a culture with english language and hungarian formatting is a custom one by definition.

If you need a custom solution change request, please send the request through the TP channel.

  • Luca answered Jan 3, 2023 - 3:56 pm
0 votes

yes indeed there’s a print dialog, where to enter the path and filename.

should work via this extension: https://github.com/iceteagroup/wisej-extensions/tree/2.5/Wisej.Web.Ext.PrintPreview

can somebody let me know the easiest way how to add this extension please?

I never did this before so don’t know which files I need to download and where to locate them and how to add them in visual studio.

thanks in advance.

0 votes

Hi Bjorn

Is probably that you are showing a print dialog on the server.
Microsoft Print to PDF shows a dialog box usually to pick a file. In any case, not a Wisej issue.
Here another thread that can help you
hth and happy new you year for you too
  • Paul answered Jan 3, 2023 - 12:32 pm
0 votes

Hi Alaa,

thank you for you response but CultureAndRegionInfoBuilder is not supported in .net core.

We also tried to clone CultureInfo and set all the format related properties like NumberFormat but WiseJ ignores this when setting Application.CurrentCulture and stays the old value. Even if it would work I would also count this as a work around.

In the dotnet world the UICulture and Culture are very important for any international company.

I understand that this might be a breaking change for WiseJ. Would this possible for WiseJ 4?

best regards

Bernhard

0 votes

@David, the sample you mentioned uses a different timer: System.Timers.Timer.

Statics are single instance objects. When you create a timer object like System.Timers.Timer (it’s a system timer, see MSDN) as a static object it’s available to the application regardless of the scope of the code. This is not a Wisej.NET construct, it’s just statics in any system.

When the thread timer fires an event, it means that the OS calls the handlers attached to the event delegate. To call the handlers the OS creates a thread and simply starts calling all the handlers. If handler1 was attached from session A and handler2 was attached from session B that information is completely lost since the concept of session doesn’t exist in code. So, when the call arrives to handler1 (session A) Wisej.NET allows you to restore the context (session) using any control (controls in Wisej.NET save a reference to the session that owns them) so that the code can execute in the session context.

However, since the call is coming from an OS thread and there is no browser request obviously the server cannot send a response without a request. That’s when you need the websocket connection – to “push” the update out to the browser without the browser having requested it. Application.Update(IWisejComponent): it pushes out to the browser the entire current state differences. Whatever you use as an argument is an IWisejComponent that is used only to retrieve the session. You can also save an reference to Application.Current and use that one.

The example in this issue is different. It used a Wisej.Web.Timer, which is a component that is created on the server AND the browser and it fires the tick event from the browser. The request comes in, and the response goes back. No need to use Application.Update(). Unless, like in the issue, you also attached to the tick event from a different session – the different session doesn’t have a request to respond to because it was coming from the first browser. Which also means that when the first user closes the browser the javascript timer is terminated.

For the shared drawing, you have the same situation. If you create a javascript component it’s in the browser, you cannot share it with another browser. But you can share the set of data use for the drawing. In the sample you mentioned it’s List<Point> this.draw. Make is static, synchronize (lock) access, add a static event and an Application.Update() (actually in this case you don’t need this because the thread timer is already pushing the updates) when adding points and you have a shared drawing system.

See attached.

 

 

 

  • Luca answered Jan 2, 2023 - 5:46 pm
  • last active Jan 2, 2023 - 5:49 pm
0 votes

Hi Bernhard,

It’s best to create your own Culture.

You can check out the MSDN Documentation on how to create your own Culture!

The UI and Culture thread aren’t necessary for what you’re trying to do!
HTH,

Alaa

0 votes

Hi Nicholas,

We have a similar control in Wisej.NET which is the TagTextBox.

The control can be extended to behave similarly to the TokenEditor.

HTH,

Alaa

0 votes

Hi Bernhard,

Thank you for reaching out,

We’ll prepare a sample for you to demonstrate the navigation process in Wisej.NET!

But to not keep you hanging, you should be able to save the hash in a Cookie or LocalStorage and then retrieve it in an Application.ApplicationRefresh event.

Best,
Alaa

//

1 vote

Hi Nicholas,

Can you please provide:

  1. Wisej.NET Version you’re using
  2. .NET Target Framework
  3. Judging from the screenshot you sent, it appears that you’re attempting to deploy to an ARM-based instance of Azure App Services, can you confirm that?

You can also check out our Deployment book for more info about deploying to Microsoft Azure.

Best,
Alaa

 

Showing 1981 - 2000 of 11k results