• λ我爱Aspx >> Asp.Net >> 一个oncommand的问题
  • 一个oncommand的问题

  • :aspxer  Դ:csdn  :2007-7-6 2:43:53  ؼ:com
  • 会不会是private的问题呀?

    第4楼. 由 truelove12 于 2007-6-27 23:50:33 发表

    你的定义中需要有__theAlphalink_ItemCommand这个方法

    第二,select方法不能是私有的,至少为protected

    <asp:Repeater ID="Repeater1" runat="server">

    <ItemTemplate>

    <div><%#CType(Container.DataItem, people).people%><asp:Button ID="btnTest" runat="server" Text="text" CommandName="Filter" CommandArgument="<%#CType(Container.DataItem, people).people%>" OnCommand="FilterItemCmd" /></div>

    </ItemTemplate>

    </asp:Repeater>

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    If Not IsPostBack Then

    Call run()

    End If

    End Sub

    Private Sub run()

    Repeater1.DataSource = createdatasource()

    Repeater1.DataBind()

    End Sub

    Private Function createdatasource() As System.Collections.Generic.List(Of people)

    Ҷƪл˵?
  • һƪ两个超小问题,请大家看看?
    һƪjavascript判断CheckBoxList必须选中一个