Last post Mar 11, 2021 06:11 AM by yij sun
Mar 01, 2021 08:47 PM|peterthegreat|LINK
discovered.So is there another alternative method?
<asp:LinkButton ID="LinkButton1" OnClientClick="updateParameter2(this);return false;" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.MessageID")%>' CommandName="Messages" runat="server"><%#DataBinder.Eval(Container,"DataItem.Subject")%></asp:LinkButton>
Mar 02, 2021 01:31 AM|SurferOnWww|LINK
I currently have a Linkbutton that posts back to server both CommandName and Argument values.
This is "ASP.NET Core" forum. You are talking about the LinkButton server control of ASP.NET Web Forms which is not supported by ASP.NET Core.
Mar 03, 2021 09:06 AM|yij sun|LINK
According to your description,I think your problem is "return false".
I suggest you could remove "return false".If "return false" is execute then it would never submit and OnClick(which is sever side would never executed).
Mar 07, 2021 08:51 PM|peterthegreat|LINK
it still does not operate a double click event? i instead used two controls to perform operation.one on client, other server side.
Mar 09, 2021 06:59 AM|yij sun|LINK
it still does not operate a double click event?
I don't understand your reuqirment clearly.Double click? I have created a demo using onclick and onclientclick together on a linkbutton. Just like this:
Mar 10, 2021 08:10 PM|peterthegreat|LINK
Similar on the same subject of Linkbutton click events, how is it possible to open and close a div or hide and show a adjacent element to the link inside same table cell <td> when inside repeater control? i manage to open but not close on same link click
Mar 11, 2021 06:11 AM|yij sun|LINK
By the way,double-click sensitivity (maximum time between clicks that is detected as a double click) can vary by operating system and browser.
So I think it's better if you reconsider your actual UI using only one click event and other controls to handle your needs; eg on the click handler open a menu with the possible actions.