Hi all.
Currently updating quite a large project and have had to make some major modifications to the interface design to save on screen-space and to make the interface more user friendly. One of the modifications that we found to be necessary is the replacing of many of the existing asp-buttons with LinkButtons.
This has however, just become a problem as, for some reason, the LinkButtons don't seem to create a Name attribute. Apparently the asp-buttons generate the Name attribute based on the ID attribute and this has been an important part of the interface design as there are many times where we need to know what was clicked before the click-event-handler is fired and so we use the Request.Form("buttonName"
to achieve this. Now that the Name attribute isn't showing, this doesn't work.
Is there any way we can get the Name attribute to appear? Or is there another way of finding out which LinkButton was clicked during the Page_Load routine?
Any help is greatly appreciated.
Regards.
Stephen.
Currently updating quite a large project and have had to make some major modifications to the interface design to save on screen-space and to make the interface more user friendly. One of the modifications that we found to be necessary is the replacing of many of the existing asp-buttons with LinkButtons.
This has however, just become a problem as, for some reason, the LinkButtons don't seem to create a Name attribute. Apparently the asp-buttons generate the Name attribute based on the ID attribute and this has been an important part of the interface design as there are many times where we need to know what was clicked before the click-event-handler is fired and so we use the Request.Form("buttonName"
Is there any way we can get the Name attribute to appear? Or is there another way of finding out which LinkButton was clicked during the Page_Load routine?
Any help is greatly appreciated.
Regards.
Stephen.