We have a legacy Windows application from .net framework 3.5 and we are upgrading it to .net framework 4.8. One issue we are facing is we have a treeview where its data is automatically filled up and displayed when the form is first loaded in form_load() event. However when upgrading to .net 4.8 it does not show up automatically until we do loading it again.
Nothing has been changed in the code as below
treeView1.BeginUpdate();
treeView1.Nodes.Add()...
treeView1.EndUpdate()
I have tried several below ways but still not working:
select a node by treeView1.SelectedNode after EndUpdate()
Invalidate()
Refresh()
Update()
The weird thing is if we do it exactly the same via a button click after form loaded then it worked.
Any helps?
Thanks,
Kelvin
FYI
I have put the tree data loading into form Shown event and it works.
Related
I'm trying out the pre-release CollectionView control for Xamarin.Forms 4.0 and I've run into a small hickup.
I've ben able to get binding, styling, etc. working perfectly, but I'm unable to figure out how to implement Pull-To-Refresh. This is in the shared code project and final product targets iOS and Android only.
I've been over Microsoft's documentation and haven't been able to find a clear solution for this.
The only reference I've seen to anything remotely related to this issue comes from a GitHub discussion on the XF page (Xamarin.Forms.CollectionView Spec Discussion) where they mention that the IsPUllToRefreshEnabled functionality has been moved from the ListView API to a new RefreshView control.
Can anyone shine any light on this issue and if this is even possible to implement? (Data for collection view is fed by Refit API call)
The RefreshView is still in spec, not yet implemented (see the Github page)
However, from the comments, you can try and use PullToRefresh Nuget, that allows pull to refresh on a scrollview or a listview.
I have a page generated by Telerik MVC with a grid with popup editor. There are few ComboBoxes in the grid editor dynamically loading data from the server, in 5 ajax requests. Everything works fine in Firefox, IE and Edge, but in the Internet explorer requests takes quite long time and 3 of the requests are repeated. The result is, related ComboBoxes are not bound to its values and displays only the value without related ComboBox item assigned.
Firefox network activity:
Internet Explorer (red square are repeated requests):
I have tried to extend ajax timeout, but without effect. What is the proper solution for this problem?
The problem was solved by downgrading the Telerik MVC (and all related script/style files) from 2019.1.220.545 back to 2017.1.223.545. I have not tested any version between yet.
Edit:
Version 2018.2 is the last one working as expected.
I have tried to get the data-role="backbutton" kendo mobile ui feature to work but I am having issues. When testing the app on my iPhone 4 I get stuck in my app because the back button breaks the UX.
What happens is that when I am testing, I click heaps of back buttons (as they are used quite heavily in my app) and then randomly one decides to slide the previous view into the screen but only goes halfway and then snaps back (or some other type of visual glitch occurs). Then after that, all my navigation breaks down and I get stuck in the last view that I was in. Or better yet the links go to places that they are not supposed to. My tab bar does not work and either do links in the header. I have to exit the app completely, remove it from operating and try again. Seriously something wrong going on here.
I have tried to programatically add the back button by following the Kendo UI documentation but that does not work either. I am left with a button that does absolutely nothing when clicked - it may not even solve the issue anyway. I have looked using developer console in Google Chrome but I can't see any obvious issues.
Has anyone using Kendo Mobile UI experienced this issue before?
I downloaded the latest release of the Kendo UI build and the problem seems to have been resolved. Surprising! I assumed the Kendo framework was a bit more mature to be experiencing such a big issue. It was occurring when using slide transitions in navigation. Here is a link to the bug post on Github https://github.com/telerik/kendo-ui-core/issues/66
I have made slide show in adobe edge
when i use it in asp.net mvc3 razor view engine my jquery 1.8 ui (modal dialog, drag & drop) does not working anymore
Does anybody knows how i can solve this problem?
Edge animate uses jquery 1.7 by default. it might be a duplication of jquery calles so try to remove edge call or replace it to the 1.8 version.
I'm using a datepicker in my mvc3 application. the problem is that the controls below it are visable when it expands. this only happens in IE 8 which is being loading in a powerbuilder application. It works fine in IE9, FF8, and opera11.
This question talks about the registry key FEATURE_USE_WINDOWEDSELECTCONTROL affecting how a web browser control behaves in a PowerBuilder window. I haven't tested anything, but is sounds relevant based on the name of the key, even though your issue is visual and the referenced question talks about a crash.