function setPropertyLocation() { alert('Hello'); }
Button btnMap = new Button(); btnMap.Attributes.Add("type", "button"); btnMap.Attributes.Add("title", "Map"); btnMap.UseSubmitBehavior = false; btnMap.OnClientClick = "setPropertyLocation();return false"; btnMap.ID = "btnMap" + objPMPropTypestructure.PMFields[fieldcnt].SystemName; btnMap.CssClass = "dataButton"; btnMap.Text = "G"; btnMap.Enabled = true; tc2.Controls.Add(btnMap); //tc2 = tablecell
Uncaught ReferenceError: setPropertyLocation is not defined
btnMap.Attributes.Add("onclick", "setPropertyLocation();");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)