Welcome Guest Search | Active Topics | Sign In | Register

Using Dialog Box Options
Neil
Posted: Monday, January 12, 2009 3:19:56 AM
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

Code: Visual Basic.NET
Code: JavaScript
eo_support
Posted: Monday, January 12, 2009 5:38:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,089
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=1368

Sorry about that!
Neil
Posted: Tuesday, January 13, 2009 2:08:58 AM
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.
eo_support
Posted: Tuesday, January 13, 2009 4:08:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,089
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.html

You 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.html

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.