Tema: Control ascx
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/09/2012, 08:08
Alfilxdama
 
Fecha de Ingreso: enero-2002
Mensajes: 136
Antigüedad: 22 años, 2 meses
Puntos: 1
Respuesta: Control ascx

Te paso un script de ejemplo, fíjate como definir el control y como tomar sus valores:

cmNote.aspx
<%@ Register Src="cmNote_1.ascx" TagName="cmNote_1" TagPrefix="uc1" %>

cmNote.aspx.cs
Note_1_1.w_Section = un valor dado;

cmNote_1.ascx.cs
public string w_Section
{
get
{
return Section;
}
set
{
Section = value;
}
}

Saludos