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 Yudi
A bit of background.
We use ISWebdesktop webpane to load different aspx pages in ContentMode="UseIFrame". What seems to be happening is that when loading the webpane with another page, the previous page is throwing the j-script error : "Microsoft JScript runtime error: 'wg72d21' is null or not an object"
Snip-it from VS2010:mb3a59:function(v2d156){window.attachEvent("onload",function(){wg72d21.mab836(v2d156);});window.attachEvent("onunload",function(){wg72d21.m6f617(v2d156.Id);}); Additional information in the below is from the JS//GeneratedbyIntersoftScriptOptimizerV1.5+IntersoftJSEngineMaxObfuscate(tm)V1.0//GeneratedDatetime:9/19/20089:46:07AM//Copyright(c)2005IntersoftSolutions.//Unauthorizeddecryption/reproductionofanycodescontainedhereinisstrictlyprohibitedandwillresultinseverecivilandcriminalpenalties.//**StartEncode**varWG40={COLHEADER:"CH",COLFOOTER:"CF",BODY:"TB",COLHEADERGROUP:"CHG",COLFOOTERGROUP:"CFG",COLGROUP:"CG",GROUPBYBOX:"GBB",GROUPBYBOXLABEL:"GBBInfo",STATUSBOX:"Status",STATUSBAR:"Stat",STATUSBARRIGHT:"Stat2",STATUSICON:"StatIcon",STATUSBARCOMMAND:"Stat3",FREEZEBAR:"Freeze",HTMLDIV:"dv",HTMLTABLE:"tb",HTMLCELL:"td",HTMLROW:"tr"};functionWebGrid(vb5834){this.ClassName="WebGrid";this.Version="5.0.7200";this.BuildNumber="5";this.MajorVersion="5.0";this.RequiredFrameworkVersion="2.0.5000.18";this.XmlNamespace="isnet.webui.webgrid";ISControl.call(this,vb5834);IFlyPostBack.call(this,"WebGridRequest");
Hi Guys
Was there any resolution to this problem, as I have also just recieved this issue, but in the webgrid.
Thanks
Daniel
We are currently using webgrid 5.0.7200.18, WebDesktop 2.0.2007.15, WebUI.NET 3.0.5000.1
I cannot seem to find your video. I am getting a 404 not found at its current location.
Hope this helps.
Regards
I have imported your sample file into our system and it does replicate the issue. At load all is good, then select level product, and hit reload, and then the issue. have attached a screen shot. The only changes i made was to add a designer class as we use a web application and not a website.
The Reload Button does fire off a Custom paost back that is used in the InitialzePostback method, but before this the following happens:
Page Load is fired and in this the grid is checked to see if it is Flypostback and clears the datasource and rebinds the grid. it then calls the initdatasource method and then the prepare databinding. After all this is calls the init postback.
I have attempted your suggestion, but it is just forcing it to go down the same code path again. all the data is correct and working, what im looking for is for the grid to be rerendered with the new column structure.
Due to this being part of a much larger system. I cannot find a good way of decoupling this page from the system without problems. I have included screen shots and a file with our code structure.
As an extra note, here is what a double grid looks like when not sizing correctly
Thanks will try that, and will remember to do that next time
Hi Handy
I have solved my problem. I have used the edit type checkbox, but found my main issue was with the columns, and the layout settings that needed to be tweeked. Thanks for the help though.
If you dont mind can I ask you another question on the webgrid, in that the grid is rendering as a control in the page, but the grid is coming up 'minimised' with data in it. Is there something I am missing.
have included the two grid render and also the grids code + the skin for those grids
Table Code and grid code:
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%; table-layout: fixed;"> <tr> <td style="height: 50%"> <ISWebGrid:WebGrid ID="grdMaint" runat="server" SkinID="MaintenanceGrid"> <RootTable Caption="Maintenance" DataKeyField="RoleID" GridLineStyle="NotSet" AllowSorting="No" AllowEdit="Yes" DataMember="Roles"> <Columns> <ISWebGrid:WebGridColumn Caption="Role ID" DataMember="RoleID" EditType="NoEdit" Name="RoleID" Visible="False" Width="0px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn AllowGrouping="No" AllowSizing="No" AllowSorting="No" Bound="True" Caption="Selected" ColumnType="CheckBox" DataMember="Active" DataType="System.Boolean" EditType="NoEdit" IsRowChecker="True" Name="IsSelected" ShowInSelectColumns="No" Width="50px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Role Name" DataMember="RoleDescr" Name="RoleDescr" Width="100%" EditType="NoEdit"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid> </td> </tr> <tr id="rowGrid2"> <!-- this row containing the 2nd grid will be hidden i fnot required --> <td style="height: 50%"> <ISWebGrid:WebGrid ID="grdMaint2" runat="server" SkinID="MaintenanceGrid" Height="100%"> <RootTable Caption="Maintenance" DataKeyField="StoreNumber" GridLineStyle="NotSet" AllowSorting="No" AllowEdit="Yes" DataMember="Stores"> <Columns> <ISWebGrid:WebGridColumn AllowGrouping="No" AllowSizing="No" AllowSorting="No" Bound="True" Caption="Selected" ColumnType="CheckBox" DataMember="Active" DataType="System.Boolean" EditType="NoEdit" IsRowChecker="True" Name="IsSelected" ShowInSelectColumns="No" Width="50px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Store Number" DataMember="StoreNumber" Name="StoreNumber" Width="100px" EditType="NoEdit"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Store Name" DataMember="StoreName" Name="StoreName" Width="400px" EditType="NoEdit"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid> </td> </tr> </table>
Skin Code:
<ISWebGrid:WebGrid SkinID="MaintenanceGrid" runat="server" HorizontalAlign="NotSet" DataCacheStorage="Session" ViewStateStorage="None" Width="100%" Height="100%"> <FlyPostBackSettings PostInputControls="True" /> <LayoutSettings AllowEdit="Yes" AlternatingColors="True" AlwaysShowHelpButton="false" EditOnClick="true" ShowRefreshButton="False" AutoFitColumns="True" CellPaddingDefault="2" GridLineColor="237, 237, 237" GridLineStyle="Solid" HeaderClickAction="SortMulti" HideColumnsWhenGrouped="No" NewRowLostFocusAction="AlwaysPrompt" RowHeightDefault="18px" RowLostFocusAction="AlwaysUpdate" PagingMode="None" PersistRowChecker="false" InProgressUIBehavior="ChangeCursorToHourGlass" HelpURL="/DolfinLiveHelp/DolfinLive.html?grid.htm"> <HeaderStyle CssClass="Header" /> <GroupRowInfoStyle CssClass="GroupRow" /> <EditTextboxStyle CssClass="EditTextbox" /> <FrameStyle CssClass="Frame" /> <SelectedRowStyle CssClass="SelectedRow" /> <AlternatingRowStyle CssClass="AltRow" /> <EditFocusCellStyle CssClass="EditFocusCell" /> <RowHeaderStyle CssClass="RowHeader" /> <StatusBarStyle CssClass="StatusBar" /> <RowStyle CssClass="Row" /> <NewRowStyle CssClass="NewRow" /> </LayoutSettings></ISWebGrid:WebGrid>
I have used the row checker on many occasions and it is an awesome feature, but it is not the problem.
I have a table that is populated with boolean values. Along the x axis I have lets say stores and on the y axis users. I wish to be able to load them into a grid and be able to manipulate the boolean values with checkboxes, after which I will save the userstore matrix back to the table.
Let me know if this helps
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