skip to Main Content

ASP.NET Classic don't create button postback with default options of WebForm_PostBackOptions

I have don't understand what going wrong. I have ASP:BUTTON <asp:Button runat="server" id="btnQuestion" PostBackUrl="~/PositionForm.aspx" OnClick="btnQuestion_Click"></asp:Button> And have event to processing postback protected void btnQuestion_Click(object sender, EventArgs e){} ASP.NET environment create this event <input type="submit" name="ctl00$MainContent$btnQuestion" value="Задати питання" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$MainContent$btnQuestion&quot;, &quot;&quot;,…

VIEW QUESTION
Back To Top
Search