This is a migrated thread and some comments may be shown as answers.

automatically collapsing groups?

3 Answers 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Robbie
Top achievements
Rank 1
Robbie asked on 27 Jul 2008, 09:31 PM

I have a gridview that is grouped by one field.  When a cell in a row is changed and the focus is moved to another row, the group where the updated row resides in automatically collapses and the user has to expand the group again. I haven’t got a clue why it collapses and how to stop it from collapsing.

Can u please help me?

Many tanx in advance!

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 28 Jul 2008, 01:44 PM
Hello Robbie,

Thank you for contacting us.

This issue has been addressed in our latest release Q2 2008. I would suggest you give it a try. We will highly appreciate any feedback you have.

Do not hesitate to write me if you have other questions.

Greetings,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Robbie
Top achievements
Rank 1
answered on 28 Jul 2008, 11:08 PM

Hi jack,
Thanks for the response. Unfortunately it is still happening in the Q2 2008 release :(
It even sometimes raises an exception (see below) when the user expands the group after it collapses.
I think it is related to the datasource of the radgridview:  a llblgen entity collection. See my other issue I have currently:
http://www.telerik.com/community/forums/thread/b311D-bkcdek.aspx

(I’m currently using the 2008 Q2 trial version)

System.Reflection.TargetInvocationException was unhandled
  Message="Het doel van een aanroep heeft een uitzondering veroorzaakt."
  Source="mscorlib"
  StackTrace:
       bij System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       bij System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       bij System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       bij System.Delegate.DynamicInvokeImpl(Object[] args)
       bij System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       bij System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       bij System.Threading.ExecutionContext.runTryCode(Object userData)
       bij System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bij System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       bij System.Windows.Forms.Control.InvokeMarshaledCallbacks()
       bij System.Windows.Forms.Control.WndProc(Message& m)
       bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bij System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.Run(Form mainForm)
       bij Bouwfonds.GEMS.GUI.WF.Program.StartUp() in D:\ICDN\Bouwfonds.Gems\Bouwfonds.GEMS.GUI.WF\Program.cs:regel 94
       bij Bouwfonds.GEMS.GUI.WF.Program.Main() in D:\ICDN\Bouwfonds.Gems\Bouwfonds.GEMS.GUI.WF\Program.cs:regel 65
       bij System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       bij System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       bij System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
       bij System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
       bij System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
       bij System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
       bij Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
       bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bij System.Threading.ThreadHelper.ThreadStart()
0
Jack
Telerik team
answered on 30 Jul 2008, 01:41 PM
Hi Robbie,

Thank you for getting back to me.

I could not reproduce this issue with local tests. Could you please send a sample application that reproduces the issue, this will help us locate it and address the issue faster.

Thank you in advance for your cooperation.

Kind regards,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Robbie
Top achievements
Rank 1
Answers by
Jack
Telerik team
Robbie
Top achievements
Rank 1
Share this question
or