Me.RadGridView1.TableElement.ScrollTo(0, 0)
I hate spending hours on something that is probably very easy ! It must be something I am doing to clear the Grid and repopulate it.. but haven't managed to find it!.
Any hints / thoughts?
Thanks
Rob
GridViewComboBoxColumn MemberColumn = new GridViewComboBoxColumn(); MemberColumn.Name = "MemberColumn"; MemberColumn.HeaderText = "Member"; MemberColumn.DataSource = ctx.Members; MemberColumn.ValueMember = "MemberID"; MemberColumn.DisplayMember = "MemberName"; MemberColumn.FieldName = "MemberID"; this.ResultGridView.Columns.Add(MemberColumn);
| private ArrayList GetItems() |
| { |
| ArrayList retVal = new ArrayList(); |
| for(int i = 0; i < listBoxLanguages.Items.Count; i++) |
| { |
| if(listBoxLanguages.GetSelected(i) == true) |
| retVal.Add(i); |
| } |
| return retVal; |
| } |


,"App Excep: System.Web.HttpException: An error occurred while communicating with the remote host. The error code is 0x80070001. ---> System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001)
--- End of inner exception stack trace ---
at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size)
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_Item(String key)
at Telerik.Web.UI.RadCompression.IsAjaxRequest()
at Telerik.Web.UI.RadCompression.Compress(HttpApplication application)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Monday, November 19, 2012 at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size)
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_Item(String key)
at Telerik.Web.UI.RadCompression.IsAjaxRequest()
at Telerik.Web.UI.RadCompression.Compress(HttpApplication application)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Void RaiseCommunicationError(Int32, Boolean)System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001)",2012-11-19 19:45:51.227