G
Garry
Hi,
I am using reflection to load strong name custom webcontrols from the
GAC. Control names are fed from a database to dynamically render
webcontrol to build a complete page. I have a composite control that
contains a datagrid among other things. Loading and sorting works
perfectly. I have also created another control that loads the first
control. As soon as this occurs I loose sorting.
I load and create and instance using these routines:
System.Reflection.Assembly.LoadWithPartialName
Activator.CreateInstance
#1 Sorting Works:
ASPX
|- Load custom webcontrol "a" which contains a datagrid
#2 Sorting Doesn't Work:
ASPX
|- Load custom webcontrol "b"
|- which loads custom webcontrol "a" with the datagrid
Basically the sorting event is not fired in scenario #2. I have no
idea why.
Anybody have any suggestions?
Thanks,
Garry McGillivary
I am using reflection to load strong name custom webcontrols from the
GAC. Control names are fed from a database to dynamically render
webcontrol to build a complete page. I have a composite control that
contains a datagrid among other things. Loading and sorting works
perfectly. I have also created another control that loads the first
control. As soon as this occurs I loose sorting.
I load and create and instance using these routines:
System.Reflection.Assembly.LoadWithPartialName
Activator.CreateInstance
#1 Sorting Works:
ASPX
|- Load custom webcontrol "a" which contains a datagrid
#2 Sorting Doesn't Work:
ASPX
|- Load custom webcontrol "b"
|- which loads custom webcontrol "a" with the datagrid
Basically the sorting event is not fired in scenario #2. I have no
idea why.
Anybody have any suggestions?
Thanks,
Garry McGillivary