HI,
When the data is loading directly on form load, Sorting and Filtering is functioning well. When it's through threading, sorting and filtering options not working.
VB.Net | Sql Server
Telerik Winforms
01.
Dim
thread_Data
As
Thread
02.
Private
Sub
RadFrmFupReport_Load(sender
As
Object
, e
As
EventArgs)
Handles
Me
.Load
03.
RadFrmFupReport.CheckForIllegalCrossThreadCalls =
False
04.
Thread.CurrentThread.CurrentCulture =
New
Globalization.CultureInfo(
"en-US"
,
False
)
05.
thread_Data =
New
Thread(
AddressOf
LoadData)
06.
thread_Data.Start()
07.
End
Sub
08.
09.
Private
Sub
LoadData()
10.
Ta_Dt_Fup.Fill(
Me
.DS_Genius.dt_FUP)
11.
Vw_FUP_GroupTableAdapter.Fill(
Me
.DS_Genius.vw_FUP_Group)
12.
radGrdFup.DataSource = DS_Genius.vw_FUP_Group
13.
End
Sub
If "LoadData" function called directly in form load event, taking 4-5 seconds to load the form. So used thread.
Please help. Thanks in advance
Arun