or
<
Scrolling
SaveScrollPosition
=
"true"
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
.rgDataDiv {
position
:
relative
!important
; }
as i noticed the parent scrollable control is a div with the class i mentioned before...and still the same problem within IE7.
I attach the grid control definition :
<
telerik:RadGrid
ID
=
"gridCases"
runat
=
"server"
AllowPaging
=
"true"
AllowCustomPaging
=
"false"
PageSize
=
"30"
Width
=
"894px"
EnableAjaxSkinRendering
=
"true"
GridLines
=
"None"
Height
=
"455"
AllowSorting
=
"true"
style
=
"border-left-style:none !important; border-right-style:none !important; position:relative;"
>
I attach also the FilterTempalte part of the slider:
<
div
style
=
"float:left; padding: 5px 7px 0 0;"
>$0</
div
>
<
div
style
=
"float:left;"
>
<
telerik:RadSlider
runat
=
"server"
ID
=
"RadSlider1"
IsSelectionRangeEnabled
=
"true"
MinimumValue
=
"0"
MaximumValue
=
"1010"
SmallChange
=
"5"
ShowDecreaseHandle
=
"false"
ShowIncreaseHandle
=
"false"
Width
=
"120px"
SelectionStart='<%# startSlider %>'
SelectionEnd='<%# endSlider %>' OnClientValueChanged="ClientValueChange" OnClientSlideStart="ClientSlideStart"
OnClientSlideEnd="FreightRangeChanged" />
</
div
>
<
div
style
=
"float: left; padding: 5px 0 0 7px"
>$1000</
div
>
<
div
style
=
"clear: both"
>
<
asp:Literal
ID
=
"Literal1"
runat
=
"server"
Text='<%# "Showing: $" & startSlider & " to $" & endSlider %>' />
</
div
>
<asp:Button runat="server" ID="SubmitButton" Text="Submit For Approval" CausesValidation="true" OnClick="SubmitButton_Click" OnClientClick="javascript:window.scrollTo(0,0);" />
Protected Sub SubmitButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles SubmitButton.ClickThe 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.
CreateNewArticle()
End Sub
Private Sub CreateNewArticle()
Dim newArtID As Int32 = 0
Dim body As String = String.Empty
Dim art As Article = Nothing
Dim artBody As ArticleDetail = Nothing
Try
'create the new article
art = Article.CreateArticle(-1,
articletitle.Text,
articlesummary.Text,
False,
Date.Now,
System.Web.HttpContext.Current.User.Identity.Name.Remove(0, InStr(System.Web.HttpContext.Current.User.Identity.Name, "\")).Replace(".", " ").ToUpper,
GetVisibiliy)
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
Else
art.ThumbnailImage = "~/Content/Images/JCBLogo.png"
End If
'create the article detail
artBody = ArticleDetail.CreateArticleDetail(-1, -1, articlebody.Content.Replace(" ", " "))
'save to the db
Using insertContext As New JCB_IntranetEntities
insertContext.AddToArticles(art)
insertContext.AddToArticleDetails(artBody)
insertContext.SaveChanges()
End Using
newArtID = art.ArticleID
Catch ex As Exception
ErrorLogging.AddNewErrorLogEvent(ex)
Throw
Finally
If articlebody.Content IsNot Nothing Then
articlebody.Content = Nothing
articlebody.Dispose()
End If
If artBody IsNot Nothing Then artBody = Nothing
If art IsNot Nothing Then art = Nothing
End Try
'If the save worked then redirect to the article
If newArtID > 0 Then
Response.Redirect(String.Format("~/Articles/Article.aspx?ArticleID={0}", newArtID))
End If
End Sub