Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 23rd, 2008, 04:29 PM
Registered User
 
Join Date: Sep 2008
Location: , , .
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?

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 11:41 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.