Welcome Guest Search | Active Topics | Sign In | Register

Removing the Close Button in the Msgbox control Options
Jim Seaborg
Posted: Wednesday, April 4, 2012 12:16:42 PM
Rank: Member
Groups: Member

Joined: 8/21/2011
Posts: 13
Is there a way to remove the Close Button in the Msgbox control?

I want to prevent the user from being able to close the pop-up without
clicking the "Yes" or "no" buttons I've provided in this control.

I tried removing the CloseButtonUrl parameter in the ASPX page.
This does remove the "X" button but it leaves a vertical line.

Thanks,

Jim
eo_support
Posted: Wednesday, April 4, 2012 1:42:38 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I believe removing CloseButtonUrl is the correct way to do it. The vertical line is caused by the dialog's "BorderImages.TopRightCornerBottom". The built-in image used by that property incorrectly had a vertical line on it. You can go to the instalation folder to find Images.zip, unzip it, then go to "\Borders\Vista" (I assume this is the one that you've been using), find TopRightCornerBottom.gif and TopRightCornerBottom.png, modify those file and give the two Urls to BorderImages.TopRightCornerBottom property. The first Url is png format, the second one is the gif format. The png version will be used on browsers that supports png, while gif vesion will be used on older browsers.

We will make sure we correct these two images files in our next build.

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.