All Answers

0 votes

Hi Jingzhou

if you want to have it fired every time, you need to attach to a keyboard event of the textbox as well.

Best regards
Frank

  • Frank (ITG) answered Nov 6, 2024 - 12:02 pm
  • last active Nov 6, 2024 - 12:14 pm
0 votes

Not yet But I need more basic general perfectly working chrono model oh which I will have total control, than just some chat interface.

  • mgmst answered Nov 5, 2024 - 5:41 pm
0 votes
0 votes

Hi Chad,

For the cell there is no hovered state since it’s handled in javascript and the cells are not widgets, they are plain html.
You can use simple css but SVG images by default don’t support recoloring.

The easiest way is to set the cell content to HTML and use standard css, etc.

Best regards
Frank

0 votes

Now to your question:

The content of the listview and the datagridview are not standard widgets since they are fully virtual and are rendered dynamically as html while scrolling. Each cell and row has a renderer javascript class which supports only certain states, styles and properties.

When the ListView is in item mode, you can set the states on the item or the item/icon like this

  1. Remove the listview/properties/iconColor (this is the default color and cannot be overridden by the theme)
  2. Set the item/icon/default/properties/textColor and item/icon/hovered/properties/textColor
"icon": {
                            "states": {
                                "default": {
                                    "properties": {
                                        "scale": true,
                                        "marginRight": 5,
                                        "textColor": "iconDark"
                                    },
                                    "styles": {
                                    }
                                },
                                "hovered": {
                                    "styles": {
                                    },
                                    "properties": {
                                        "textColor": "red"
                                    }
                                }
                            }
                        }

 

When the listview is in details mode it’s a different thing since the inner part are not widgets.

Best regards
Frank

0 votes

Hi Chad,

sorry for the late reply, bit please let me answer your Side Note first:

Side Note: Is there documentation anywhere that gives the full set of “valid” properties and sub properties.  I’m using the wiseJ theme builder which seems to give a list of properties – but then i’ve found cases where i can add new properties not in the selectable drop downs examples that “take”.

There is no full set of valid properties since any widget can make any property themeable. It’s not limited to CSS styles, which are set in the styles section.
The properties suggested in the theme builder are the common properties documented in the docs. The only way is to look at the themeable properties in the public javascript code in wisej-js and wisej-qx.

Best regards
Frank

0 votes

Hi Enrico,

thanks! We are checking that issue and are working on a fix.
I’ll keep you updated.

Best regards
Frank

0 votes

Yes Frank

Dim bd2 As New BindingSource(tbtip.DataSet.Tables(0))
ListViewComboBox1.Columns.Clear()
ListViewComboBox1.Columns.Add(“Tipo”)
ListViewComboBox1.Columns.Add(“Descrizione”)
ListViewComboBox1.Columns(0).DisplayPropertyName = “Tipo_Cam”
ListViewComboBox1.Columns(1).DisplayPropertyName = “Descrizione”
ListViewComboBox1.Columns(1).Width = 120
ListViewComboBox1.Columns(1).AutoResize(ColumnHeaderAutoResizeStyle.HeaderAndColumnContent)
ListViewComboBox1.DisplayMember = “Descrizione”
ListViewComboBox1.DataMember = “Tipo_Cam”
ListViewComboBox1.DataSource = bd2

 

you can see into the attachment that on the event during an debug

the SelectedValue (esito2.jpg) is nothing and the SelecteditemTex (esito1.jpg) is with a real value.

Thank You

  • Enrico Biccheri answered Oct 29, 2024 - 1:53 pm
  • last active Oct 29, 2024 - 2:13 pm
0 votes

Hi Francesco,

You’ll need to define a method first, like the following example:

private void OnDownloaded(string obj)
{
AlertBox.Show("Download Finished");
}

Then, all you have to do is to call it in Application.Download like this:

Application.Download("file_path", ondownload: OnDownloaded);

Best Regards,
Alaa

0 votes

Hi Enrico,

can you please put together a small test case that shows how you are using the ListViewComboBox?

Best regards
Frank

0 votes

Hi Jingzhou Liu,

theming a complete DataGridView through mixins is not supported since it’s a very complex object that consists of many components that each have their own appearances.

Best regards
Frank

0 votes

Hi Francesco,

if switching to 64 bit does not work for you, you can also use 32 bit, downgrade to Wisej.NET 3.5.11 and wait for Wisej.NET 3.5.13.

Best regards
Frank

0 votes

And now it’s giving a real error, it’s a disaster!

(Sorry, but is Italian)

 

Non è stato possibile caricare il file o l’assembly ‘Dedottoweb’ o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.

Descrizione: Eccezione non gestita durante l’esecuzione della richiesta Web corrente. Per ulteriori informazioni sull’errore e sul suo punto di origine nel codice, vedere la traccia dello stack.

Dettagli eccezione: System.BadImageFormatException: Non è stato possibile caricare il file o l’assembly ‘Dedottoweb’ o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.

Errore nel codice sorgente:

Durante l'esecuzione della richiesta Web corrente è stata generata un'eccezione non gestita. Per informazioni sull'origine e la posizione dell'eccezione, vedere la traccia dello stack dell'eccezione riportata di seguito.


