Results 1 to 2 of 2

Thread: Javascript in ASP.Net

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Malaysia
    Posts
    345

    Javascript in ASP.Net

    I am developing an application on ASP.net with c# as the code behind. I am using Infragistics UltrawebGrid to display data. Whenever, the value of any cell changes, UpdateCell event is fired.

    I just want a message box (rendered thru javascript) on that event.

    My code is

    Code:
    UltraWebGrid1.Attributes.Add("onupdatecell","javascript:return confirm (\"Are you sure? This action cannot be rolled back. \");");
    But, nothing pops up. It doesn't give any error also.

    Pls help.
    Thanks.

  2. #2
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    Re: Javascript in ASP.Net

    I think you have to use javascript window.open()

    and create an html that will have yes or no buttons
    xoxo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width