如何在我的asp.net网站上实现配置文件完整性栏 [英] How to implement Profile completeness bar in my asp.net website

查看:90
本文介绍了如何在我的asp.net网站上实现配置文件完整性栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi..friends,



我想在用户档案完整性中使用进度条,就像在naukri.com中一样。条形图显示完成的个人资料的百分比。

所以请给我这个想法...



谢谢

Sunil sharma

hi..friends,

I want to use progress bar for the User Profile completeness Like in naukri.com. The bar shows the percentage of the profile completed.
So please give me idea regarding this...

Thanks
Sunil sharma

推荐答案

Hello Sunil,



我能想到的简单方法是将配置文件划分为逻辑部分,并为每个逻辑部分分配权重。这将允许您计算完整性,然后使用该最终图形来控制进度条显示。例如,如果个人资料包含个人信息,当前工作信息,过去的工作信息,技能信息等部分,则每个部分的权重可能为25%。如果您有5个子项目,则每个部分内的单个项目的重量为5%。



您甚至可以选择为逻辑单独的项目分配不同的权重部分。



发表我的评论作为正式答案(由Ryan Sir建议)



问候,
Hello Sunil,

The simple way I can think of is to divide the profile into logical section and assign weight to each logical section. This will allow you to compute completeness and then use that final figure to control the progress bar display. For example if profile has sections like personal info, current job info, past jobs info, skill info then weight for each section could be 25%. Within each section if you have 5 sub items then individual item will carry a weight of 5%.

You can even choose to assign different weights to individual items in a logical section.

Posting my comments as a formal answer (as suggested by Ryan Sir)

Regards,


这篇关于如何在我的asp.net网站上实现配置文件完整性栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