I have a edit column with a webdatechooser and it work good.
but if i scroll down in grid and select a edit cell of my webdatechooser column, the webdate appear outside of my grid and the scrollbar move up and i didnt see my selected cell.
Any solution ?
Screenshot of my bug
Hi danjut,
Glad that your issue is resolved. Please let me know if you need further assistance.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Thanks it works!
As per your first issue, I believe the solution is to set the runat="server" property for your head tag as without it the resource variable information is not accessible.
If your client-side functions are defined in the head tag as well, this should also resolve your JS function issues.
Please let me know if this helps.
I have this bug too, if i use the ClientSideEvents with a server variable in client side
<ClientSideEvents CellClickHandler="GridMain_CellClickHandler" InitializeLayoutHandler="GridMain_InitializeLayoutHandler" />
function GridMain_CellClickHandler(gridName, cellId, button) { var vCell = igtbl_getCellById(cellId);
if (vCell.Row.getCellFromKey("ref_pa_en_id").getValue() == null) return;
if (vCell.Index == 1) { //Trouve le nom du control unique var strControlID1 = '<%=btnVisionner.ClientID %>'; //Je doit remplacer le caractere _ par un $ pour que du coté serveur dans l'evenement render il soit pareille comme nom unique strControlID1 = strControlID1.replace(/_/g, "$"); __doPostBack(strControlID1, ''); } }
I find Exactly what they cause the bug
In the header title of my page, i use ressource variable : <%= Resources.PA.PageTitre%>
if i replace <%= Resources.PA.PageTitre%> with text all work great
Here a light exemple of aspx with this bug
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="wfTest_Grille.aspx.vb" Inherits="WebPortailCegertec.wfTest_Grille" %><%@ Register Assembly="Infragistics35.WebUI.UltraWebGrid.v11.1, Version=11.1.20111.2064, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %><%@ Register Assembly="Infragistics35.WebUI.WebDateChooser.v11.1, Version=11.1.20111.2064, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" style="height: 85%"><head> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" /> <meta content="C#" name="CODE_LANGUAGE" /> <meta content="JavaScript" name="vs_defaultClientScript" /> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" /> <link href="TEST_style.css" rel="stylesheet" type="text/css" /> <title> <%= Resources.PA.PageTitre%></title></head><body style="height: 100%"> <form id="Form1" method="post" runat="server" style="width: 100%; height: 100%;"> <asp:ScriptManager ID="ScriptMgr" runat="server" /> <!-- Titre --> <div runat="server" id="SampleTitleDiv" class="sampleTitle"> <%= Resources.PA.Text_Acheteurs%> </div> <!-- Description --> <div style="height: 50%"> <div id="divDate" runat="server"> </div> <igtbl:UltraWebGrid ID="GridMain" runat="server" Height="100%" Width="100%" StyleSetName="Office2007Black" EnableAppStyling="True"> <DisplayLayout BorderCollapseDefault="Separate" Name="ctl00xUltraWebGrid1" RowHeightDefault="20px" Version="4.00" AllowUpdateDefault="Yes" AutoGenerateColumns="False" StationaryMargins="HeaderAndFooter" TableLayout="Fixed" CellClickActionDefault="Edit" AllowColSizingDefault="Free" ColFootersVisibleDefault="Yes"> <FrameStyle Height="100%" Width="100%" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"> </FrameStyle> <ActivationObject BorderColor="" BorderWidth=""> </ActivationObject> </DisplayLayout> <Bands> <igtbl:UltraGridBand Key="Entete"> <Columns> <igtbl:UltraGridColumn BaseColumnName="ref_pa_en_id" Key="ref_pa_en_id" Width="100px" AllowUpdate="No"> <HeaderStyle HorizontalAlign="Center" /> <CellStyle HorizontalAlign="Center" BackColor="LemonChiffon"> </CellStyle> <Header Caption="N° DA"> </Header> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="pa_en_commande_date_livrer" Key="pa_en_commande_date_livrer" DataType="System.DateTime" EditorControlID="wdDate" Format="yyyy-MM-dd" Type="Custom" AllowUpdate="Yes" Width="150px"> <HeaderStyle HorizontalAlign="Center" /> <CellStyle HorizontalAlign="Center"> </CellStyle> <Header Caption="Date de<br>livraison"> </Header> </igtbl:UltraGridColumn> </Columns> <HeaderStyle Height="35px" /> <AddNewRow View="NotSet" Visible="NotSet"> </AddNewRow> </igtbl:UltraGridBand> </Bands> </igtbl:UltraWebGrid> <table style="width: 100%"> <tr> <td> <igsch:WebDateChooser ID="wdDate" runat="server" NullDateLabel="" TabIndex="2" StyleSetName="Office2007Black"> <CalendarLayout Culture="French (Canada)" FooterFormat="Aujourd'***: {0:d}"> </CalendarLayout> </igsch:WebDateChooser> </td> </tr> </table> </div> </form></body></html>