Linkbutton Left Click no longer working?

th3gman

Member
Joined
Nov 17, 2010
Messages
16
Programming Experience
Beginner
All... the following code with the <asp:Linkbutton> used to work fine... no, for reason I can't fathom... left clicking does nothing... yet I can right click the Delete link, Choose open.. and everything is good to go. Appreciate any help on this.. I'm stumped.

VB.NET:
<asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:teal_data %>" 
                    SelectCommand="SELECT [JobActionId], [ActionTitle], [sortField] FROM [pm_JobActions] WHERE [JobId] = @JobId ORDER BY [sortField]"
                    UpdateCommand="UPDATE [pm_JobActions] SET [ActionTitle] = @ActionTitle, [sortField] = @sortField WHERE [JobActionId] = @JobActionId" 
                    DeleteCommand="DELETE FROM [pm_JobActions] WHERE [JobActionId] = @JobActionId">
            <SelectParameters>
                <asp:ControlParameter ControlID="HiddenQPId" Name="JobId" PropertyName="Value" 
                    Type="Int32" />
             </SelectParameters>
             <UpdateParameters>
                <asp:Parameter Name="ActionTitle" Type="String" /> 
                <asp:Parameter Name="sortField" Type="Int32" />     
                <asp:Parameter Name="JobActionId" Type="Int32" />   
              </UpdateParameters>
              <DeleteParameters>
                <asp:Parameter Name="JobActionId" Type="Int32" />
              </DeleteParameters>
        </asp:SqlDataSource>
        
        <asp:ReorderList ID="ReorderList1" 
            runat="server" AllowReorder="True" 
            DataSourceID="SqlDataSource3" 
            PostBackOnReorder="false" 
            DataKeyField="JobActionId" 
            SortOrderField="sortField">
        <ItemTemplate>
        </ItemTemplate>
        <DragHandleTemplate>
           <div class="ReOrderListStyle390">
                 <asp:Label ID="ActionTitle" runat="server" Text='<% #Eval("ActionTitle") %>'></asp:Label>
                 [B]<asp:LinkButton ID="LinkButton3" runat="server" CommandName="Delete" Text="Delete" /> [/B]
                
                  <%--<asp:Label ID="SortOrder" runat="server" Text='<% #Eval("sortField") %>'></asp:Label>  --%>
            </div>
        </DragHandleTemplate>
        <ReorderTemplate>
            <div style="width: 200px; height: 20px; border: dotted 2px black;">
            
                 
            </div>
        </ReorderTemplate>
        </asp:ReorderList>
 
Back
Top