ho un custom control
codice:
Protected Overrides Sub OnInit(ByVal e As EventArgs)
'Protected Overrides Sub CreateChildControls()
qua si leggono i dati dal db e li si scrive sotto forma di checkbox list!
End Sub
Overridable Sub RaisePostBackEvent(ByVal eventArgument As String) Implements IPostBackEventHandler.RaisePostBackEvent
ke l'ho messa a fare questa sub?
End Sub
Sub cmdInvia_Click(ByVal sender As Object, ByVal e As System.EventArgs)
qui si scrive sul db
End Sub
Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter)
MyBase.Render(output)
End Sub
a parte ke non so mai se mettere OnInit o CreateChildControls, ora al clik su cmdInvia registra i dati nel db ma non aggiorna la pagina
io sto diventando scemo!
qualcuno ha un esempio funzionante
buon natale!