Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ItemCommand and dodefault (vfp)
Message
De
25/02/2003 11:03:15
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
ItemCommand and dodefault (vfp)
Divers
Thread ID:
00757579
Message ID:
00757579
Vues:
46
Hello!

I've one question is there a way I can tell my app to run the basic code and not my written code?
for example:
    Private Sub myGrid_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles myGrid.ItemCommand
        If e.CommandName = "gridSelect" Then
            Me.TextBox1.Text = e.Item.Cells(1).Text
            Me.TextBox2.Text = e.Item.Cells(2).Text
            Me.myCombo.SelectedItem.Text = e.Item.Cells(3).Text
            Me.TextBox3.Text = e.Item.Cells(4).Text
            Me.Textbox4.Text = e.Item.Cells(5).Text
            Me.RadioButtonList1.Items.Item(1).Selected = True
        End If
    End Sub
in this case I've added a Linkbutton to a datagrid (commandname="gridselect"). Later I've added Paging to the datagrid.

my problem is now that the paging letters (1,2,...) do not response to my clicks. But when I remove my code (see above) everything works fine. Therefore I think that I should write an ELSE-part with sort of Dodefault() as it's called in VFP.

Thanks for your help!
robert.oh.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform