How to Change Backgound Of Message Box as a image or any color?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Apr 11, 2012, 1:06 AM EDT
You do not have any property or method to set the background color and image.
But you can develop your own message box in .net (custom control). There you can have color and image.
Gohil JayendrasinhRank #490 · 5K reputationPosted Apr 11, 2012, 12:59 AM EDT
you can'tchange background color of messge box because It is a sealed class.
you can create control.
in webapplication you can do this using custome message plugin
http://www.codeproject.com/Articles/114889/jQuery-Alert-Dialogs-Plug-in
http://www.codeproject.com/Articles/263531/JQuery-Message-Box-Plugin