|
Rank: Newbie Groups: Member
Joined: 1/12/2009 Posts: 2
|
Hi Guys, I am coding a .net web app and evaluating your product and I want to use the DIALOG control to display a dialog box when someone tries to delete a record in a Detailsview. So in my "Handles DetailsView1.ItemDeleting" code, I want to issue a 'are you sure?' dialog box, and if the user says no, then set e.cancel = true to cancel the delete. My question is how/where do I code the Javascript and how do I invoke the javascript from the VB event. I am new to Javascript. CHeers Neil
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Thanks for posting in the forum. Our support only covers questions that are directly related to our product. For example, we would cover "how to use JavaScript to display an EO.Web.Dialog?", but we will not be able to cover "I have the JavaScript code to display an EO.Web.Dialog, but how and where to call it?". For the second question, you will need to seek other resource. You may want to review our official support policy at here: http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1368Sorry about that!
|
|
Rank: Newbie Groups: Member
Joined: 1/12/2009 Posts: 2
|
All I need is an example. I don't want handholding, just an example of how to do it. Your documentation says you can use javascript to open a dialog box, and that's all says. It's frustrating for newbies.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, There are many examples showing how to display the dialog in the sample project. Just go to Start -> All Programs -> EO.Web Controls 2008 -> EO.Web for ASP.NET xxxx -> Live Demos -> Live Demo Source Code. The following documentation also show you how to display a dialog with JavaScript: http://www.essentialobjects.com/ViewDoc.aspx?t=Dialog%2fDialog_Show.htmlYou will also need to go over this if you are not already familiar with our client side JavaScript interface: http://www.essentialobjects.com/ViewDoc.aspx?t=clientapi_howto.htmlThanks!
|
|