Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ModalPopupExtender questionModalPopupExtender question
Previous
 
Next
New Post
9/23/2008 4:45 PM
 

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?

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ModalPopupExtender questionModalPopupExtender question


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out