html - Replicate nullreference exception in textbox after clicking Add button -
After clicking the button I am trying to replicate NullReferenceException
in textbox.
Is there a way or device to use it, so that when I am on the page, I will change the textbox ID so that it will remove nullreferenceexchange
?
I have tried to use Developers to change the textbox ID, when I click on the button on the button, but it still recognizes the original textbox ID, so this error is not Puts it.
I want to use this problem in front of the functional examiner's perspective, without changing the code only, please render it Thank you for your help
& Lt; Td colspan = "5" style = "border-left: .5px; border-left-style: solid; border-right: 2px; border-right-style: solid; border color: & lt; telerik: radTextBox id =" OrderName "runat =" server "width =" 50px "skin =" simple "font-bold =" true "font-name =" wordana "font-size =" 11px "ForeColor =" # 22222 "backallore =" # CFFDFF " MaxLength = "30" & gt; & lt; / telerik: RadTextBox & gt; ASP: Dropdown list id = "ddlTypes" runat = "server" BackColor = "#CCCDFF" font-name = "Wordana" font-bold = " True "font-size =" 10px "> gt; & gt; asp: dropdownlight & lt; / table> & lt; / d iv & gt; & lt ; Div Id = "divSubmitting" runat = "server" style = "padding-left: 3px; Padding-top: 6px; Width: 800px; Text-align: justification ">
asp: button id =" btnAddNewOrder "runat =" server "text =" submit "OnClick ="
Yes on any line of your use, do this
throws NullReferenceException
This will throw exceptions.
Comments
Post a Comment