Eliminar pestañas mediante programación Dotnetnuke

I am trying to delete tabs Programmatically using these statements, but it is not deleting from the database:

controller.DeleteTab(tab.TabID, DNN.GetPMB(Me).PortalId)

preguntado el 08 de enero de 11 a las 22:01

Lo que happen? Further more, what is your pregunta? -

1 Respuestas

TabController.DeleteTab will delete a tab if it is not the parent of another tab. This method results in a physical deletion, the tab is not simply marked as deleted.

Respondido el 10 de enero de 11 a las 20:01

Parece que la DeleteTab method off of TabController llama al DeleteTab stored procedure, which actually does delete the tab from the database, rather than setting the IsDeleted flag. Looks like the parent/child issue is the culprit (didn't know about that one, thanks!) - bdukes

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.