Hey folks, yesterday I have faced a weird issue, it's in a webpart that I have designed. Result is a high level defect :)
Issue: Dataview webpart not showing the list contents properly, it's just vanished. Development environment it's properly showing.
So I have started to search the root cause of the issue
1.Checked whether list instance properly deploying.....passed
2.Check dataview webpart markup in onet.xml and verify deployment......passed
3.Check and compare the xslt and parameters passing to the webpart......passed
4.Check Styles of the webpart...........issue occured
I have noticed webpart zone having a inline style as "display:none" which is hiding the webpart. So I have gone through the webpart styles again and unfortunately didn't find any inline style, causing issue.
So I have edit page:
1.Click on Restore webpart
2.Publish the page
Issue solved successfully.
Learning points: If we set restore on webpart it's get hide by adding inline style as "display:none". However this can be helpful to you in your daytoday life, so decided to share.
No comments:
Post a Comment