The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I use the gridgroupingcontrol as a datalist where use can select, sort, order records. After doubleclicking the record the app opens a new window.
the events I use or:
- TableControlCurrentCellActivating
=> show full selection line ( e.Inner.ColIndex = 0
- TableControlCellClick
- TableControlCellDoubleClick
(damn message textbox)
Hi,
I use the gridgroupingcontrol as a datalist where use can select, sort, order records. After doubleclicking the record the app opens a new window.
the events I use or:
- TableControlCurrentCellActivating
=> show full selection line ( e.Inner.ColIndex = 0)
- TableControlCellClick
=> grab the current displayed datarow
- TableControlCellDoubleClick
=> open other window and close current
I keep getting NullReference exception(s) when the code exits the TableControlCellDoubleClick handler. I think the refresh method is called by the control itself and doesn''t know that is doesn''t exist anymore.
Any solution or work around would be great !
ADAdministrator Syncfusion Team January 21, 2005 12:12 PM UTC
Hi Krijn,
make sure you set e.Inner.Cancel = true.
If that still gives problems close the form using a timer as follows:
{
System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();
t.Tick += new EventHandler(t_Tick);
t.Interval = 20;
t.Start();
}
private void t_Tick(object sender, EventArgs e)
{
System.Windows.Forms.Timer t = (System.Windows.Forms.Timer) sender;
t.Tick -= new EventHandler(t_Tick);
t.Dispose();
myform.Close();
}
Stefan
>(damn message textbox)
>
>Hi,
>
>I use the gridgroupingcontrol as a datalist where use can select, sort, order records. After doubleclicking the record the app opens a new window.
>the events I use or:
>- TableControlCurrentCellActivating
>=> show full selection line ( e.Inner.ColIndex = 0)
>- TableControlCellClick
>=> grab the current displayed datarow
>- TableControlCellDoubleClick
>=> open other window and close current
>
>I keep getting NullReference exception(s) when the code exits the TableControlCellDoubleClick handler. I think the refresh method is called by the control itself and doesn''t know that is doesn''t exist anymore.
>
>Any solution or work around would be great !
>