Traccia del caricamento dell’assembly: Le informazioni che seguono possono aiutare a stabilire perché non è stato possibile caricare l’assembly ‘Dedottoweb’.

=== Informazioni sullo stato di preassociazione ===
REG: DisplayName = Dedottoweb
 (Partial)
AVV: informazioni di associazione parziali specificate per un assembly:
AVV: nome assembly: Dedottoweb | ID dominio: 2
AVV: un'associazione parziale si verifica quando viene specificata solo una parte del nome visualizzato dell'assembly.
AVV: ciò potrebbe determinare il caricamento di un assembly non corretto da parte del gestore di associazione.
AVV: è consigliabile specificare un'identità testuale completa per l'assembly,
AVV: costituita dal nome semplice, dalla versione, dalle impostazioni cultura e dal token di chiave pubblica.
AVV: per ulteriori informazioni e soluzioni comuni relative a questo problema, vedere il white paper http://go.microsoft.com/fwlink/?LinkId=109270.
REG: Appbase = file:///D:/DOTNET2019/Dedottoweb/
REG: PrivatePath iniziale = D:\DOTNET2019\Dedottoweb\bin
Assembly chiamante: (Unknown).
===
REG: l'associazione ha origine nel contesto di caricamento di default.
REG: utilizzo del file di configurazione dell'applicazione: D:\DOTNET2019\Dedottoweb\web.config
REG: utilizzo del file di configurazione host: C:\Users\Utente\Documents\IISExpress\config\aspnet.config
REG: utilizzo del file di configurazione computer da C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: i criteri non sono attualmente applicati al riferimento (binding di assembly privati, personalizzati, parziali o basati su percorsi).
REG: tentativo di download del nuovo URL file:///C:/Users/Utente/AppData/Local/Temp/Temporary ASP.NET Files/vs/30c29f24/3c6ccc8e/Dedottoweb.DLL.
REG: tentativo di download del nuovo URL file:///C:/Users/Utente/AppData/Local/Temp/Temporary ASP.NET Files/vs/30c29f24/3c6ccc8e/Dedottoweb/Dedottoweb.DLL.
REG: tentativo di download del nuovo URL file:///D:/DOTNET2019/Dedottoweb/bin/Dedottoweb.DLL.
ERR: non è stato possibile completare l'installazione dell'assembly (hr = 0x8007000b). Il sondaggio è stato terminato.


Traccia dello stack:

[BadImageFormatException: Non è stato possibile caricare il file o l'assembly 'Dedottoweb' o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +37
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +159
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +80
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +22
   System.Reflection.Assembly.Load(String assemblyString) +29
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +39

[ConfigurationErrorsException: Non è stato possibile caricare il file o l'assembly 'Dedottoweb' o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +777
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +229
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +140
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +176
   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +99
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +310
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +165
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +590

[HttpException (0x80004005): Non è stato possibile caricare il file o l'assembly 'Dedottoweb' o una delle relative dipendenze. Tentativo di caricare un programma con un formato non corretto.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10078388
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263

 

0 votes

If I compile to 64 bit it doesn’t give an error but it doesn’t start, it just comes out with a blank page.

0 votes

Hi Francesco,

this error currently occurs when you’re running IIS Express in 32 bit mode.
You can avoid it by running in 64 bit mode (see Visual Studio Options – Projects and Solutions – Web Projects.
This issue will be fixed in our next release (3.5.13).

Best regards
Frank

0 votes

Hi Mario,

Traffic Layers are currently not supported by our Google Maps extension. We might add it in the future so I created an enhancement request for this.

Best regards
Frank

0 votes

Hi Drewes,

you might have tried out a PWA Wisej application. Check if you still have any service workers installed as described here:
https://www.codementor.io/@himank/how-to-unregister-service-workers-n8mzf5jce
Or clearing the Chrome Cache should also eliminate this issue.

Best regards
Frank

0 votes
In reply to: using camera

Hi Adrian,

To use the camera extension outside the local debugging environment the app needs to be in HTTPS.

You can’t use the Camera extension using regular old HTTP!

Best Regards,
Alaa

0 votes

i find the solution in c#

 

dynamic markerOptions = new
{
position = new { lat, lon }, // Ejemplo: Ciudad de México
map = wsj__Map,
icon = new
{
url = “https://e7.pngegg.com/pngimages/912/661/png-clipart-computer-icons-location-location-icon-map-location-icon-miscellaneous-desktop-wallpaper-thumbnail.png”, // URL de la imagen del ícono
scaledSize = new { width = 10, height = 10 }, // Tamaño del ícono
origin = new { x = 0, y = 0 }, // Punto de origen
anchor = new { x = 25, y = 50 } // Punto de anclaje
}
};

this.wsj__Map.AddMarker(“Test”, lat, lon, markerOptions, true);

0 votes

Hi Nhan,

You can attach to the CellFormatting event and do the following:

private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (e.ColumnIndex == 2) {

e.CellStyle.CssStyle = “border-width:0px!important”;
}
}

Best Regards,
Alaa

Showing 301 - 320 of 11k results