Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Grid blocking Ajax Calendar
posted

Developing with WebGrid 8.2 under Visual Studio 2005 and VB.Net

To create a calendar control, I place a textbox on the page and then bind an Asp.Net Ajax calendar extention ( http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx ) to the textbox.  I then add a WegGrid.  In the designer, the calendar is 2 lines above the webgrid.  When running the page and using the calendar, the monthly calender pop-up page opens but is "blocked" by the Webgrid.  I only see the first week of the month.  If I move the webgrid further down the page so that it outside the pop-up calendar's height, I see the full month.  As a test, replaced the WebGrid with the standard GridView control,  There is no problem - the calendar fully displays over the GridView.

 

Is there a setting that sets window order ( z-axis ) or allows window pop-ups ? 

Parents
No Data
Reply
  • 28464
    posted

    Yes, this is most probably a z-index related issue - the dropdown of the calendar in the Ajax Control Toolkit maybe has z-index lower than the z-index of the grid by default.

    I can recommend the following forum post on the ASP.NET website for additional information:

    http://forums.asp.net/p/1128843/1973643.aspx#1973643

    But in general, I believe it could be a good idea to also try our popup calendar equivalent - WebDateChooser. Please, take a look at the following sample for details on how to use it (click on any Date column in the grid, and click the dropdown image to popup a calendar)

    http://samples.infragistics.com/2008.2/webfeaturebrowser/WebDateChooser/Grid/webform2.aspx

Children
No Data