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 are using Webgrid inside an update panel.
See the screenshot for the reference.We have Listbox on the LHS side and Webgrid on RHS side.
There are two buttons >> << which will move the items from listbox to webgrid and vice versa.
When we click on the << >> buttons we are getting javascript error on webgridUI.js.
See the screenshot WErrror.If we did not place the webgrid inside the update panel we are not getting this javascript error.
Please advice.it is urgent
Regards,
Madhavan
<asp:UpdatePanel runat="server" ID="UpdatePanel1"> <ContentTemplate> <div style="padding:5px;height:390px;"> <div class="row"> <div class="cell threecol" > <telerik:RadComboBox EmptyMessage="Select A DataProvider" ID="radComboTagProviders" runat="server" AutoPostBack="true" OnSelectedIndexChanged="radComboTagProviders_SelectedIndexChanged" Width="180"></telerik:RadComboBox> <telerik:RadListBox ID="radLstTags" runat="server" SelectionMode="Multiple" EnableEmbeddedSkins="false" Skin="Cust" Height="360" width="180" > </telerik:RadListBox> </div> <div class="cell smallcol"> <asp:Button ID="btnAddReportTags" Text=">>" runat="server" OnClick="btnAddReportTags_Click" /> <asp:Button ID="btnDeleteReportTags" Text="<<" runat="server" OnClick="btnDeleteReportTags_Click"/> </div> <div class="cell seventycol"> <ISWebGrid:WebGrid ID="webgridTags" runat="server" horizontalalign="NotSet" Width="100%" Height="320px" AllowAutoDataCaching="false" ViewStateStorage="PageCache" DataCacheStorage="PageCache" DisableFileSystemChecking="true" EnableWebResources="Never"> <LayoutSettings InProgressUIBehavior="ChangeCursorToHourGlass" FilterBarVisible="false" AlwaysShowHelpButton="false" PagingMode="ClassicPaging" CellClickAction="RowSelect" UseRelativePositioning="true" AllowAddNew="No" AlternatingColors="False" GridLineStyle="Solid" CellPaddingDefault="5" RowHeightDefault="15px" GridLines="None" AllowSorting="Yes" AllowGrouping="Yes" AllowFilter="Yes" AllowSelectColumns="Yes" AllowColumnMove="Yes" AutoFitColumns="true" RowHeaders="No" PagingSize="10" AllowEdit="Yes"> <ClientSideEvents OnRowContextMenu="webgridTags_OnRowContextMenu" OnUnhandledError="webgridReportItems_OnUnhandledError" OnInitialize="HidePadColumn" OnColumnContextMenu="HideContextMenuItems"></ClientSideEvents> <HeaderStyle Wrap="false" Overflow="hidden" OverflowX="hidden" OverflowY="hidden" CssClass="GridHeaderStyle"></HeaderStyle> <FocusCellStyle CssClass="GridFocusCellStyle"></FocusCellStyle> <FilterRowStyle CssClass="GridEditFocusCellStyle" ></FilterRowStyle> <EditTextboxStyle CssClass="GridEditTextBoxStyle"></EditTextboxStyle> <EditFocusCellStyle CssClass="GridEditFocusCellStyle"></EditFocusCellStyle> <FrameStyle GradientType="Vertical" CssClass="GridFrameStyle"></FrameStyle> <SelectedRowStyle CssClass="GridSelectedRowStyle"></SelectedRowStyle> <AlternatingRowStyle CssClass="GridAlternatingRowStyle" OverflowX="hidden" OverflowY="hidden"></AlternatingRowStyle> <StatusBarStyle CssClass="GridStatusBarStyle"> <Padding Top="2px" Left="2px" Bottom="2px" Right="4px"></Padding> </StatusBarStyle> <RowStyle Overflow="hidden" OverflowX="hidden" OverflowY="hidden" CssClass="GridRowStyle"></RowStyle> <TextSettings Language="UseCulture"></TextSettings> <LostFocusRowStyle CssClass="GridSelectedRowStyle"></LostFocusRowStyle> </LayoutSettings> <RootTable DataKeyField="TagID"> <SortedColumns> <ISWebGrid:WebGridGroup ColumnMember="TagName" SortOrder="Ascending" /> </SortedColumns> <Columns> <ISWebGrid:WebGridColumn Caption="TagName" DataMember="TagName" Name="TagName" EditType="NoEdit" > </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Alias" DataMember="Alias" Name="Alias" > </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="DataProvider" DataMember="DataProviderName" Name="DataProviderName" EditType="NoEdit"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Name="TagID" DataMember="TagID" IsRowChecker="true"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid> </div> </div> </div> </ContentTemplate> </asp:UpdatePanel>
Hello,Thank you for your code.But unfortunately, I have difficulty in replicating your issue.Due to I don’t have the client side / java script code.Would you mind to provide a simple sample, so I can replicate your issue easily?Thank you.Regards,Hans.
Hi Hans,
what is the best way to achieve the scenario which i mentioned.?
In the ListBox we have APis like Listbox.Items.Remove(listboxitem) like that how we can remove the Webgrid row.What Apis we can use.?
Scenario is:
1.Say we have Users John,Jim and Kevin in Listbox.2.When we click on Move right the selected item say John then John details in Listbox gets moved to Webgrid.3.When we select the John details row from webgrid and click on moveleft then john details row should get deleted and added in listbox.
We will see whether we can provide a sample by replicating the issue.
Regards.Madhavan
Hi Bernard,
I have attached the Page which you can use for seeing the issue.
Please advice.
Hello,Thank you for your sample. I’ll try to investigate your sample.Meanwhile, could you please try to set the “PersistRowChecker” property of WebGrid to “True"?After set the property, please let me know your response.Regards,Hans.
Hello,I made a sample based on your code.But unfortunately, it works on my end.I can add or remove the item from WebGrid without having webpage error.Please have a review on my sample and let me know your response.Thank you.Regards,Hans.
FYI,We are using webgrid dll version 7.0.7200.533.Project is running in framework 4.0.
You have put only one grid in that page.Problem is happening with multiple grids.
Please put two grids in the same page and try the remove and add operation in the second grid.
if we have one grid we are not getting the javascript error when we try to remove the item from webgrid.
If we have more than one grid and if we are removing the selected item from the grid using << button we are getting javascript error in webgridui.js
I have modified the attached sample page.you can use the same page in your environment and try.
Regards,Madhavan
Please find enclosed the attached project also for the reference whcih includes the Test.aspx page which replicates the issue.
Hello,
Thank you for the sample. I can replicate the issue in here. I will forward this to our developer teams.
Regards,Handy
Hi Handy,
Please provide us a patch ASAP as it is dependent on our project release schedule.
I hope you understand.
Thanks in advance,
Any updates on this please.
This is urgent.
Hello,Your issue is already queued in our work items.Do you have deadline for your project? Would you mind to provide the deadline of your project?And could you provide your order reference to my email (hans@intersoftpt.com) ?FYI: If the issue has been fixed, I'm afraid there are not going to be any further updates for WebGrid 7.Due to WebGrid 7 has now been discontinued.Thank you for your understanding and patience.Regards,Hans.
We are using the Webgrid from version 4 onwards.
Deadline for the project is November.
We have 8 Team licenses for Intersoft Webgrid 7.All of a sudden you cannot discontinue the support for webgrid 7.
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