Skip to content

Replies

0
Milko Venkov
Milko Venkov answered on Oct 24, 2017 6:44 AM

Hello Joseph,

Yes, you can set the size of the image in the button. To do so set the ImageSize property of the button to any value that fits your application’s logic and design. Note, that by design the size of the image is fixed to 18/18 pixels.

Attached is a small sample project where I am showing how you can set the image size. Please check my sample and let me know if this is what you are looking for or if I am missing something.

0
Milko Venkov
Milko Venkov answered on Oct 19, 2017 3:47 PM

Hi Shoaib,

Our developers had found a fix for this issue and have implemented it in our code. The item in our internal tracking system now is in awaiting tests state. This means that it should be tested now. As soon as the fix passes all the tests our quality engineers will perform on it, the fix will be included in our next bi-weekly build and I will be able to send you a link where you will be able to download the fix.

Looking at the version you are using it seems to me that your application is not Windows Forms one. Can you specify which of Infragistics products you are using, so I will know for what product you will need the fix.

One more thing. It seems that you are using version 2015 volume 1. This version is not supported for service release since March 2016, as you can see here. Therefore, please let me know for which supported version of Infragistics you will need the fix.

0
Milko Venkov
Milko Venkov answered on Oct 13, 2017 7:41 AM

Hi Shoaib,

I have escalated your issue in our internal tracking system to highest priority. As soon as we have a fix for this and the fix is confirmed by our quality engineers I will send you a link where you can download the fixed version of our controls. Regarding the workaround I do not have such now. If I came up with something I will get back to you.

In the meantime please let me know for which supported version of Infragistics you will need a fix.

Thank you for using Infragistics Components.

0
Milko Venkov
Milko Venkov answered on Oct 12, 2017 10:48 AM

Hello Shoaib,

I tried to load provided file and received same exception. I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 243990. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.

Please let me know if you need more information.

0
Milko Venkov
Milko Venkov answered on Oct 11, 2017 6:42 AM

Hello Shoaib,

Loading of Excel workbook containing VBA code is supported in Infragistics Excel Engine. To investigate this further I will need the file you are not able to load. Therefore, please send this file so I can look into this.

Looking forward to your reply.

0
Milko Venkov
Milko Venkov answered on Jun 9, 2017 9:34 AM

Hi Kim,

Thank you for your feedback.

In this case you should do the opposite. Get the column width and set the same width to your user control. You can achieve this by handling AfterColPosChanged event of the grid. Check if ColumnPosChandedType is Sized. If so check each changed column and if your Tai date column was changed set the width of your user control to match the new column width. You may use code like this:

private void UltraGrid_AfterColPosChanged(object sender, AfterColPosChangedEventArgs e)
{
    if(e.ColumnPosChangedType == PosChangedType.Sized)
    {
        foreach(var header in e.ColumnHeaders)
        {
            if(header.Caption == "Your Tai Date Column Caption")
            {
                yourCustomControl.Width = header.Column.Width;
            }
        }
    }
}
0
Milko Venkov
Milko Venkov answered on Jun 9, 2017 8:09 AM

Hi Kim,

I am glad to hear that you have resolved your issue.

Regarding your second issue, about fitting the custom editor in the column, you need to set the column width and the row height. In InitializeLayout event you can add code like this:

e.Layout.Override.DefaultRowHeight = yourCustomControl.Height;
e.Layout.Bands[0].Columns["Your Thai Date Column"].Width = yourCustomControl.Width;

Please let me know if you have any additional questions on this matter.