76 comments found.
Please provice us with a sample database .. to download we can NOT get the provided script to work.. thanks trond (at) base media . no
Provide me your email address
One last question
PROMISE!!
Is there a way to display all active usernames of users that are online instead the number of users online?
Thanks Your help is really appreciated!!!
Probably this feature will be seen in the upcoming version.
Perfect Thanks!
Hi, If you try to delete one user the program perform this action for the first item of grid always. Only the first record on page was deleted.
public static string DeleteUser(int userId)
userid it’s the first id of grid always for all pages.
Step 1: Replace the following
<a id="aDeleteUser" style="cursor: pointer;">
<i class="glyphicon glyphicon-trash text-danger" style="font-size: medium"></i>
</a>
<!-- BEGIN Modal Confirm -->
<div class="modal fade" id="modalDeleteConfirm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-body">
<h4>Are you sure?</h4>
<br />
<a id="aDeleteUserModal" class="btn btn-success" data-user-id="" data-dismiss="modal">Yes</a>
<input type="button" class="btn btn-danger" data-dismiss="modal" value="No" />
</div>
</div>
</div>
</div>
<!-- END Modal Confirm -->
Step 2: Under BindUsersList function replace
$(row).find("[id*=aDeleteUserModal]").attr("data-user-id", $(this).find("user_id_pk").text()); with
$(row).find("[id*=aDeleteUser]").attr("data-user-id", $(this).find("user_id_pk").text());
Step 3:
Add button click event
$("[id*=aDeleteUser]").click(function () {
$('#aDeleteUserModal').data('user-id', $(this).data('user-id'));
$('#modalDeleteConfirm').modal('toggle');
});
/* Delete user. */
$("[id*=aDeleteUserModal]").click(function () {
// **** //
});
Awseome! Thanks so much!! It is all working perfectly now!!
Hi,
Just one more question 
How do I add a new page to the web pages?
When I add a page to the tbl_um_form with a description and add it to the menu.ascx.cs as well as menu.ascx with lnkWebpage4 and log in with that user, the dashboard link is dispayed and the web pages link is hidden? If a user hasn’t got access to the newly added page the link is then still displayed instead of hidden?
Would you please be so kind to assist in adding a new page as I would like to add several other pages as well?
Thanks
Just one question? If a user has access to webpage1 only can you then hide the other links in stead of showing them and displaying the 401 page?
Your response would be greatly appreciated.
Thanks
Hi
Open the file menu.ascx.cs under wuc directory and update the code below:
/* Web Pages */
if (bool.Parse(dtPrivilege.Rows[3]["Read"].ToString()) == false &&
bool.Parse(dtPrivilege.Rows[4]["Read"].ToString()) == false &&
bool.Parse(dtPrivilege.Rows[5]["Read"].ToString()) == false)
lnkWebpages.Visible = false;
else
{
if (bool.Parse(dtPrivilege.Rows[3]["Read"].ToString()) == false && dtPrivilege.Rows[3]["FormName"].ToString() == "webPage1.aspx")
lnkWebpage1.Visible = false;
if (bool.Parse(dtPrivilege.Rows[4]["Read"].ToString()) == false && dtPrivilege.Rows[4]["FormName"].ToString() == "webPage2.aspx")
lnkWebpage2.Visible = false;
if (bool.Parse(dtPrivilege.Rows[5]["Read"].ToString()) == false && dtPrivilege.Rows[5]["FormName"].ToString() == "webPage3.aspx")
lnkWebpage3.Visible = false;
}
Awesome, Thanks!!! but having trouble adding more web pages. It then doesn’t seem to work then?
...
Hi, I am having trouble loading the project into Visual studio (2019) When loading the sln file I get the following error:
“One or more projects in the solution were not loaded correctly. Pleae see the output windows for details.”
Details: Error opening web http://localhost:53524. Unable to open the website ‘http://localhost:53524'. The web server ‘http://localhost:53524' could bot be found
Your response would be greatly appreciated.
Thanks
Any suggestions?
Hello
In Visual Studio go to File > Open > Web Site, point it to the directory where your website is located. Once the project is opened, click F5 and see if it works.
Thanks
Thanks, Working Perfectly now
hello another question is :
If you try to delete one user the program perform this action for the first item of grid always. Only the first record on page was deleted.
hello you said There is a file “datetimepicker_css.js” under “Js” folder in your application. Open it and just replace “var EndYear = 0” with “var EndYear = 10” and save it.
but i did not find the folder js as well as i did not find the file “datetimepicker_css.js”
please help
Hello
datetimepicker_css.js file belongs to the older version of User Management. In v2.1 datetimepicker_css.js is replaced by bootstrap datetimepicker and future dates (For Date of Birth) are disabled in this version as well.
These are few JavaScript methods to enable or disable past and future dates.
$('#dtpDob').datetimepicker({
maxDate: moment() /* Disable future dates */
minDate: moment() /* Disable past dates */
});
Good morning, trying to run the application gives this error:
Network-related or instance-specific error while establishing a connection to the SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to support remote connections. (provider: SQL Network Interfaces, error: 26 – Error searching for the specified server or instance)
already configure the um_v2.1 database
Hello
Check whether the login and password of SQL Server user account is appropriate or check whether the SQL Service is running or stopped in SQL Server Configuration Manager. These steps might fix your issue.
Thank you,
mimtiyaz
one or more solution projects were not loaded correctly
http: // localhost: 53524: error: Error opening web http: // localhost: 53524. Could not find website ‘http: // localhost: 53524’.
Visual Studio 2017
In Visual Studio go to File > Open > Web Site, point it to the directory where your website is located. Once the project is opened, click F5 and see if it works.
Hi, If you try to delete one user the program perform this action for the first item of grid always. Only the first record on page was deleted.
public static string DeleteUser(int userId)
userid it’s the first id of grid always for all pages.
Hello,
Can I assume it would be a simple process to attach this to an existing MSSQL database of Users ?
Any key points I would need to be aware of ?
thanks
In this version MSSQL DB script is designed to create a new database. If u want to attach this to an existing MSSQL database, a little customization is needed.
Hello,
I have just noticed a previous comment that says you have used Stored Procedures for much of the processing. That would mean I would have to add those stored procedures to my Database correct ?
Also I see the columns do not have the ability to be Sorted, namely no Ascending Descending buttons. Will you be adding that ?
thanks
Hi,
As I already mentioned in my previous comments that either you can create a new database by running the database script which includes tables and stored procedures or you can customize the script for your existing MSSQL database. The reason behind creating database script is user can customize the script as per their requirements.
Hello again,
Will you be adding Sort to the columns in the User List screen ?
I cannot use it as it stands currently unless I can sort the users.
Thanks
I got it working already. Thanks.
Hi,
I purchase your codes for user management. I am trying to make the source code run but I can’t get it running.
After setting up database correctly, i tried running the .sln file and it gets me this error.
http://localhost:53524 : error : Error opening web http://localhost:53524. Unable to open the Web site ‘http://localhost:53524'. The Web server ‘http://localhost:53524' could not be found.I tried viewing the .sln file and got this:
Microsoft Visual Studio Solution File, Format Version 12.00- Visual Studio 2013 VisualStudioVersion = 12.0.21005.1 MinimumVisualStudioVersion = 10.0.40219.1 Project(“{E24C65DC-7377-472B-9ABA-BC803B73C61A}”) = “v2.1(2)”, “http://localhost:53524”, “{F6784238-DCB3-4689-8E36-7782A25AB7B5}” ProjectSection(WebsiteProperties) = preProject UseIISExpress = “true” TargetFrameworkMoniker = ”.NETFramework,Version%3Dv4.5” Debug.AspNetCompiler.VirtualPath = ”/localhost_53524” Debug.AspNetCompiler.PhysicalPath = ”..\v2.1\” Debug.AspNetCompiler.TargetPath = “PrecompiledWeb\localhost_53524\” Debug.AspNetCompiler.Updateable = “true” Debug.AspNetCompiler.ForceOverwrite = “true” Debug.AspNetCompiler.FixedNames = “false” Debug.AspNetCompiler.Debug = “True” Release.AspNetCompiler.VirtualPath = ”/localhost_53524” Release.AspNetCompiler.PhysicalPath = ”..\v2.1\” Release.AspNetCompiler.TargetPath = “PrecompiledWeb\localhost_53524\” Release.AspNetCompiler.Updateable = “true” Release.AspNetCompiler.ForceOverwrite = “true” Release.AspNetCompiler.FixedNames = “false” Release.AspNetCompiler.Debug = “False” SlnRelativePath = ”..\v2.1\” EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {F6784238-DCB3-4689-8E36-7782A25AB7B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F6784238-DCB3-4689-8E36-7782A25AB7B5}.Debug|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal
I suspected that it is this part: Project(“{E24C65DC-7377-472B-9ABA-BC803B73C61A}”) = “v2.1(2)”, “http://localhost:53524”, “{F6784238-DCB3-4689-8E36-7782A25AB7B5}”
that value, http://localhost:53524
I also notice that the files that I have downloaded don’t have .csproj file. Not sure if that is fine.
Please help me fix it.
i am unable to load the project i am getting visual studio error “one or more in the solution were not loaded correctly “
please advice urgent issue
Hi, If you try to delete one user the program perform this action for the first item of grid always. Only the first record on page was deleted.
public static string DeleteUser(int userId)
userid it’s the first id of grid always for all pages.
Hi, i check the content of users.aspx. After the delete confirmation the page reamin on modal mode. Must refresh the page. You have any idea about this? thanks
=====
<!- BEGIN Modal Confirm ->
Are you sure?
Yes
<input type=”button” class=”btn btn-danger” data-dismiss=”modal” value=”No” />
<!- END Modal Confirm ->
WOW! Wondeful application update! Thank you!
Thank you.
Hi I liked your application. And will purchase it. But want to know first if you can give me the steps to follow or a support to host my web site please. As I never hosted a website before?
Hello
Firstly thanks for appreciating my item. I have always tried to give my best assistance to my customers related to my items and so I do if you purchase any of my item. Whereas additional technical service is concern, I’ll charge for it based on the type of service required by a customer.
Many tyhanks
Could you please confirm if the application would be delivered with a documentation ? for the support that I want is helping me to host my web site ? as never did that before !
In Visual Studio, go to File-Open Web Site, point it to the directory where your website is located. Once the project is opened, click F5 and see if it works.
Hi When I am opening code in VS project is not loading and message one or more projects could not load. http://localhost:52129 : error : Unable to open the Web site ‘http://localhost:52129'. The Web server ‘http://localhost:52129' could not be found.
In Visual Studio 2017 go to File-Open Web Site, point it to the directory where your website is located. Once the project is opened, click F5 and see if it works.