I am calling this (after button “Export to PDF is clicked”):
Public Function FExportToPF() As Boolean
Me.Eval(”
window.jsPDF = window.jspdf.jsPDF;
applyPlugin(window.jsPDF);
const doc = new jsPDF();
DevExpress.pdfExporter.exportDataGrid({
jsPDFDocument: doc,
component: dataGrid
}).then(function() {
doc.save(‘Customers.pdf’);
});
“)
Return True
End Function
And it returns: Cannost read property ‘exportDataGrid’ of undefined
I don’t know what you are calling. I tried with the tests and it works. It’s not possible that it’s not defined if the widget loaded.
“If you want to use the DevExpress namespace you have to wait for it to load. ”
I have export to PDF button for the DXGrid widget. Which button I may click long after the widget is loaded and initialized. But still DevExpress namespace do not works in PDF export JS. It says DevExpress not defined.
To remove the editable widget set InitScript to this.getChildControl(“textfield”).exclude();
Using Text.Split() is the correct way. Tags in a text box are just a way to show the text. It’s not a collection of panels or objects. For that you can simply use FlowLayoutPanel and stack panels.
If you need to “inject” complex data into the text you can also do that with the TagTextBox by handling the TagRender event. For example, of the text is ‘{id:1,text:”Hello”};{id:2,text:”World”}’ then you can either override OnTagRender or handle the TagRender event and display only Hellp and World. You can also set the colors or use complex HTML. See the demo app as an example. The args object for the TagRender event has the properties you need.
For the Label position don’t use Inside it conflicts with the inner composition. Top works fine. Will log the issue with Inside. The tool button is correct too. The problem at design time is that you added several tags in the text causing the inner TagTextBox to grow vertically but the designer cannot get the runtime client events back and you’d have to set AutoSize to false and resize by hand if you want to see the Text. Or set the Text to “” or to shorter text that doesn’t cause the wrapping.
If you add the library to the Default.html you have to remove it from the widget packages. Cannot load the same js twice. And if you do it directly (by adding to Default.html) as you would do using devexpress directly then you have to load all the nevessary css, js (including the localization js).
If you download the code from https://github.com/iceteagroup/Wisej-Ext-DevExtreme you will get the built-in localization support and there is no need to load the library again. Just set Application.CultureInfo = (the culture you want to use). Or set the culture in default.json, or keep it set to “auto” to use the browser culture.
If you want to use the DevExpress namespace you have to wait for it to load. You get the Load event in the Widget class. However, changing the locale won’t change anything unless you reload/rebuild the widget. This is how all third part widgets work, they can’t update dynamically like wisej widgets do.
Is the issue that you want to use 2 cultures at the same time?
Hi
Another option you can use, is the shape control
With it, you can play with BorderStyle* and Rotation properties
Please, see the atached image
We hope to will help you
Regards and happy coding
You cannot use NFC using JavaScript, you can only do it with a native app. Wisej supports hybrid apps (mix between native and web). You can use the free Apache Cordova and its myriad extensions with Wisej as you would with any javascript code. The learning curve can be steep but it’s outside of the Wisej scope.
We provide our own native integration package, actually two: one written in SWIFT and the other in Android Studio. They are tailored to work with Wisej in a very tight way (we can even turn on the light of a user phone from the web server, can use face id, etc.) However, the apps are available to Technology Partners.
If you are interested, contact us and we’ll provide you with all the information you need, including a demo you can try on your phone.
Sorry for the delay. We will send you a sample with 3 different approaches in Wisej shortly, including the same (but better) as VWG.
Hi thanks for write us
The feature that you ask, can do it with the extender control “Rotation”
This wisej control add extend capabilities to rotate to any control that you have in a container.
I adjunt an example image
Regards
But I received an error like this:
</head>
<body>
</body>
</html>
But I received an error like this:
This works for checkbox:
public class CheckBoxYN : Wisej.Web.CheckBox
{
public string YesNo
{
get
{
if (this.Checked)
return “Y”;
else
return “N”;
}
set
{
if (value == “Y”)
this.Checked = true;
else
this.Checked = false;
}
}
}
and then in page/control/window where you are using this control you need to set databinding to it using:
this.chkExtenede.DataBindings.Add(“YesNo”, <binding source name>, <field to bind to name>);
Found my way searching the forum.
It worked like a charm.
Thank you!
Hey Luca.
Thank you.
What is this “block with an accelerator” ?
There is no way. The fullscreen api only works programmatically. All the entries you see in stackoverflow are old and either never worked or don’t work anymore. F11 is not detected at all. You can try to block F11 with an accelerator in Wisej.
You are using Wisej.HostService.exe for Wisej 1.5. See attachments. I switched it with the same exe for Wisej 2.2 and it works fine.
https://github.com/iceteagroup/wisej-extensions
Additionally, you can also use the Wisej.Application.exe (which is similar and better than Electron) to run the Wisej app as a desktop app. You have 4 flavors: IE, Edge, FireFox and Chrome. I have also attached a screenshot of the Wisej.Application.exe with Chrome running your test app. Since we give the source code, you can change the frame as much as you like. You can also change the first ajax loader icon but putting a file named either { “splash.png”, “splash.gif”, “splash.jpg” } in the root. You can add any winforms control to the frame as well. It’s a sort of hybrid app.
Hi Dino,
It’s a TabControl with a custom appearance.
You can play around with the ThemeBuilder to get a similar look (see attached screenshot using Material theme as the base).
Best,
Levie
Made an clean new Project. Same Error.
I have to make an huge mistake but i don`t get it.
Here is the ZIP: https://1drv.ms/u/s!AsqB_KRbtD0ajMpfIv317HE4VymH9w?e=dBHAju
Thanks for your help.
Hi Vincent,
this issue was logged as #2634 and is fixed in our latest Wisej release (2.2.47).
Best regards
Frank
No when i publish the App directly to an IIS its running and all is fine.
To deploy the App to the customer we plan to ship it wit the Exe and not deploy it on customers IIS (They currently don`t have one).
To test it before shipment i tooked the App copied all the files to an test client, added the Exe and gave it a try.
