Wrox Programmer Forums
|
BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4
This is the forum to discuss the Wrox book ASP.NET AJAX Programmer's Reference: with ASP.NET 2.0 or ASP.NET 3.5 by Dr. Shahram Khosravi ; ISBN: 978-0-470-10998-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2008, 03:29 PM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ModalPopupExtender question

I have a standard ModalPopupExtender, which works fine for one specifically set template. However, I need that template to chage based on teh requierements. In my example, I need to delete a record from a data grid. However, if the record has certain elements/children, it is not supposed to be deleted. Just a warning message should popup saying something like 'You can not delete record because this and that...'. with just 'Ok' button (something like Javascript Alert) But if record doesn't have any children/components, I should get a confirmation box with 'Ok' and 'No, Where I would choose between deleting record and not. What is the best way way to achieve that functionality? I tried a lot of different ways but failed. Can I somehow dynamicaly choose between two different panels? The problem is that when I realize in DynamicServiceMethod that I have children for my rows I can not change anything or access anything out of that method. What is the best way to approach that scenario?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Question... stud123 XSLT 3 April 10th, 2006 09:44 AM
contains() question... CyanBlue XSLT 3 April 6th, 2006 03:37 AM
c++ question amahja56 C++ Programming 3 February 24th, 2004 02:45 PM
if else question hoonboon69 Javascript 1 August 8th, 2003 07:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.