15,997,827 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 .NET 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 mayur csharp G (Top 61 by date)
mayur csharp G
24-May-12 6:42am
View
can you please paste your web.config file here
mayur csharp G
23-May-12 6:34am
View
I tried your new code...it gives same error
mayur csharp G
23-May-12 1:43am
View
templocation is folder name and so many files present in same like .doc,.pdf etc
mayur csharp G
22-May-12 6:43am
View
Dear I am not getting
what should i do for protecting all files and folders in TEMPLOCATION folder of my web site
mayur csharp G
22-May-12 5:23am
View
can you please suggest more
mayur csharp G
22-May-12 3:21am
View
thanks
it is giving error
<location> path attribute must be a relative virtual path. It cannot contain any of '?' ':' '\' '*' '"' '<' '>' or '|'.
mayur csharp G
31-Mar-12 7:13am
View
thank you very much
mayur csharp G
31-Mar-12 6:13am
View
Thanks
can you please give to count only small letters
mayur csharp G
31-Mar-12 4:01am
View
its 3
mayur csharp G
31-Mar-12 3:59am
View
can you please give the same
mayur csharp G
27-Mar-12 9:10am
View
Deleted
It is giving error incorrect syntax
function passwordChanged()
{
var strength = document.getElementById('strength');
var last = new RegExp("(?(?=^[a-z0-9]{8,16}$)(?(?=^.*\d{1}.*\d{1}.*$)(?(?=^.*[a-z]{1}.*[a-z]{1}.*$)^[a-z0-9]{8,16}$)))");
//var last = new RegExp("^(?=.*\[a-z].*?\[a-z])(?=.*[a-z].*?[a-z])([a-zA-z0-9^${}[().*+?|<>&]|]|-|\\){8,16}$)");
var pwd = document.getElementById("pwdPassword");
if (pwd.value.length==0)
{
strength.innerHTML = 'Type Password';
}
else if (last.test(pwd.value))
{
strength.innerHTML = '<span style="color:orange">Strong!</span>';
}
else
{
strength.innerHTML = '<span style="color:red">Weak!</span>';
}
}
mayur csharp G
27-Mar-12 8:42am
View
Deleted
Dear All
Thanks i made corrections and it is working but as soon as i am entering first 2 characters small case it is validating as true ...it should not validate until and unless there are 2 small case letters and 2 numbers in textbox
mayur csharp G
27-Mar-12 7:07am
View
function passwordChanged() {
var strength = document.getElementById('strength');
//var strongRegex = new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\\W).*$", "g");
//var mediumRegex = new RegExp("^(?=.{7,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");
//var enoughRegex = new RegExp("(?=.{6,}).*", "g");
var last = new RegExp("(?(?=^[a-z0-9]{8,16}$)(?(?=^.*\d{1}.*\d{1}.*$)(?(?=^.*[a-z]{1}.*[a-z]{1}.*$)^[a-z0-9]{8,16}$)))");
var pwd = document.getElementById("pwdPassword");
if (pwd.value.length==0) {
strength.innerHTML = 'Type Password';
//} else if (false == enoughRegex.test(pwd.value)) {
//strength.innerHTML = 'More Characters';
//} else if (strongRegex.test(pwd.value)) {
//strength.innerHTML = '<span style="color:green">Strong!</span>';
//} else if (mediumRegex.test(pwd.value)) {
//strength.innerHTML = '<span style="color:orange">Medium!</span>';
//}
}
else if (last.test(pwd.value)) {
strength.innerHTML = '<span style="color:orange">Medium!</span>';
}
else {
strength.innerHTML = '<span style="color:red">Weak!</span>';
}
}
mayur csharp G
27-Mar-12 7:01am
View
no it is not working
mayur csharp G
27-Mar-12 6:40am
View
yes dear
mayur csharp G
27-Mar-12 6:33am
View
sorry Dalke i got it
I need exactly
2 small case characters more than 2 allowed
2 digits more than 2 allowed
mayur csharp G
27-Mar-12 6:14am
View
Needed
Numbers exactly 1
lowercase exactly 2
mayur csharp G
30-Jan-12 4:58am
View
I want solution ...van you please tell how to resolve
mayur csharp G
18-Jan-12 6:23am
View
which code???????????
mayur csharp G
13-Jan-12 7:49am
View
dear can you please say me how to assign return value of that funtion to image control or display it in place holder
mayur csharp G
7-Jan-12 2:37am
View
src is what?
mayur csharp G
7-Jan-12 2:33am
View
not getting dear
mayur csharp G
4-Jan-12 8:42am
View
I would like to ask one question.. Dumps means what
Acccording me dumps are those which are get released before some days of certification exa and most of questions are related to to same dump
Please guide for same ..Are anywhere such dumps available or not
mayur csharp G
29-Dec-11 3:20am
View
Dear all am using dot net 2005 framework 2.0
mayur csharp G
29-Dec-11 3:20am
View
Dear all am using dot net 2005 framework 2.0
mayur csharp G
29-Dec-11 3:20am
View
Dear all am using dot net 2005 framework 2.0
mayur csharp G
20-Dec-11 7:48am
View
file is being used by another person
mayur csharp G
3-Dec-11 2:42am
View
Thanks dude i will try this
mayur csharp G
2-Dec-11 3:00am
View
Thanks to all i applied it as you suggested
mayur csharp G
1-Dec-11 5:38am
View
Deleted
notepad's default file is .txt file
mayur csharp G
1-Dec-11 3:44am
View
.txt file
mayur csharp G
29-Nov-11 5:44am
View
my question is understand code
inthis case it just pass selected value and page size to OnPageIndexChanging event..so what is written in OnPageIndexChanging event
mayur csharp G
29-Nov-11 5:41am
View
I had PageIndexChanging event before using this user controls dll and now also it is running well after adding dll of user control but features are added this time as defined in making usercontrol
mayur csharp G
29-Nov-11 5:33am
View
one another question how javascript is running
mayur csharp G
29-Nov-11 5:13am
View
I did it...it goes to GridView[from metadata] file where i found protected virtual void OnPageIndexChanged(EventArgs e);
but when I expand it nothing is written there
mayur csharp G
26-Nov-11 2:52am
View
can any please explain me following thing
http://www.codeproject.com/KB/webforms/costom_gridview_controls.aspx
mayur csharp G
21-Nov-11 7:30am
View
Deleted
Is this function to call on sign out link/button
mayur csharp G
15-Nov-11 3:52am
View
Dear all
location where i am copying file is my current running apps folder which i am runnig. I have tried some different, i copy file to some diffrent location like desktop and now it works fine with same code... now is it the reason that i am copying file to current running apps folder????
mayur csharp G
15-Nov-11 3:36am
View
Can you please give me code to do as you suggest
mayur csharp G
4-Oct-11 7:03am
View
k i have solved this problem
Now report is viewing but it is empty
mayur csharp G
4-Oct-11 1:55am
View
i have seen and also implemented same but i am getting error on this line
crDoc.SetDataSource(ds.Tables[0]);
error is report has no tables
mayur csharp G
24-Sep-11 5:30am
View
i did in this way
OnClientClick="return confirmdelete(this.id)"
function confirmdelete(tid)
{
// alert(tid);
var rowno=tid.split('_');
rowno=rowno[1];
alert(rowno);
}
mayur csharp G
24-Sep-11 4:21am
View
Thankx it is very useful
mayur csharp G
19-Sep-11 5:50am
View
i am setting text to label in this way in javascript
document.all.txtfrshldnm.innerText = splitval[0];
document.all.txtscdhldnm.innerText = splitval[1];
document.all.txtthrdhldnm.innerText = splitval[2];
on button click it is getting empty
mayur csharp G
15-Sep-11 9:29am
View
i have called but i think forgot to mention it here
mayur csharp G
15-Sep-11 9:04am
View
i have just called this function
private void AddNewRowToGrid(string param)
mayur csharp G
29-Aug-11 7:01am
View
Hi all
i solved like this
i wrote simply
cmbexch.Attributes.Add("onchange", "javascript:fillmkttype();")
on page load
mayur csharp G
17-Aug-11 3:01am
View
Can i measure size in javascript
mayur csharp G
1-Aug-11 5:05am
View
i just add one thing in your code to get row index
Dim index As Integer = gridRow.RowIndex
thanks
mayur csharp G
29-Jul-11 2:55am
View
thanks it works fine
mayur csharp G
29-Jul-11 2:20am
View
I agree but i just want to show a srno to user and i database will not too big. it is a small app. And also i cant use auto numbering identity column as it cant be updated.
Do you have solution?
mayur csharp G
25-Jul-11 4:41am
View
you mean to say i should bind dropdown here
if (!this.IsPostBack) {
//here?
}
mayur csharp G
25-Jul-11 4:02am
View
yes i am rebinding code in this way
what will be the solution
If IsPostBack = False Then
With ddldepository
.DataSource = Clsdbapplvl.FillCompExch(Session("Roleid"), "", Request("SCRID").ToString, "Y", Convert.ToString(Request("seldate")))
.DataTextField = "comp_name"
.DataValueField = "id"
.DataBind()
.SelectedIndex = 0
' txtfromdt.Value = Convert.ToString(Request.QueryString("date"))
End With
End If
mayur csharp G
6-Jul-11 3:36am
View
no not like
Actually i am doing something on leave event of textbox as my control goes to next control on enter key in my whole application but it should be execute only on leave event and when enter key is pressed
mayur csharp G
4-Jul-11 5:28am
View
consider MDI parent form
mayur csharp G
22-Jun-11 1:40am
View
i solved it by just adding user instance=true at last in connection string
mayur csharp G
17-Jun-11 8:20am
View
can you please suggest one more thing?. whenever i am deploying my project on different PC its pixels are getting here and there, what might be best solution for this
mayur csharp G
17-Jun-11 8:06am
View
thanks for your comment i have taken sqlexpress in prerequistics of set up project and other necessary files.
It solved my problem
mayur csharp G
17-Jun-11 5:10am
View
event viewer?
mayur csharp G
17-Jun-11 4:26am
View
i am testing on my own machine i am not getting what happened because this same was running successfully and after making some changes i create once again set up file and install it then this error gets raised
mayur csharp G
17-Jun-11 1:01am
View
My dear friend after doing this whatever database fields i have dragged on crystal reports as per my previous technique will remain same or i will have to do some different again
Show More