Änderungen Implementierung Fehlernummern-System in jeder Seite
This commit is contained in:
@@ -7,6 +7,7 @@ Partial Class DownloadsJulius
|
||||
|
||||
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
If Not IsPostBack Then
|
||||
Page.MaintainScrollPositionOnPostBack = True
|
||||
Dim filePaths As String() = Directory.GetFiles(Server.MapPath("~/downloads/"))
|
||||
Dim files As New List(Of ListItem)()
|
||||
|
||||
@@ -15,6 +16,8 @@ Partial Class DownloadsJulius
|
||||
Next
|
||||
GridView1.DataSource = files
|
||||
GridView1.DataBind()
|
||||
Else
|
||||
Page.MaintainScrollPositionOnPostBack = False
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user