If I set the Datasource in the Page_Laod event the paging does'nt work if the page mode is set to slider (see code) - in other modes it works:
Protected
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack = False Then
SPCommand = db.GetStoredProcCommand(
"SEARCH_NET_Wogehmahin")
db.AddParameter(SPCommand,
"ReturnValue", DbType.Int32, 0, ParameterDirection.ReturnValue, False, 0, 0, "", DataRowVersion.Default, Nothing)
db.AddInParameter(SPCommand,
"Suchbegriff", DbType.AnsiString, Request("Suchbegriff"))
Using dataReader As DataSet = db.ExecuteDataSet(SPCommand)
RadListView1.DataSource = dataReader
RadListView1.DataBind()
End Using
End If
End Sub