We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

WindowsAlert

Thread ID:

Created:

Updated:

Platform:

Replies:

97804 Jan 10,2011 05:05 PM Jan 27,2011 01:24 AM ASP.NET Web Forms (Classic) 6
loading
Tags: Tools
victor elizondo
Asked On January 10, 2011 05:05 PM

Hello everybody

I just want to know if it's possible that a WindowsAlert in Syncfusion (Syncfusion.Web.UI.WebControls.Shared.Window), when it's called, could be in the middle of the screen ALWAYS. This is posible when the height of the aspx document is static all the time, but if the height increments, the WindowsAlert stays in the same position
that the first time. More especific case, if the scroll of the page it's in the bottom part ( in the botton part becasuse previously the page grow up), the windowsalert stays in the original above position in the screen. Anyone can help me?

Regards.


Varalakshmi R.S [Syncfusion]
Replied On January 16, 2011 11:28 PM

Hi victor,

Thank you for your interest in Syncfusion products.

Your requirement of setting ‘Window’ control to the middle of the page even when there is page scrolling can be done by calculating the scrollTop position of the document and height of the window control. Then set the values to the ‘Window’ controls ‘Top’ position. Please refer the below code snippet to achieve this,


[JavaScript]


Kindly let me know whether I have misunderstood your query.

I have also prepared a simple sample which can be downloaded from the below link,
978041856627114.zip


Kindly try this and let me know your concerns.

Regards,
Varalakshmi.R.S



victor elizondo
Replied On January 18, 2011 11:40 AM

Hi Varalakshmi

A lot of thanks for the answer. I'm going to test this code right now.

Regards.


victor elizondo
Replied On January 18, 2011 05:11 PM

Hello

It works very good thanks.

Actually the original problem and I didn't told you (sorry haha) is this one:

An aspx like you've sent me it's inside an IFRAME. That Iframe it's in another website ( This website doesn't belong at my .NET proyect) and I want to know if it's possible to make the same thing ( put the scroll in the top) that you've done in the scroll of the other site from my proyect.

In other words, if I press the button, the external scroll must be in the top of the page.

I've attached a pic about this problem.

Regards.



iframe_efc6aea5.rar

Varalakshmi R.S [Syncfusion]
Replied On January 21, 2011 02:24 AM

Hi Victor,

Thank you for the update.

Before I proceed providing you a solution, could you please provide more details on the below queries?

1.Could you please let us know whether you want to load the IFrame inside the Window control?
2.Could you please let us know whether you want to scroll the IFrame when the page is scrolled or ?

Could you please share us a simple sample to reproduce this issue so that we would be investigating more on this issue and provide you with a solution as soon as possible?

Please let us know if any concerns

Regards,
Varalakshmi.R.S


victor elizondo
Replied On January 26, 2011 01:52 PM

Hello

Sorry for my late answer. I'm going to recreate this problem and tomorrow I will let you know all the details that you've asked to me.

Regards.


Varalakshmi R.S [Syncfusion]
Replied On January 27, 2011 01:24 AM

Hi Victor,

Thanks for the update and we will be waiting for your reply.

Kindly let us know your concerns.

Thanks,
Varalakshmi.R.S



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;