¿Cómo redirigir a otra Vista (UserControl '.ascx') en DotnetNuke?
Soy nuevo en DotnetNuke. No sé toda la terminología de DotnetNuke. Por favor corrigeme. Eso me ayudará a mejorar.
He creado un proyecto simple con 2 UserControl. 1- View.ascx, 2- ModuleInfo.ascx
1- View.ascx: contiene un botón. Quiero redirigirlo a otro Control de usuarioModuleInfo.ascx
Aquí está el código.
protected void btn1_Click(object sender, EventArgs e)
{
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL("ModuleInfo"), true);
}
2- ModuleInfo.ascx Contiene tabla estática.
Cómo agregué el Módulo a DotnetNuke:
1- Add .zip file of build project to Admin --> Extension
2- Edit Module from Host --> Extension --> Edit Module --> Edit Definition --> Add Module Control --> Added key "ModuleInfo" and selected view.
3- Created new page and added module to it.
Cuando se carga la página, View.aspx está bien. Hay un botón Pero cuando hago clic en el botón, redirigirá a alguna página pero está en blanco. Debería mostrar la tabla.
¿Alguien puede sugerirme si me falta algo aquí?