OnClientClick = '<% # String.Format ("Show (' {0} '); return false;", Eval ("title"))%>'
or if you do this in a design view, just add the data binding for the onclientClick property for the imagebutton property as
String.Format("Show('{0}');return false;",Eval("title"))
Hope this helps you.
source share