konto usunięte

Temat: Przesuwanie elementów Web Parts

Mam RadioButtonList w ktorym sa do wyboru tryb przegladania i tryb przesuwania.


Przeglądanie
Przesuwanie


Chce by za pomoca tych 2 opcji można przeglądać stronę lub przesuwać jej elementy.

Protected Sub RadioButtonList1_SelectedIndexChanged1(ByVal sender As Object, ByVal e As System.EventArgs)Handles RadioButtonList1.SelectedIndexChanged

Select Case RadioButtonList1.SelectedIndex
Case 0 : WebPartManager1.DisplayMode = WebPartManager.BrowseDisplayMode ' tutaj jest 1 opcja przegladanie strony

Case 1 : WebPartManager1.DisplayMode = WebPartManager.DesignDisplayMode ' 2 opcja przemieszczanie elementów (tutaj pokazuje mi błąd)

End Select
End Sub


Gdy przełącze na edycję wyświetla się błąd: {"The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user.
Parameter name: value"}