When I try to run some code in VB, I am getting an error, I have some VB code That my Griviv ad is labeled "Insert Email" in the last column on any row, which does not have an email address:
I also have some code, which I once used to call an Ajax model The popup box is clicked on the Columns:
This is my updated code (which Still does not work):
'------------- ------------------ --------- GridView1.Rows.Count- 1 if I have integer = 0 to GridView1.Rows (i). (9). Text = "& amp; nbsp;" Then the string LLL as the dim LLL = "insert email" gridview 1 RO (I). Game (9). Text = LBL E.RO.KEL (9). Features ("OnMouse Over") = "this.style.textDecoration = 'Outlined'; this.style.cursor = 'Hands';" E. Ro Seals (9). Characteristics ("OnMouseOut") = "this.style.textDecoration = 'none';" E. Ro Seals (9). Features. Add ("onclick", "document.getAlementBiID" ("+ Delete popup. Client ID +") style .Vibibility = 'True' ') End if next' ---- ---------- --------------------------
Error:
Error: Unable to get property 'style' of undefined or redundant reference
I think this line is referenced:
E. Ro Seals (9). Features. Add ("onclick", "document.etlementbiid ('delete popup'). Style.vijay = true" ")
This model popup For ASPX code that should be opened:
& lt; asp: HiddenField id =" hidden DESC "runat =" server "/> ; & Lt; asp: Label ID = "Label4" runat = "server" text = "Type in an email:" & gt; & lt; / asp: Label & gt; & lt; ASP: text box id = "Email Textbox 1 "runat =" server "height =" 22px "width =" 370px "& gt; & lt; / asp: text box & gt; & lt; ASP: button ID =" update AEMBTN "runat =" server "Text =" Update Email "/> & lt; asp: Button ID =" Cancel Button "runat =" server "text =" cancel "/> Lt; / div>
I was hoping to get some help with this. Thankyou in advance ...
I'm not sure If I'm typing my code correctly ...
class =" modal popup "style =" padding: 2px; Width: 396px; while using "> visible = false deletePopup element
will remove from DOM
Code>
/ code>.
If this property is incorrect, then server control is not provided. -
And since it is not present in the DOM, you are getting the error - Unable to get the 'style' property of the undefined
. If you want to make it visible using Javascript, Like, it must be hidden only by using the ClientSode code ( CSS
).
and make it visible by using the following JavaScript. forms of a side note In: To make it visible by using the server side code, you can use the
E.RO.KEL (9). ("Onclick", "Document.getElementById ('+ deletePopup.ClientID +'). Style.display = 'block'")
deletePopup.Visible = True
.
Comments
Post a Comment