iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
we have still the same problem, could you send us a deployed directory also with the library in order to use the same virtual directory used by yourself.
Thanks,
Vincenzo
we can not follow you suggestion because our webapplication is inside another site that is 64 bit.
Anyway we have tried and now we have the following error:
Calling LoadLibraryEx on ISAPI filter "C:\Program Files\Microsoft Dynamics CRM\Server\bin\DefaultAddonFilter.dll" failed
Have you tried to reproduce the error on your test environment?
Vince
I have tried also with a page that includes only the webinput control, on 32 bit all work fine intstead on windows server 2008 R2 IIS 7.5 we have the error.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VinceVsWebrid._Default" %> <%@ Register Assembly="ISNet.WebUI.WebInput" Namespace="ISNet.WebUI.WebControls" TagPrefix="ISWebInput" %> <%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %> <%-- <!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" > --%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html > <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <ISWebInput:WebInput ID="WebInput1" runat="server" DecimalSeparator="" NumericInput="true" MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01"> <EditFormat> <ErrorWindowInfo IsEnabled="False"> </ErrorWindowInfo> </EditFormat> <DateTimeEditor DateInputLink=""> <DropDownYearFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"> </DropDownYearFrameStyle> <DropDownMonthFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"> </DropDownMonthFrameStyle> <QuickSelectDateIconStyle Height="18px" Width="20px"> </QuickSelectDateIconStyle> </DateTimeEditor> <CultureInfo CultureName="en-US"> </CultureInfo> <DisplayFormat ErrorText="" Format="n" IsEnabled="false" IsValidateOnChange="False" Type="Number"> <ErrorWindowInfo IsEnabled="False"></ErrorWindowInfo> </DisplayFormat> </ISWebInput:WebInput> </div> </form> </body> </html>
the error is:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stack Trace:
[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.] ISNet.WebUI.XMLCultureInfo.CreateXMLNumberFormatInfo(XmlDocument xmlDoc) +0 ISNet.WebUI.XMLCultureInfo.CreateXMLCultureInfo() +97 AssignSerializeXmlNode(XmlNode node, Object obj) +157 ISNet.WebUI.WebControls.WebInput.GetXMLCultureInfo() +345 ISNet.WebUI.ISNetControl.RegisterScript() +409 ISNet.WebUI.WebControls.WebInput.RegisterScript() +364 ISNet.WebUI.ISNetControl(Object , EventArgs ) +103 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Control.OnPreRender(EventArgs e) +11028046 System.Web.UI.Control.PreRenderRecursiveInternal() +108 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
The following is the aspx page that I have written:
<%@ Page Language="C#" AutoEventWireup="true" EnableSessionState="true" CodeBehind="PriceInfo.aspx.cs" Inherits="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfo" %>
<%@ Register Assembly="ISNet.WebUI.WebInput" Namespace="ISNet.WebUI.WebControls" TagPrefix="ISWebInput" %>
<%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %>
<%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %><%@ Register Assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=c4184ef0d326354b" Namespace="ISNet.WebUI.DataSource" TagPrefix="ISDataSource" %><%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><html ><head runat="server"> <title></title> <link href="Styles/IFrame.css" rel="Stylesheet" type="text/css" /> <script type="text/javascript">
var productListHash = new ActiveXObject("Scripting.Dictionary"); function uiService_OnSearchPrices(items) { var grid = ISGetObject("WebGridPrices"); var dataTable = new ISDataTable(); var productnumberColumn = new ISDataColumn(dataTable); var priceTypeColumn = new ISDataColumn(dataTable); var discountscalenameColumn = new ISDataColumn(dataTable); var priceNameColumn = new ISDataColumn(dataTable); var minQtyColumn = new ISDataColumn(dataTable); var priceColumn = new ISDataColumn(dataTable); var priceUnitColumn = new ISDataColumn(dataTable); var manualPriceColumn = new ISDataColumn(dataTable); var manualDiscount1Column = new ISDataColumn(dataTable); var manualDiscount2Column = new ISDataColumn(dataTable); var manualDiscountAmountColumn = new ISDataColumn(dataTable); var fixDiscount1Column = new ISDataColumn(dataTable); var fixDiscount2Column = new ISDataColumn(dataTable); var fixDiscountAmountColumn = new ISDataColumn(dataTable); var fixCommissionColumn = new ISDataColumn(dataTable); var maxDiscountColumn = new ISDataColumn(dataTable); var minDiscountColumn = new ISDataColumn(dataTable); var maxCommissionColumn = new ISDataColumn(dataTable); var discountScaleIdColumn = new ISDataColumn(dataTable);
/* setup data columns */ dataTable.Name = dataTable.TableName = "Root"; productnumberColumn.Name = productnumberColumn.ColumnName = "productnumber"; discountscalenameColumn.Name = discountscalenameColumn.ColumnName = "discountscalename"; priceNameColumn.Name = priceNameColumn.ColumnName = "priceName"; minQtyColumn.Name = minQtyColumn.ColumnName = "minQty"; priceColumn.Name = priceColumn.ColumnName = 'price'; priceUnitColumn.Name = priceUnitColumn.ColumnName = 'priceUnit'; priceTypeColumn.Name = priceTypeColumn.ColumnName = 'priceType'; manualPriceColumn.Name = manualPriceColumn.ColumnName = 'manualPrice'; manualDiscount1Column.Name = manualDiscount1Column.ColumnName = 'manualDiscount1'; manualDiscount2Column.Name = manualDiscount2Column.ColumnName = 'manualDiscount2'; manualDiscountAmountColumn.Name = manualDiscountAmountColumn.ColumnName = 'manualDiscountAmount'; fixDiscount1Column.Name = fixDiscount1Column.ColumnName = 'fixDiscount1'; fixDiscount2Column.Name = fixDiscount2Column.ColumnName = 'fixDiscount2'; fixDiscountAmountColumn.Name = fixDiscountAmountColumn.ColumnName = 'fixDiscountAmount'; fixCommissionColumn.Name = fixCommissionColumn.ColumnName = 'fixCommission'; maxDiscountColumn.Name = maxDiscountColumn.ColumnName = 'maxDiscount'; minDiscountColumn.Name = minDiscountColumn.ColumnName = 'minDiscount'; maxCommissionColumn.Name = maxCommissionColumn.ColumnName = 'maxCommission'; discountScaleIdColumn.Name = discountScaleIdColumn.ColumnName = 'discountScaleId'; /* add columns to data table */ dataTable.Columns.Add(productnumberColumn); dataTable.Columns.Add(priceTypeColumn); dataTable.Columns.Add(discountscalenameColumn); dataTable.Columns.Add(priceNameColumn); dataTable.Columns.Add(minQtyColumn); dataTable.Columns.Add(priceColumn); dataTable.Columns.Add(priceUnitColumn);
dataTable.Columns.Add(manualPriceColumn); dataTable.Columns.Add(manualDiscount1Column); dataTable.Columns.Add(manualDiscount2Column); dataTable.Columns.Add(manualDiscountAmountColumn); dataTable.Columns.Add(fixDiscount1Column); dataTable.Columns.Add(fixDiscount2Column); dataTable.Columns.Add(fixDiscountAmountColumn); dataTable.Columns.Add(fixCommissionColumn); dataTable.Columns.Add(maxDiscountColumn); dataTable.Columns.Add(minDiscountColumn); dataTable.Columns.Add(maxCommissionColumn); dataTable.Columns.Add(discountScaleIdColumn); for (var price in items) { var dataRow = dataTable.NewRow(); if (productListHash.Exists(items[price].productId)){ dataRow.Cells.GetNamedItem("productnumber").Value=productListHash(items[price].productId); }else{ dataRow.Cells.GetNamedItem("productnumber").Value = ''; } dataRow.Cells.GetNamedItem("priceType").Value = items[price].priceType; dataRow.Cells.GetNamedItem("discountscalename").Value = items[price].discountScaleName; dataRow.Cells.GetNamedItem("priceName").Value = items[price].priceName dataRow.Cells.GetNamedItem("minQty").Value = items[price].minQty; dataRow.Cells.GetNamedItem("price").Value = parseFloat(items[price].price); dataRow.Cells.GetNamedItem("priceUnit").Value = items[price].priceUnit; dataRow.Cells.GetNamedItem("manualPrice").Value = items[price].manualPrice; dataRow.Cells.GetNamedItem("manualDiscount1").Value = items[price].manualDiscount1; dataRow.Cells.GetNamedItem("manualDiscount2").Value = items[price].manualDiscount2; dataRow.Cells.GetNamedItem("manualDiscountAmount").Value = items[price].manualDiscountAmount; dataRow.Cells.GetNamedItem("fixDiscount1").Value = items[price].fixDiscount1; dataRow.Cells.GetNamedItem("fixDiscount2").Value = items[price].fixDiscount2; dataRow.Cells.GetNamedItem("fixDiscountAmount").Value = items[price].fixDiscountAmount; dataRow.Cells.GetNamedItem("fixCommission").Value = items[price].fixCommission; dataRow.Cells.GetNamedItem("maxDiscount").Value = items[price].maxDiscount; dataRow.Cells.GetNamedItem("minDiscount").Value = items[price].minDiscount; dataRow.Cells.GetNamedItem("maxCommission").Value = items[price].maxCommission; dataRow.Cells.GetNamedItem("discountScaleId").Value = items[price].discountScaleId; dataTable.Rows.Add(dataRow); }
grid.RootTable.Name = "Root"; grid.SetDataSource(dataTable); grid.DataBind(); grid.Render(); //event.cancelBubble = true; //event.returnValue = false;
}
function IncomingData() { this.__type = "Wuerth.Phoenix.Speedy.OrderlineGrid.IncomingData"; this.UserID = '046ef555-b464-df11-bd5e-005056b52983'; this.AreaID = 'fbc76318-2916-df11-b28f-005056b50ab3'; this.AreaID = '00000000-0000-0000-0000-000000000000';
var currency = ISGetObject("WebComboCurrency"); var account = ISGetObject("WebComboAccount"); this.CustomerID = '00000000-0000-0000-0000-000000000000'; if (account.Value != null && account.Value != "") { this.CustomerID = account.Value; }
this.CurrencyID = '00000000-0000-0000-0000-000000000000'; if (currency.Value != null && currency.Value != "") { this.CurrencyID = currency.Value; }
var quantity = ISGetObject("WebInputQuantity"); this.MinQty = 100000; if (quantity.GetValueData() != null && quantity.GetValueData() != '') { this.MinQty = parseInt(quantity.GetValueData()); } this.ProductList = new Array(); } //end class
//class used for parameters of FlyPostBack methods function ProductInfo(productId) { this.__type = "Wuerth.Phoenix.Speedy.OrderlineGrid.DataLayer.ProductInfo"; this.ProductId = productId; }
function searchPrices_Clicked() { //send data to server side var fpb = ISGetObject("uiService"); //fpb.Asynchronous = fpb._Asynchronous = false; var sendingData = new IncomingData(); var gridProducts = ISGetObject("WebGridFinal"); for (var i = 0; i < gridProducts.GetRootTable().GetRowsCount(); i++) { var htmlRowElmGridProducts = wgGetRowByPosition(gridProducts.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE), i); var rowObjGridProducts = wgGetRowByElement(htmlRowElmGridProducts); var productid = rowObjGridProducts.GetCells().GetNamedItem("productid").Text; sendingData.ProductList.push(new ProductInfo(productid)); } WebGridX_OnAfterInitialize('WebGridPrices'); fpb.SearchPrices(sendingData); }
function CreateDataBinding(operation) { var grid = ISGetObject("WebGridFinal");
var table = grid.RootTable; var WebGridStart = ISGetObject("WebGridStart")
var dataView = table.GetView(); var dataTable = null; var firstTime = false; if (dataView == null) { firstTime = true; dataTable = new ISDataTable();
var idColumn = new ISDataColumn(dataTable); var numberColumn = new ISDataColumn(dataTable); var nameColumn = new ISDataColumn(dataTable); var checkColumn = new ISDataColumn(dataTable);
/* setup data columns */ dataTable.Name = dataTable.TableName = "Root"; idColumn.Name = idColumn.ColumnName = "productid"; numberColumn.Name = numberColumn.ColumnName = "productnumber"; nameColumn.Name = nameColumn.ColumnName = "productidname"; checkColumn.Name = checkColumn.ColumnName = "RowChecker";
/* add columns to data table */ dataTable.Columns.Add(idColumn); dataTable.Columns.Add(numberColumn); dataTable.Columns.Add(nameColumn); dataTable.Columns.Add(checkColumn); } else { dataTable = dataView.Table; }
var lenRows = 0; var rowObj = null; var j = 0; if (operation == "Move") { lenRows = WebGridStart.GetRootTable().GetCheckedRows().length; if (lenRows == 0) { var selObj = WebGridStart.GetSelectedObject(); if ((selObj != null) && (selObj.ToRowObject().Type == 'Record')) { rowObj = selObj.ToRowObject(); j = -1; } } } else { lenRows = WebGridStart.RootTable.GetRowsCount(); }
while (j < lenRows) { var rowTableProducts; if (operation == "Move") { if (j < 0) { rowTableProducts = rowObj; } else { rowTableProducts = WebGridStart.GetRootTable().ToRowObject(WebGridStart.GetRootTable().GetCheckedRows()[j]); } } else { var htmlRowElmGridProducts = wgGetRowByPosition(WebGridStart.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE), j); rowTableProducts = wgGetRowByElement(htmlRowElmGridProducts); }
// var found = false;// var count = dataTable.Rows.length; ;// var ii = 0;// while (found == false && ii < count) {// if (dataTable.Rows[ii].Cells.GetNamedItem("productid").Value == rowTableProducts.GetCell("productidname").CellElement.getAttribute('productid')) {// found = true;// }// ii++;// }// if (!found) { if (!productListHash.Exists(rowTableProducts.GetCell("productidname").CellElement.getAttribute('productid'))) { var dataRow = dataTable.NewRow(); dataRow.Cells.GetNamedItem("productid").Value = rowTableProducts.GetCell("productidname").CellElement.getAttribute('productid'); dataRow.Cells.GetNamedItem("productnumber").Value = rowTableProducts.GetCell("productnumber").Value.replace(/ /g, " "); dataRow.Cells.GetNamedItem("productidname").Value = rowTableProducts.GetCell("productidname").Value; dataRow.Cells.GetNamedItem("RowChecker").Value = false; dataTable.Rows.Add(dataRow); productListHash.Add(rowTableProducts.GetCell("productidname").CellElement.getAttribute('productid'), rowTableProducts.GetCell("productnumber").Value.replace(/ /g, " ")); } j++; }
/* bind the data table to WebGrid */ if (firstTime) { grid.RootTable.Name = "Root"; grid.SetDataSource(dataTable); grid.DataBind(); grid.Render(); } else { grid.RebindData(); } event.cancelBubble = true; event.returnValue = false; }
function ButtonDeleteProducts_Clicked(typeButtom) { var WebGridFinal = ISGetObject("WebGridFinal"); var table = WebGridFinal.RootTable; var dataView = table.GetView(); var countRow = 0;
if (typeButtom == "Delete") countRow = WebGridFinal.GetRootTable().GetCheckedRows().length; else countRow = WebGridFinal.GetRootTable().GetRowsCount();
for (var j = countRow - 1; j >= 0; j--) { var rowTableProducts = WebGridFinal.GetRootTable().ToRowObject(WebGridFinal.GetRootTable().GetCheckedRows()[j]); dataView.Table.Rows.Remove(rowTableProducts.DataRow); if (productListHash.Exists(rowTableProducts.Cells.GetNamedItem("productid").Value)) { productListHash.Remove(rowTableProducts.Cells.GetNamedItem("productid").Value); } } WebGridFinal.RebindData();
event.cancelBubble = true; event.returnValue = false; }
function WebComboAccount_OnLostFocus() { var comboAccount = ISGetObject('WebComboAccount'); var accountId = document.getElementById('HiddenAccountId'); if ((comboAccount.Value != accountId.value)|| ((comboAccount.Value != "") && (comboAccount.GetTextBoxValue() == ""))) { if (comboAccount.GetTextBoxValue() == "") { accountId.value = ''; var comboArea = ISGetObject('WebComboArea'); //comboArea.ClearResultBox(); comboArea.NeedClearList = true; comboArea.SetText('a'); comboArea.LoadValue(true); comboArea.SetText('');
} // else {// var comboArea = ISGetObject('WebComboArea');// accountId.value = comboAccount.Value;// comboArea.ClearResultBox();// comboArea.NeedClearList = true;// comboArea.SetText('AREA D');// comboArea.LoadValue(true);// //comboArea.SetText('');// } } }
function WebComboAccount_OnAfterItemSelected() { var accountId = document.getElementById('HiddenAccountId'); var comboAccount = ISGetObject('WebComboAccount'); var comboArea = ISGetObject('WebComboArea'); accountId.value = comboAccount.Value; comboArea.ClearResultBox(); comboArea.NeedClearList = true; var rowCombo = comboAccount.GetSelectedRow(); comboArea.SetText('a'); comboArea.LoadValue(true); comboArea.SetText(''); } function getQuerystring(key, default_) { if (default_ == null) default_ = ""; key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regex = new RegExp("[\\?&]" + key + "=([^]*)"); var qs = regex.exec(window.location.href); if (qs == null) return default_; else return qs[1]; }
function WebGridPrices_OnInitializeRow(controlId, row) { //userdefined/edit.aspx?id={380C9D74-F738-DF11-B28F-005056B50AB3}&etc=10011# var orgname = getQuerystring('orgname', ''); if (orgname != '') { orgname = '/' + orgname; } row.Cells.GetNamedItem("discountscalename").Value = window.location.protocol + '//' + window.location.host + orgname + '/userdefined/edit.aspx?id={' + row.Cells.GetNamedItem("discountScaleId").Value + '}&etc=' + etc + '#'; } </script>
</head><body style="width:100%; height: 100%;"> <form id="form1" runat="server" style="width:100%; height: 100%;"> <div id="webgrid" class="webgrid" style="height: 100%;"> <table style="width:100%; table-layout: fixed;"> <tr><td width="220px"> <asp:Label ID="LabelAccount" runat="server" Text="Account" Font-Names="Tahoma" Font-Size="13px"></asp:Label> <ISWebCombo:WebCombo ID="WebComboAccount" runat="server" UseDefaultStyle="True" AllowWildCardSearch="True" DataCacheStorage="Session" DataMember="p_GetAccountInfo" DataSourceID="ISDataSourceAccountInfo" DataTextField="name" DataValueField="accountid" Height="20px" ViewStateStorage="None" Width="210px" AdditionalSearchFields="accountnumber"> <Columns> <ISWebCombo:WebComboColumn BaseFieldName="name" Name="name" HeaderText="Name" /> <ISWebCombo:WebComboColumn BaseFieldName="accountid" Name="accountid" DataType="System.Guid" Hidden="True" RenderOnHidden="true"/> <ISWebCombo:WebComboColumn BaseFieldName="accountnumber" HeaderText="Number" Name="accountnumber" /> <ISWebCombo:WebComboColumn BaseFieldName="transactioncurrencyidname" Hidden="True" Name="transactioncurrencyidname" RenderOnHidden="true"/> </Columns> <LayoutSettings RoundCorner="True" ComboMode="MultipleColumns"> <ClientSideEvents OnLostFocus="WebComboAccount_OnLostFocus" OnAfterItemSelected="WebComboAccount_OnAfterItemSelected"/> </LayoutSettings> </ISWebCombo:WebCombo> <ISDataSource:ISDataSource ID="ISDataSourceAccountInfo" runat="server" SchemaName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSet"> <Tables> <ISDataSource:ISDataSourceTable DataObjectTypeName="System.Nullable`1[[System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" SelectMethod="GetData" TableName="p_GetAccountInfo" TypeName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSetTableAdapters.p_GetAccountInfoTableAdapter"> <SelectParameters> <asp:QueryStringParameter Name="userid" QueryStringField="userid" Type="Object" /> </SelectParameters> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource> </td> <td width="185px"> <asp:Label ID="LabelArea" runat="server" Text="Area" Font-Names="Tahoma" Font-Size="13px"></asp:Label> <ISWebCombo:WebCombo ID="WebComboArea" runat="server" UseDefaultStyle="True" DataSourceID="ISDataSourceArea" Height="20px" Width="175px" DataMember="p_GetAreas" DataTextField="Speedy_name" DataValueField="Speedy_areaId" AllowAutoDataCaching="False" ViewStateStorage="None"> <LayoutSettings RoundCorner="True"> </LayoutSettings> </ISWebCombo:WebCombo> <ISDataSource:ISDataSource ID="ISDataSourceArea" runat="server" SchemaName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSet"> <Tables> <ISDataSource:ISDataSourceTable SelectMethod="GetData" TableName="p_GetAreas" TypeName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSetTableAdapters.p_GetAreasTableAdapter"> <SelectParameters> <asp:ControlParameter ControlID="HiddenAccountId" Name="prAccountId" PropertyName="Value" Type="String" /> </SelectParameters> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource> </td> <td width="120px"> <asp:Label ID="LabelQuantity" runat="server" Text="Quantity" Font-Names="Tahoma" Font-Size="13px"></asp:Label> <ISWebInput:WebInput ID="WebInputQuantity" runat="server" MaxDate="12/31/9998 23:59:59" Width="110px" MinDate="1753-01-01" DecimalSeparator=""> <EditFormat> <ErrorWindowInfo IsEnabled="False"> </ErrorWindowInfo> </EditFormat> <DateTimeEditor DateInputLink=""> <DropDownYearFrameStyle BackColor="White" BorderColor="Black" BorderWidth="1px"> </DropDownYearFrameStyle> <DropDownMonthFrameStyle BackColor="White" BorderColor="Black" BorderWidth="1px"> </DropDownMonthFrameStyle> <QuickSelectDateIconStyle Height="18px" Width="20px"> </QuickSelectDateIconStyle> </DateTimeEditor> <TextBoxStyle> </TextBoxStyle> <CultureInfo CultureName="en-US"> </CultureInfo> <DisplayFormat ErrorText="" Format="n" IsEnabled="True" IsValidateOnChange="False" Type="Number"> </DisplayFormat> </ISWebInput:WebInput> </td> <td width="130px"> <asp:Label ID="LabelCurrency" runat="server" Text="Currency" Font-Names="Tahoma" Font-Size="13px"></asp:Label> <ISWebCombo:WebCombo ID="WebComboCurrency" runat="server" UseDefaultStyle="True" DataMember="CurrencyExt" DataSourceID="ISDataSourceCurrency" DataTextField="CurrencyName" DataValueField="TransactionCurrencyId" Height="20px" Width="120px" UseCachedDataOnFirstLoad="True"> <LayoutSettings RoundCorner="True" TextBoxMode="ReadOnly" AlwaysShowAllRowsOnDropdown="True" AlwaysShowHelpButton="False"> </LayoutSettings> </ISWebCombo:WebCombo> <ISDataSource:ISDataSource ID="ISDataSourceCurrency" runat="server" SchemaName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSet" CacheDuration="3600" EnableCaching="Yes"> <Tables> <ISDataSource:ISDataSourceTable SelectMethod="GetData" TableName="CurrencyExt" TypeName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSetTableAdapters.CurrencyExtTableAdapter"> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource> </td> </tr> </table> <table style="width: 100%; table-layout: fixed;"> <tr> <td style="min-width:150px;" > <ISWebGrid:WebGrid ID="WebGridStart" runat="server" OnInitializeRow="WebGridStart_OnInitializeRow" DataSourceID="ISDataSourceProduct" Height="250px" UseDefaultStyle="True" DefaultStyleMode="Elegant" DataMember="p_GetproductBaseInfo" > <LayoutSettings AllowFilter="Yes" AllowMultipleSelection="Yes" AutoFitColumns="true" AllowColumnMove="Yes" AllowGrouping="Yes" AllowSorting="Yes" AlwaysShowHelpButton="False" AutoFilterSuggestion="True" PagingDetectPartialGroupRows="True" PagingMode="VirtualLoad" VirtualLoadMode="LargeData" AllowSelectColumns="Yes" ShowColumnAction="True" ShowFilterStatus="True"> </LayoutSettings> <RootTable Caption="All products" DataKeyField="ProductNumber" DataMember="ProductNumber"> <Columns> <ISWebGrid:WebGridColumn Caption="ProductNumber" DataMember="ProductNumber" Name="productnumber" Width="100px" ColumnType="Custom" ShowInSelectColumns="No" TreatMarkupAsLiteralText="True"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ProductName" DataMember="ProductName" Name="productidname" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="productid" DataMember="ProductId" DataType="System.Guid" Name="productid" Width="100px" Visible="false" ShowInSelectColumns="No"> </ISWebGrid:WebGridColumn> </Columns> <PreviewRowSettings Expandable="False"> </PreviewRowSettings> </RootTable> </ISWebGrid:WebGrid> </td> <td width= "90px" style="min-width:8px; width:90px; vertical-align:middle; "> <div style="min-width:100px; width: 100%; "> <table align= "center" style="width: 100%;"> <tr> <td align= "center"> <ISWebDesktop:WebButton ID="ButtonForwardProduct" runat="server" Height="25px" Text="Move" DisplayMode="TextAndImage" Image="images/Nav_MoveNext-16.gif" Width="80px" Parameter="Move" OnClientClick="CreateDataBinding('Move')" > </ISWebDesktop:WebButton> </td> </tr> <tr> <td align= "center"> <ISWebDesktop:WebButton ID="ButtonForwardProducts" runat="server" Height="25px" Text="Move All" DisplayMode="TextAndImage" Image="images/Nav_MoveLast-16.gif" Width="80px" Parameter="MoveAll" OnClientClick="CreateDataBinding('MoveAll')"> </ISWebDesktop:WebButton> </td> </tr> <tr> <td> <hr /> </td> </tr> <tr> <td align= "center" > <ISWebDesktop:WebButton ID="ButtonDeleteProducts" runat="server" Height="25px" Text="Delete" OnClientClick="ButtonDeleteProducts_Clicked('Delete')" DisplayMode="TextAndImage" Image="images/Nav_MovePrevious-16.gif" Width="80px"> </ISWebDesktop:WebButton> </td> </tr> <tr> <td> <hr /> </td> </tr>
<tr> <td align= "center" > <ISWebDesktop:WebButton ID="ButtonSearch" runat="server" Height="25px" Text="Search" DisplayMode="Text" Width="80px" OnClientClick="searchPrices_Clicked"> </ISWebDesktop:WebButton> </td> </tr>
</table> </div> </td> <td style="min-width:150px;"> <ISWebGrid:WebGrid ID="WebGridFinal" runat="server" Height="250px" UseDefaultStyle="True" BindingOperationMode="ClientBinding" DefaultStyleMode="Elegant" StateRestorationLevel="Low" > <LayoutSettings AutoFitColumns="true" AllowContextMenu="False" AlwaysShowHelpButton="False" ShowRefreshButton="False"> </LayoutSettings> <RootTable Caption="Products choosed" DataKeyField="productid"> <Columns> <ISWebGrid:WebGridColumn AllowGrouping="No" AllowSizing="No" AllowSorting="No" Bound="False" ColumnType="CheckBox" EditType="NoEdit" IsRowChecker="True" Name="RowChecker" ShowInSelectColumns="No" Width="25px" > </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="productnumber" DataMember="productnumber" Name="productnumber" Width="100px" ColumnType="Custom" TreatMarkupAsLiteralText="True"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="name" DataMember="productidname" Name="productidname" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="productid" DataMember="productid" DataType="System.Guid" Name="productid" Width="100px" Visible="false"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <ClientBindingSettings DataSourceType="ClientDataSource"> </ClientBindingSettings> </ISWebGrid:WebGrid> </td> </tr> </table> <div id="spStatus" style="height:18px; padding-top: 0px; padding-left: 0px"> </div> <%--PriceType PriceList Quantita’ Prezzo DiscScale--%> <table style="width: 100%; table-layout: fixed; height: auto;"> <tr> <td> <ISWebGrid:WebGrid ID="WebGridPrices" runat="server" Widh="100%" UseDefaultStyle="True" BindingOperationMode="ClientBinding" DefaultStyleMode="Elegant" StateRestorationLevel="Low" > <LayoutSettings AutoHeight="true" AutoFitColumns="true" AllowColumnMove="Yes" AllowContextMenu="True" AllowFilter="Yes" AllowGrouping="Yes" AllowSorting="Yes" AlwaysShowHelpButton="False" HideColumnsWhenGrouped="No" AllowSelectColumns="Yes" AutoFilterSuggestion="True" ShowColumnAction="True" ShowRefreshButton="False"> <ClientSideEvents OnInitializeRow="WebGridPrices_OnInitializeRow" /> </LayoutSettings> <RootTable Caption="Prices found" > <Columns> <ISWebGrid:WebGridColumn Caption="ProductNumber" DataMember="productnumber" Name="productnumber" Width="150px" ColumnType="Custom" TreatMarkupAsLiteralText="True"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PriceType" DataMember="priceType" Name="priceType" Width="160px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PriceList" DataMember="priceName" Name="priceName" Width="160px" > </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Quantity" DataMember="minQty" DataType="System.Decimal" Name="minQty" Width="70px" DataFormatString="#" > <CellStyle HorizontalAlign="Right"> </CellStyle>
</ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PricePerUnit" DataMember="price" DataType="System.String" Name="price" Width="90px" DataFormatString="c"> <CellStyle HorizontalAlign="Right"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PriceUnit" DataMember="priceUnit" DataType="System.Decimal" Name="priceUnit" DataFormatString="#" Width="70px" > <CellStyle HorizontalAlign="Right"> </CellStyle>
</ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="DiscountScale" DataMember="discountscalename" Name="discountscalename" Width="150px" ColumnType="HyperLink" > </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="minDiscount" DataMember="minDiscount" Name="minDiscount" Width="60px"> <CellStyle HorizontalAlign="Right"> </CellStyle> </ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="maxDiscount" DataMember="maxDiscount" Name="maxDiscount" Width="60px"> <CellStyle HorizontalAlign="Right"> </CellStyle> </ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="maxCommission" DataMember="maxCommission" Name="maxCommission" Width="60px"> <CellStyle HorizontalAlign="Right"> </CellStyle> </ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="manualPrice" DataMember="manualPrice" Name="manualPrice" Width="0px" ColumnType="CheckBox" ShowInSelectColumns="No" Visible="false" EditType="NoEdit"></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="manualDiscount1" DataMember="manualDiscount1" Name="manualDiscount1" Width="0px" ColumnType="CheckBox" EditType="NoEdit" ShowInSelectColumns="No" Visible="false"></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="fixDiscount1" ShowInSelectColumns="No" Visible="false" DataMember="fixDiscount1" Name="fixDiscount1" Width="0px"><CellStyle HorizontalAlign="Right" > </CellStyle></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="manualDiscount2" DataMember="manualDiscount2" Name="manualDiscount2" Width="0px" ColumnType="CheckBox" EditType="NoEdit" ShowInSelectColumns="No" Visible="false"></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="fixDiscount2" ShowInSelectColumns="No" Visible="false" DataMember="fixDiscount2" Name="fixDiscount2" Width="0px"><CellStyle HorizontalAlign="Right" > </CellStyle></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="manualDiscountAmount" DataMember="manualDiscountAmount" Name="manualDiscountAmount" Width="0px" ColumnType="CheckBox" DataType="System.Boolean" EditType="NoEdit" ShowInSelectColumns="No" Visible="false"></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="fixDiscountAmount" DataMember="fixDiscountAmount" Name="fixDiscountAmount" Width="0px" DataFormatString="c" ShowInSelectColumns="No" Visible="false"><CellStyle HorizontalAlign="Right"> </CellStyle></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="fixCommission" DataMember="fixCommission" Name="fixCommission" Width="0px" ShowInSelectColumns="No" Visible="false"><CellStyle HorizontalAlign="Right"> </CellStyle></ISWebGrid:WebGridColumn><ISWebGrid:WebGridColumn Caption="discountScaleId" DataMember="discountScaleId" DataType="System.Guid" Name="discountScaleId" Width="1px" Visible="false" ShowInSelectColumns="No"> </ISWebGrid:WebGridColumn> </Columns> <SortedColumns> <ISWebGrid:WebGridGroup ColumnMember="productnumber" SortOrder="Ascending" /> <ISWebGrid:WebGridGroup ColumnMember="minQty" SortOrder="Ascending" /> </SortedColumns> </RootTable> <ClientBindingSettings DataSourceType="ClientDataSource"> </ClientBindingSettings> </ISWebGrid:WebGrid> </td> </tr> </table> <ISWebDesktop:WebFlyPostBackManager ID="uiService" runat="server" ServiceUrl="PriceInfo.aspx" ServiceType="WebForm" AutoEventWireup="true" WebServiceResponseFormat="Json" ShowLoaderOnBusy="True" LoaderHostControlID="spStatus" BlockPageUIOnBusy="True" > <FlyPostBackSettings PostInputControls="True" PostViewState="True" /> <LoaderTemplate> <img src="images/is_progress-16.gif" align="absmiddle" /> <%= Wuerth.Phoenix.Speedy.Multilanguage.SpeedyResources.ResourceManager.GetString("PriceInfo_Message_SearchingPrices", ci) %> </LoaderTemplate> <LoaderStyle Font-Names="Tahoma" Font-Size="14px" > </LoaderStyle> </ISWebDesktop:WebFlyPostBackManager> </div>
<ISDataSource:ISDataSource ID="ISDataSourceProduct" runat="server" SchemaName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSet"> <Tables> <ISDataSource:ISDataSourceTable SelectMethod="GetData" TableName="p_GetproductBaseInfo" TypeName="Wuerth.Phoenix.Speedy.OrderlineGrid.PriceInfoDataSetTableAdapters.p_GetproductBaseInfoTableAdapter"> <SelectParameters> <asp:QueryStringParameter DefaultValue="1033" Name="languageID" QueryStringField="userlcid" Type="String" /> </SelectParameters> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource> <asp:HiddenField ID="HiddenAccountId" Value="" runat="server" /> <asp:ScriptManager ID="ScriptManager2" runat="server"> <Scripts> <asp:ScriptReference Path="script/shortcut.js"/> <asp:ScriptReference Path="script/numberFormat154.js"/> <asp:ScriptReference Path="script/Utility.js"/> </Scripts> </asp:ScriptManager> </form></body></html>
we have the error using the webinput also your example, on 32 bit machine all works fine, instead on 64 bit we have that problem.
do you have news about this bugfix?
Hi Yudi,
with WebScheduler version 3.0.1000.5 the issue is solved and the bug in the alignment of the events in the scheduler cells and in the drag and drop of events I told you in my last message in this post does not appear.Regards,Vince
with WebScheduler version 3.0.1000.5 the issue is solved.
Regards,
I updated WebScheduler to version 3.0.1000.5 and WebDesktop to version 3.0.7200.310, but I still have problem regarding that issue.
I want to color since 2010-03-29 till 2010-04-02, the code I use is the following:
function WebScheduler1_OnAfterRenderView(controlId, viewMode) { var WebScheduler1 = ISGetObject(controlId); var isHourArea = viewMode != "Timeline" && viewMode != "Month"; var arr = new ISArray(); arr.Add(new WebSchedulerDateRange(new Date(2010, 2, 29, 0, 0, 0, 0), new Date(2010, 3, 3, 0, 0, 0, 0), 1, "DateTime")); var elements = WebScheduler1.GetCellElements(arr); SetBackgroundColor(elements, "#555500", isHourArea); return true;}function SetBackgroundColor(elements, color, isHourArea) { for (var i = 0; i < elements.length; i++) { var el = elements[i]; if (el != null) { if (isHourArea) { el.children[0].style.backgroundColor = color; } else { el.style.backgroundColor = color; } } }}
as you can see I use the instruction
arr.Add(new WebSchedulerDateRange(new Date(2010, 2, 29, 0, 0, 0, 0), new Date(2010, 3, 3, 0, 0, 0, 0), 1, "DateTime"));
that should be correct to get cells since 2010-03-29 till 2010-04-02.
Now look at the attached images:
I tested the nightly build hotfix, it solve the issue described here and some other issues reported in other posts created by me. Anyway I think that it introduces some bug in the alignment of the events in the scheduler cells and also in the drag and drop of events, for example I want to show you the screen shot in attachment: as you can see the event selected is in 26th of May but the web callout show that the event should be in 25th of May and querying the database I can see that the event starts on 25th of May as show in the call out.
I will not go more in detail about that because the hot fix is not a released version.
Are there any new about a release date for version 3_0_1000_5?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname