15,913,773 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 niralirshah (Top 11 by date)
niralirshah
25-Dec-13 2:39am
View
assume s=<abcd and="" want="" to="" replace=""><abcd with="" grtabcd..=""></abcd>
niralirshah
25-Dec-13 2:02am
View
thank you..
actually i want to encode the input html in javascript for XSS and SQL Injection for ASP website. for this i am using replace method for the same.
function(s,en){
if(!this.isEmpty(s)){
en = en || true;
// do we convert to numerical or html entity?
if(en){
s = s.replace(/\'/g,"'");
s = s.replace(/\"/g,""");
s = s.replace(//g,">");
}else{
s = s.replace(/\'/g,"'");
s = s.replace(/\"/g,""");
s = s.replace(//g,">");
}
return s;
please help me ...
thanks for your help..
niralirshah
18-Nov-13 6:47am
View
Hello.. i have implemented SignalR 1.0.0-rc1 in asp.net 4.0 and C# successfully. but to enhance features , the no of notifications and details will be same for all users, but when user1 read notification at that time the count of notification is decreases in his browser, but the problem is that user2(who had not read his notification) also found count-1 with signalR. i have using Clients.All.addMessage(message, Detail); and Clients.Caller.addMessage(message, Detail); but not succeeded.. please help and give some idea.. thanks a lot in advance
Requirement for the notifications
Case 1 : Broadcast to all users who are connected to the server when new features added or updated in the project, newly added feature is accessible to all users.(broadcast working fine when no of notification count same to all users, but when user1 has count = 4 and user2 has count = 6 and at a moment updates comes then notification count = 7 at both users browser. so this is wrong...)
Case 2 : i am providing notification details according to the number of notification count.
so if user1 read say 1st updates then notification count will be count-1 for user1. But User2 can see the total number of notification count.(i am done with this)
Case 3 : there is also some modules which are not accessible to all users. so when some task assign to particular user then task updates (in form of notification count) visible to that users, not all users. (for this i am using clients.caller)
Thank you very much in advance.
niralirshah
6-Nov-13 8:31am
View
Thanks a lot for your reply... Done with SignalR successfully to notify number of comments but want to decrease count of comments which is read by user. That means i want to implement functionality same as codeproject of Message NotificationCount. Please suggest any soltion.
niralirshah
6-Nov-13 8:29am
View
Deleted
Thanks a lot for your reply... Done with SignalR successfully to notify number of comments but want to decrease count of comments which is read by user. That means i want to implement functionality same as codeproject of Message NotificationCount. Please suggest any soltion.
niralirshah
6-Nov-13 8:07am
View
Thanks a lot for your reply...
Done with SignalR successfully to notify number of comments but want to decrease count of comments which is read by user.
That means i want to implement functionality same as codeproject of Message NotificationCount.
Please suggest any soltion.
niralirshah
10-Jun-13 5:47am
View
I am also getting same error.. please help..
niralirshah
25-Apr-13 9:36am
View
Yes, u r right .. but my datasource is shared datasource and i can't change it..
niralirshah
25-Apr-13 8:02am
View
hello... thank you very much for your reply,.... but i am working in ssrs and want to apply sorting in parameter values...i have set that parameter for dropdown box and ascending by name.. please help...
niralirshah
25-Apr-13 6:29am
View
i set parameter values in drop down box and want to those values order by name in drop down box ...
niralirshah
25-Apr-13 6:20am
View
want to set order by id or name in parameter value....
Show More