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
Dim
style
As
StyleDefinition = SelectedEditor.CurrentEditingStyle
Dim
fontWeight
As
TextStyle =
DirectCast
(style.GetPropertyValue(Span.FontStyleProperty), TextStyle)
btnFontBold.Checked = fontWeight = TextStyle.Bold
If
fontWeight = TextStyle.Bold
Then
btnFontBold.Checked =
True
ElseIf
fontWeight = TextStyle.Italic
Then
btnFontItalic.Checked =
True
End
If