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
The issue has been sucessfully replicated in our environment using the steps you describe. A bug report, bug #407, has been submitted to our developer. We will inform you if there is any update or progresss regarding this issue.
It will be similar with the steps on this article, How to use an ASP.NET application to query an Indexing Service catalog by using Visual Basic .NET
However, step #4 and #5 under Create an ASP.NET Web application will need to be modified to bind the data to WebGrid. We have already provided a sample to bind DataTable to a WebGrid using InitializeDataSource server side event. The sample is located in our WebGrid tutorial on BindingFlat.aspx page under V3.1 folder
Currently, we do not have a feature to modify the text of the FieldList header. However, this could be achieved using a workaround.
If your grid will show Chart initially, we could use javascript to find the element and modify the inner HTML. Here is the snippet to modify the FieldList caption from Chart Field List [ Orders ] to Chart Field List ( Orders )
function WebGrid1_OnAfterInitialize(controlId) { ModifyDefaultText(controlId); }var t = null;function ModifyDefaultText(controlId) { var grid = ISGetObject(controlId); var containerId = grid.Id; var suffix = "TableFieldList"; var tblElem = document.getElementById(containerId + '_' + suffix); if (tblElem == null) t = setTimeout(function() { ModifyDefaultText(controlId); }, 20); else { t = null; tblElem.getElementsByTagName("table")[1].getElementsByTagName('td')[0].innerHTML = "Chart Field List<br/> ( Orders )"; }}
Unfortunately we could not replicate the issue in our environment, we have tested this issue using ProgrammaticExportClientside.aspx sample.
Since you mention it does work in IIS 6 and not IIS 7, have you use the correct anonymous access account in IIS 7 as detailed in the article Here
Please also make sure that the anonymous account has the proper rights for the bin folder.
Without modifying the code you could add a mousedown event during enter edit mode to the dropdown icon image to reposition the image. However, it is highly suggested to achieve this feature to modify the unophuscated code.
Here is the snippet, again in the sample I always position the sliderbar in top left corner:
function WebGrid1_OnEnterEditMode(controlId, tblName, editObject) { var grid = ISGetObject(controlId); var dropDownID = editObject.gridId + "_DDSlidebar"; Listener.Add(document.getElementById(dropDownID), "onmousedown", function() { repositionSlidebar() });}function repositionSlidebar() { t = null; t = setTimeout(function() { document.getElementById("placeholderSlidebar").style.top = "10px"; document.getElementById("placeholderSlidebar").style.left = "10px"; }, 100);}
ISDataSource will generate multiple key in the Cache object for its internal mechanism, just as you reported before. In order to invalidate the data you will need to clear all the keys generated by the ISDataSource in the Cache object.
The idea is to iterate all the Cache object key and delete the key that match the pattern of the key created by the ISDataSource. In the snippet the CacheKeyDependency is "key1"
protected void Button1_Click(object sender, EventArgs e){ IDictionaryEnumerator CacheEnum = Cache.GetEnumerator(); ArrayList keyList = new ArrayList(); while(CacheEnum.MoveNext()) { if (CacheEnum.Key.ToString().Contains("key1:") || CacheEnum.Key.ToString() == "key1") { keyList.Add(CacheEnum.Key); } } foreach (string key in keyList) { Cache.Remove(key); } GridView1.DataBind();}
ISDataSource has provided a function to clear the table cache, using the ClearCache function of the ISDataSource table. We could demonstrate this function by modifying the UsingCacheKeyDependency.aspx ISdataSource sample. Please add an ASP.NET button with a click event handler:
protected void Button1_Click(object sender, EventArgs e){ ISDataSource1.Tables.GetNamedItem("TimedDataKeyDependency").ClearCache(); GridView1.DataBind();}
A button click will refetch the data because the cache has already been cleared
<ISWebGrid:WebGridColumn Caption="Price" DataMember="Price" Name="Price" Width="100px" DataFormatString="c"></ISWebGrid:WebGridColumn>
Could you explain in more detail the setting of the WebGrid, controls included in the page, and more detailed steps to reproduce the issue? I could not reproduce the error using provided Intersoft WebGrid sample
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