All Answers

0 votes

Hi Angelo,

the interop is just like a kind of interface. To make it working on your server, you must install office.

But I think there could be a licence issue, when you install and use office on a webserver.

To answer you question: Yes it is possible with Wisej (see your local machine tests), but not recommended on a WebServer, because of possible licence issues.

Best,

Jens

0 votes

Hi Ewan,

you can query the value like this.

var value = this.dataGridView1.Rows[1].Cells[0].Value;

Hope that helps.

Best regards
Frank

0 votes

Hi Frank

Thanks that works, however what’s the best way of returning the selected value back to the underlying DGV Cell?

Ewan

0 votes

Hi Johann,

one approach could be the usage of Lazy Loading panels with forms inside.
See here: https://wisej.com/support/question/lazy-loading-panel

Further you could wait for a new extension that will be published soon.
It adds the DataRepeater control to Wisej that some might already know from WinForms.

Hope that helps.

Best regards
Frank

0 votes

Hi Frank

Thanks for the update.

My name is Ken. I logged the support request but our company account was created for Meagon, our admin resource, hence the name change.

I have changed our account profile to show my name so their is no confusion around identity 🙂

 

0 votes

Hi Edmond,

can you try to remove the tooltip from the button and check if this issue still exists?

Can you check, if you have the same version of Wisej Client sources like you’ve on the server (see attached image, there you can check which client side version your Wisej has).

Best,

Jens

5 votes

Drop a Wisej.Web.Widget on a page, size it big enough, then click on the InitScript and use this:

 

this.init = function(options) {

    var script = document.createElement("script");
    script.src = "https://telegram.org/js/telegram-widget.js?5";
    script.setAttribute("data-telegram-post", "telegram/83");
    script.setAttribute("data-width", "100%");
    script.setAttribute("data-userpic", "true");
    this.container.appendChild(script);
    
}

You can't use the string you posted because browser do not execute scripts added after the page is loaded.
  • Luca answered Jan 30, 2019 - 4:41 am
2 votes

You will not see WebSocket requests in there. You can catch only the first request that switches to web socket, then you can select it and see the frames. You need to refresh after opening the network tab in chrome dev tools. See attached.

 

  • Luca answered Jan 30, 2019 - 4:12 am
0 votes

Any IWisejComponent will work. All it needs is a reference to find the session and it will flush all the updates on all components back to the client.

You can also save the application instance Application.Current and use that reference when calling Application.Update(component);

  • Luca answered Jan 30, 2019 - 4:10 am
0 votes

Try this: http://demo.wisej.com/uploadfiles

The code is here: https://github.com/iceteagroup/wisej-examples/tree/1.5/UploadFiles

If you have a hidden upload button and try to trigger it by using javascript the browser will block it. Check if you have javascript errors. Otherwise you may a chrome extension installed that blocks the upload control.

 

  • Luca answered Jan 30, 2019 - 4:08 am
0 votes

Hi Andrew,

thanks for reporting this. You can use the following workaround to temporarily fix it:

<style>
.cke_reset_all {
position: relative !important;
z-index: 10000;
}
</style>

It´s logged as #1778 and will be fixed in the next Wisej release.

Best regards
Frank

0 votes

Hi Ewan,

here is the sample that shows how to add a custom column with a custom cell:

customcolumn

customcolumn_code

Download here:

http://wisej.s3.amazonaws.com/support/attachments/Wisej.DGVCustomControlColumn.zip

Best regards
Frank

0 votes
In reply to: Bubble extension issue

Hi Matthew,

thanks. We could reproduce and fixed in the extension.
Please update from GitHub.

Best regards
Frank

0 votes

Hi Meagon,

thanks for reporting this.
We logged this issue as #1777 and will inform you when a fix is available.

Best regards
Frank

0 votes

The CellFormatting event is the wrong place. It can be fired hundreds of times when rendering the grid, editing, etc. You can end up re-creating the cell control multiple times while the grid is getting the data from the server.

We’ll upload a sample for a custom control column shortly.

  • Luca answered Jan 29, 2019 - 3:45 pm
0 votes

Keep getting the attached error.

The Grid does not want to display custom cells, but will do if the size of the grid is modified.

Editing a Date cell causes all the existing custom cells to go blank

Clicking on the header Row to save changes causes DGV to redisplay Properly

0 votes

Edmond,

I have tried to reproduce this in a test case but failed so far.
Any chance to strip down your code and wrap up a test app for us ?

Best regards
Frank

0 votes

This Code works but it is unstable. The Grid Keeps hiding the user controls.

How do I get the Added user controls to inherit the grid back ground colour?

  private void dgvOfficeStaff_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{

if (dgvOfficeStaff[e.ColumnIndex, e.RowIndex] is DataGridViewDateTimePickerCell)
{
((DataGridViewDateTimePickerCell)dgvOfficeStaff[e.ColumnIndex, e.RowIndex]).Format = DateTimePickerFormat.Short;
}
else
{
dgvOfficeStaff[e.ColumnIndex, e.RowIndex].Control = new MultiColumnComboBox();
dgvOfficeStaff[e.ColumnIndex, e.RowIndex].Control.Dock = DockStyle.Fill;
((MultiColumnComboBox)dgvOfficeStaff[e.ColumnIndex, e.RowIndex].Control).BorderStyle = Wisej.Web.BorderStyle.None;

    string strQuery = “Select EmpNo, Forename + ‘ ‘ + Surname as Name, Job, SiteName, Case when DOL = ‘3000-01-01’ then ” else Convert(Varchar(10), DOL, 101) End As DOL, Surname  “;
strQuery += “from Employees E Inner Join Orgchart O on O.CC = E.CC “;
strQuery += “where JobRoleID in (1,2,4,7,10,12) “; // and O.CC = ” + strCC + ” “;
strQuery += “union select ”, ‘Vacant’, ”, ”, ” ,” order by SiteName, Surname”;
mcc_fill((MultiColumnComboBox)dgvOfficeStaff[e.ColumnIndex, e.RowIndex].Control, strQuery);
((MultiColumnComboBox)dgvOfficeStaff[e.ColumnIndex, e.RowIndex].Control).BoundValue = dgvOfficeStaff[e.ColumnIndex, e.RowIndex].Value;
}
}
0 votes

Its also appearing in another odd place now – see new screenshot.

 

0 votes

Sorry, I see this property is available to be set at runtime, but not designtime.

Showing 6341 - 6360 of 11k results