in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Browse by Tags

  • Menu item click client confirm

    I have a C1WebMenu and I want to ask a client confirm when the user click an item. I've tried to add a ClientScript but it does not work : < c1c : C1WebMenuItem Text ="Item1" ClientScripts ="onclick:return confirm('Do you confirm ?');"></ c1c : C1WebMenuItem >...
    Posted to WebMenus and WebBars for ASP.NET (Forum) by cristido on 02-27-2008
    Filed under: C1WebMenu, client confirm
  • Re: Menu item click client confirm

    Thank you Patrick, but I'm already using the C1WebCommand ver 2.0.20073.170. The alert command question appears but if I answer NO the C1WebMenu fires the postback, this is the problem. If the onclick event return false the postback must NOT be fired, in a standard button the onclick event work in...
    Posted to WebMenus and WebBars for ASP.NET (Forum) by cristido on 03-03-2008
    Filed under: C1WebMenu, client confirm
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.