1
At runtime, the Form ID Asp.net webforms changes, see that I have on my machine the component ID.
Local example:
<asp:HiddenField runat="server" ID="MenuSelecionado" value="processo"/>
After execution it looks like this:
<input type="hidden" name="ctl00$ContentPlaceHolder1$MenuSelecionado" id="ctl00_ContentPlaceHolder1_MenuSelecionado" value="processo">
I wonder if you have any way to keep the ID or use other property in his stead.
Thanks for the help, but it did not work,The type 'System.Web.UI.WebControls.Hiddenfield' does not have a public property called 'Clientidmode'.
– Harry
Strange not work, maybe it’s version, I did a test here and was. Anyway I added another alternative
– Barbetta
Cannot use Clientidmode="Static", does not work
– Harry