Asp.net Click on Label and open popup
Page 1 of 1
Asp.net Click on Label and open popup
Inside Page load
Label1.Attributes.Add("onclick", "window.open('http://www.google.com'),null,'left=400, top=100, height=250, width= 250, status=n o, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no');")
OR
Button1.Attributes.Add("onclick", "window.open('www.microsoft.com'); return false;")
Label1.Attributes.Add("onclick", "window.open('http://www.google.com'),null,'left=400, top=100, height=250, width= 250, status=n o, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no');")
OR
Button1.Attributes.Add("onclick", "window.open('www.microsoft.com'); return false;")
Similar topics
» Asp.net Create Hover Label
» Enabling right click on sites that disable it
» TO LOCK A FOLDER AS IT WILL OPEN CONTROL PANEL WHEN CLICKED:
» To Open Document & Settings Folder from "Run"
» To Open My Computer from "Run"
» Enabling right click on sites that disable it
» TO LOCK A FOLDER AS IT WILL OPEN CONTROL PANEL WHEN CLICKED:
» To Open Document & Settings Folder from "Run"
» To Open My Computer from "Run"
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum