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 Handy,
What do you mean with "worked well"? In my last post I mentioned for example this new bug: You resize the column header and then click on any column header to sort that column. Please see the attached screenshot. Let me know if you cannot reproduce this.
I'll try to create more samples to show you also not-refreshing header problem and maybe a smaller sample to show the slider bug. But in any case you can still start debugging the slider problem with one of your developers if you can reproduce it.
Eric
Hi
I have tested your workaround as mentioned in my last post. It doesn't work:
Is this a problem with this version I'm using? I'm using the latest overnight build, not the latest public release. Or any other ideas?
Regards,
Hello Handy,
Thanks for your response. Looking at your files, I can see the following changes:
Why did you move the column creation into PrepareDataBinding event? I think Init is the correct event, as this is a one-time column initialization. Actually this would belong into the aspx file - it's just that I created this through code instead of static definition.
Regarding the move of the SetColumnCaptions and SetColumnVisibility, I'll have to test if this is viable or has any side-effects.
And for the slider problem I'm not sure how I can help you fix this problem. It just doesn't work and you can reproduce it (as far as I understood). So let me know if I need to assist somehow.
Next steps: Please check my question about the Init event for row initialisation and try to fix the slider problem. I'll have a look at the Captions/Visibility in the meantime.
Well, actually the JavaScript code cannot be hidden. But it is scambled in a way so that it's not very readable. I agree that having the source code would help many customers to debug their software, because it's not always clear if it's a problem in your own code or in the product.
It had lots of support calls (or now posts here in the Community) already asking for help. The problem is that the first reply takes at least an entire business day and until a solution or workaround is found it usually takes several weeks. When we would have the source, we could potentially fix the problem ourself, at least until Intersoft releases a fix.
Yes! This is what was missing. Thanks a lot!
Any updates yet?
Thanks for your post A Yousif. We are using CSS already as you can see in the sample I attached in my original post, so there is nothing to improve. We cannot show less data - all rows are needed at once. We even need to be able to sort them several times by different columns. So I still like to hear an official statement from Intersoft.
To repeat my final question to Intersoft here:
In short, can you tell me:
Please also consult your sales department before answering. Thanks.
I know how the CustomSort works. Thanks for this suggestion anyway. But my problem is that it doesn't sort at all, not even alphabetically.
I'm not sure which sample you mean. I cannot find samples on your homepage. So I went to search on what was installed with your product. There is no installation, but I found a tutorial with some samples. In the folder C:\Program Files\Intersoft Solutions\WebGrid.NET 6.0\Tutorials\WG60TutorialsVB\V5.0 I found a sample called SelectSelfRefChildRow.aspx, which would be the most closest to what I want. But that sample has sorting disabled.
The other three samples there that begin all with Hierarchical_... all have sub-tables with separate titles. This is not what I need.
If you look at my sample here:
http://www.intersoftpt.com/Community/WebGrid/Design-question-How-to-add-OnClick-Handler-on-a-field-in-WebGrid/
and take the MergeButtonSample_v3.zip, and open the file DBCalls.vb and in Sub AddRow add this code:
r("R_a") = Rnd() r("R_b") = Rnd() r("V_a") = Rnd() r("V_b") = Rnd()
just before the If Not ParentBlockId...
Then run the sample and try sorting on any field. You can see that the sort-triangels appear in the header, but nothing gets sorted. This is what I meant.
Does this work with a newer WebGrid or do I have to write code for this? If code, then how?
Thanks,
Back from my vacation, I read your response above. Your above code was about the problem why storing the values in the Session object might have failed. Correct?
Actually I'm not using the Session object anymore. As mentioned, I'm storing the expand/collapse status in a form field on the page. Please also see my attached sample, version 3. This is the final, working solution for me.
The only remaining problem, as mentioned in my last post, is why I have to initialize the Session object (line 20 in Default.aspx.vb). I assume a bug in WebGrid. Can you check that?
Ok, after working on this for weeks now, I found the final solution. Manually caching the expand/collapse status now works.
What I have done:
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