15,890,185 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Masoud__Sh (Top 3 by date)
Masoud__Sh
6-Jan-17 16:52pm
View
ClientIDMode will keep ID as entered by designer. but i need to keep Button name like Button ID.
for example, asp:Button runat="server" ID="btnTest" at runtime comes to:
input type="submit" name="ctl00$ContentPlaceHolder$btnTest" id="btnTest"
but this is what i want: input type="button" name="btnTest" id="btnTest"
I did it by overriding NamingContainer as well like this article for .net 2.0:
http://www.gljakal.com/blog/2007/09/12/getting-rid-of-the-naming-container-in-aspnet-20/
this article will help to keep Button name Like it's ID in output:
input type='submit' name='btnTest' value='Button' onclick='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions('btnTest', '', true, '', '', false, false))' id='btnTest'
it's what i want and will make a tight control.
but the problem is when user clicks on this overrided button, the Click event will not fire. and i dont know where is the problem?
Masoud__Sh
18-Nov-16 12:07pm
View
thank you so much. i'm sorry for bad questioning. yes you're right. i'm sure about using PBKDF2-HMAC-SHA512. but something that i don't know is, why Mike's solution when i'm using SHA1 is faster than adriancs's solution in same algorithm, salt size, and iteration count? adriancs's algorithm takes something about 40 milliseconds but Mike's algorithm takes 3 milliseconds. and it's not logical for same values.
Thank you, Masoud
Masoud__Sh
18-Nov-16 12:00pm
View
thank you so much for your answer. and i'm so sorry for bad questioning. i edited my question. i'm not sure about using one library between two libraries linked above in my question.
Thank you and sorry for taking your time.