I have an issue where if I use the MediaManager to link in a wmv file to the RadEditor it hangs IE6 on the following Reponse.Redirect.
On the Button_Click event I am calling a method to save to the database.
Which calls the method in the code behind.
Protected Sub SubmitButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles SubmitButton.Click
Private Sub CreateNewArticle()
Dim newArtID As Int32 = 0
Dim body As String = String.Empty
Dim art As Article = Nothing
Dim artBody As ArticleDetail = Nothing
'create the new article
art = Article.CreateArticle(-1,
System.Web.HttpContext.Current.User.Identity.Name.Remove(0, InStr(System.Web.HttpContext.Current.User.Identity.Name, "\")).Replace(".", " ").ToUpper,
art.UpdatedDate = Date.Now
If articlebody.Content.Contains("<img") Then
art.ThumbnailImage = Mid(articlebody.Content, InStr(articlebody.Content, "src=") + 5, InStr(InStr(articlebody.Content, "src=") + 5, articlebody.Content, "/>") - (InStr(articlebody.Content, "src=") + 5)).Replace(Chr(34), "").TrimEnd
art.ThumbnailImage = "~/Content/Images/JCBLogo.png"
'create the article detail
artBody = ArticleDetail.CreateArticleDetail(-1, -1, articlebody.Content.Replace(" ", " "))
'save to the db
Using insertContext As New JCB_IntranetEntities
newArtID = art.ArticleID
Catch ex As Exception
If articlebody.Content IsNot Nothing Then
articlebody.Content = Nothing
If artBody IsNot Nothing Then artBody = Nothing
If art IsNot Nothing Then art = Nothing
'If the save worked then redirect to the article
If newArtID > 0 Then
The data saves correctly but hangs on the Response.Redirect at the bottom of the method. I have checked the Page Load in the called page and the code runs through as expected. I did check to see if it was a problem with the target page by changing the redirect to www.google.com and experienced the same behaviour.
This only seems to happen if I embed a video into the editor, if I use just text & images the save and redirect works without issue. I have also confirmed that it works in Firefox & IE7/8.
Any thoughts you have would be welcome.