I have a WebDatechooser in an UltraWebGrid, inside an update panel on a content page for a master page. My controls are Infragistics 3.5 v10.3. My problem is that when I click on the Month or Year dropdowns, it closes the RowEditTemplate. I am initializing this in javascript. What do I need to do to stop this? Thanks.
<igsch:WebDateChooser ID="igDueDate" runat="server" EnableAppStyling="True" Section508Compliant="true" DisplayModeFormat="d" EditModeFormat="d" StyleSetName="Office2007Blue" StyleSetPath="~/ig_res/" NullDateLabel="Select a Date" ClientSideEvents-InitializeDateChooser="igDueDate_InitializeDateChooser" Format="Short" AllowNull="true" ></igsch:WebDateChooser>
Hello dbishop9 ,
I’ve managed to reproduce this issue.
Please refer to the following forum thread:
http://forums.infragistics.com/forums/p/17512/66259.aspx#66259
I’ve tested the solution provided there by Vince McDonald and have confirmed that it resolves this issue.
Let me know if you have any further questions regarding this.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Hi Maya. I have applied his example, but it is for an actual dropdown control, not the dropdown inside the webdatechooser. Below is what I have, but of course I get an object expected error because the webdatechooser is not a dropdown/combo control and I'm not sure how to address it. Thanks.
function igMyGrid_BeforeRowTemplateCloseHandler(gridName, rowId, bSaveChanges) { var grid = igtbl_getGridById(gridName); var combo = igcmbo_getComboById("<%= igMyGridDueDate.ClientID %>"); var localEvent = (typeof (event) != 'undefined') ? event : grid.event; var localSrcElem = localEvent.srcElement ? localEvent.srcElement : localEvent.target;
if (localEvent && localSrcElem && igtbl_contains(combo.container, localSrcElem)) return true;}