Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Ultra Grid (with embedded UltraDateTimeEditor) does not firing AfterDropDown event of embedded UltraDateTimeEditor
posted

Hello All,

I am having one wrapper class on UltraDateTimeEditor say CustomUltraDateTimeEditor 

e.g. -

public partial class CustomUltraDateTimeEditor : UltraDateTimeEditor
{
#region Datamebers

private DateTime? oldDateValue;
private string messageTitle = string.Empty;
private string timeZone;

#endregion

#region Constructor

/// <summary>
/// Initializes a new instance of the <see cref="AMUltraDateTimeEditor"/> class.
/// </summary>
public CustomUltraDateTimeEditor ()
{
this.InitializeComponent();
this.FormatString = AMOPEnvironmentProfile.GetDateEntryFormat();
this.BeforeEnterEditMode += this.CustomUltraDateTimeEditorBeforeEnterEditMode;
this.BeforeExitEditMode += this.CustomUltraDateTimeEditorBeforeExitEditMode;
this.AfterDropDown += this.CustomUltraDateTimeEditorAfterDropDown;
this.Enter += this.AmUltraDateTimeEditorEnter;
}

....


This control I have embedded into one of Ultragrid's column. 

e.g.

 col.EditorComponent = new CustomUltraDateTimeEditor{};

Now Whenever I click on cell containing CustomUltraDateTimeEditor control, I need to call AfterDropDown event of that. but in current situation its not happening.

As I need a CustomUltraDateTimeEditor controls IsHandleCreated property as true, for overriding current system time of control. (For supporting multitimezone)



Parents
No Data
Reply Children
No Data