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
Thanks Hans, but this doesn't solve the problem.
I downloaded the latest hotfixes and updates but that hasn't worked either.
To recreate:
1. Create a grid with the same columsn I've created above.
2. On initial page load, you can create a List(of String()) of some values i.e.
dim rowData1 as String() = {"", "1", "1", "(", "1", ",", "1", ",", "1", ")", "1", "", "") dim rowData2 as String() = {"", "2", "2", "(", "2", ",", "2", ",", "2", ")", "2", "", "") dim myList as new List(of String()) myList.add(rowData1); myList.add(rowData2);dim newRow as New WebGridRow(myList);myGrid.RootTable.Rows().add(newRow);
Add as many of these as you want. Save this list in the session somewhere too.
3. Add a button on the screen that will create a post back. For that buttons handler, retreive the data from session, iterate through the list and add the rows again i.e.
''' <summary> ''' binds this list to the grid ''' </summary> ''' <param name="results"></param> ''' <remarks></remarks> Private Sub BindGrid(ByVal results As List(Of String())) ' Note (XXX): we can't bind the grid by simply setting the datasource property since this is a list of string arrays ' we have to iterate through the list and add each row manually If results IsNot Nothing Then For i As Integer = 0 To results.Count - 1 Dim data As String() = results(i) Me.wbCompareResults.RootTable.Rows().Add(New ISNet.WebUI.WebGrid.WebGridRow(data)) Next End If End Sub
Below is the RowInitialize handler for the grid. I am inserting a checkbox for the first column:
Private Sub wbCompareResults_InitializeRow(sender As Object, e As ISNet.WebUI.WebGrid.RowEventArgs) Handles wbCompareResults.InitializeRow If e.Row.Type = ISNet.WebUI.WebGrid.RowType.Record Then ' add the checbox control ' I had some other code here for the checkbox, but this should be sufficient. e.Row.Cells(0).Text = "<input type=""checkbox""/>" End If End Sub
I also added the client side OnInitialize function you provided.
Looking forward to your response.
What about the WebGrid row shift issue?Thanks
Hi Bernard,After the update yesterday, the WebGrid version is: 7.0.7200.533But I don't seem to have the WebDesktop.NET 3.0 folder. Did it get deleted with the update? How can I get it back?
Thanks
Hi Bernard,I had the older version of the WebGrid. So I ran the update manager and updated my WebGrid. But that behavior still exists. I am on IE8.That said, after the update, I havent been able to make a successful deployment. I keep getting the Context Menu error suggesting that I need to register the SmartWebResources. Which I did. I noticed the between my last deployment and the current one. My project is missing the WebDesktop.dll and WebDesktopResources.dll which I assume are the two files I need for this and based on a thread I saw on here. What is the best way to go about making sure that all my refrences in my project are current. Because I can't seem to find those 2 dll files anywhere to get this to work again.Thanks
Yes, it is working fine now. Thank you & regards.
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