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
In previous version, components that use WebMenu engine such as WebContextMenu, WebMenuBar, WebToolBar, WebDesktopManager, and WebNotification will have its window displayed in a special "popup" type when running in Internet Explorer browser.
The main advantage of the "popup" window type is its ability to display its content out of the browser's window boundary. However, Internet Explorer 7.0 (or newer) has removed this function from "popup" object and introduced limited positioning by design.
To overcome this limitation and to introduce other possible new features, the MenuWindowType is now added to WebMenu component.
Note: The default value is set to Popup to preserve the behavior in previous version.
Hope this helps.
Please ensure following checklist when deploying WebSite/WebApp which employs Intersoft controls:
Look forward to hearing back from you with the link to download the sample.
I haven't tested following solution further, but you can give it a try. It adds an AutoIncrement column to the DataTable.
Snippet code of OnInitializeDataSource event handler:
protected void WebGrid1_InitializeDataSource(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e) { OleDbCommand selectCommand = new OleDbCommand(); selectCommand.Connection = con; selectCommand.CommandText = "SELECT * FROM Customers"; OleDbDataAdapter da = new OleDbDataAdapter(); da.SelectCommand = selectCommand; DataTable dt = new DataTable(); dt.Columns.Add("RowNumber", typeof(int)); dt.Columns[0].AutoIncrement = true; dt.Columns[0].AutoIncrementSeed = 1; dt.Columns[0].AutoIncrementStep = 1; da.Fill(dt); e.DataSource = dt; }
WebGrid's column definition:
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="250px" UseDefaultStyle="True" Width="500px" RenderingMode="HTML5" OnInitializeDataSource="WebGrid1_InitializeDataSource"> <RootTable DataKeyField="CustomerID"> <Columns> <ISWebGrid:WebGridColumn Caption="Row Number" DataMember="RowNumber" Name="Row Number" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName" Width="100px"> </ISWebGrid:WebGridColumn> ... </Columns> </RootTable> </ISWebGrid:WebGrid>
The result is:
Where is the WebUI for ASP.Net documentation, where I can read about thes Smart Web Resources, etc.
I enclosed a video (SmartWebResourcesDocumentation.zip) as attachment. The video shows how to find SmartWebResources in WebUI Studio for ASP.Net documentation. Please feel free to let me know if you still have any difficulties to find/locate the documentation.
Where do I se if the app (in dev. machine) uses Smart Web Resources or not?
The image below shows WebSite using SmartWebResources.
While this one shows WebSite not using SmartWebResources.
disk-space on our server is no issue. Should I prefere using Smart Web Resources or not?
As best practice, it is highly recommended to enable SmartWebResources feature for all Intersoft's components. This will avoid developers to deals with the complexity in order to deploy their web application. For an instance, the JavaScript files, image, and other runtime client files need to be copied in order for the component to run properly.
Please allow me to assist you with the deployment problem one-by-one. First, let's start with the WebTreeView.
Everyting works fine on my development machine in all browser types (IE11, Chrome, FireFox).
During development phase, does the app (in development machine) uses SmartWebResources or not uses SmartWebResources? If the app in development machine doesn't use SmartWebResources then it would be as simple as xcopy the app to deployment server.
A simple WebSite with unbound WebTreeView is deployed to my IIS 8.5. Below is the settings which related to WebTreeView defined in web.config file.
<configuration> <appSettings> <add key="ISNet.WebUI.ISRes_Registered" value="false"/> <add key="ISNet.WebUI.v3_0_5000.OptimizeCss" value="true" /> <add key="ISNet.WebUI.v3_0_5000.OptimizeCssName" value="true" /> <add key="ISNet.WebUI.v3_0_5000.GroupCssStyles" value="true" /> <!-- WebTreeView Settings --> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.ImagesDirectory" value="~/CommonLibrary/Images/WebTreeView/"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.RenderingMode" value="HTML5"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.RuntimeLicenseKey" value="RUNTI-MELI-CENSE"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.ScriptDirectory" value="~/CommonLibrary/WebTreeView/V1_0_1500/"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.SharedScriptDirectory" value="~/CommonLibrary/Shared/"/> <add key="ISNet.WebUI.WebTreeView.v1_0_1500.EnableWebResources" value="Never"/> </appSettings> ... </configuration>
Note: the value shown at the above settings may differ/vary according to the configuration of deployment environment.
Please ensure that those settings have been configured properly. You can use the Network tool of IE 11 Developer Tool to determine which js files or images that missing (http404).
Yes, we need to specify the height of container if the grid height/width is set using percentage.
Glad to hear the good news.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.
ISNet.ActiveReports.Exporting.dll is the assembly that is used by WebGrid's exporting feature. It can be found in "[Installation folder]\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\bin" folder. There is no newer version of this assembly yet. If any, it will be included in WebUI.NET Framework 3 updates.
ISNet.WebUI.WebDesktop.Resources.dll responsibles for context menu feature in WebGrid. As the assembly name stated, it is a part of WebDesktop and can be found in "[Installation folder]\WebUI Studio for ASP.NET\WebDesktop.NET 4.0\bin" folder. Updates will be included in WebDesktop.NET 4.0 hotfix.
I created a simple sample of WebCombo and get the same result. When string value is entered, it seems that filtering fail and all records are shown in the result box of WebCombo.
You may try to use requery approach. This approach allows developer to write their own code for manual data retrieving. I followed this knowledge base and modify the query text into the following: "Select TOP 15 * From Categories Where (CategoryName Like 'con%') OR (Description Like 'con%')".
In your case you can use your own Where clause by adding ID and ITEM field.
I enclose my simple sample as attachment. Hope this helps.
The above screenshot shows my simple sample of WebContextMenu is rendered no IE 11 browser.
I enclosed the modified version of SimpleLayout.aspx (one of WebPaneManager sample) where WebButton and WebContextMenu are added into the Side pane. Please have the sample evaluated on your end and let me know if you have different result.
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