15,902,636 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 Reda Makarem (Top 18 by date)
Reda Makarem
3-Feb-14 13:50pm
View
i did remove that but no change man. When i debugged the code, the datasource seems to have items (80 items) but nothing gets displayed. Sorry for bugging you and thanks for all your help
Reda Makarem
3-Feb-14 13:34pm
View
very smart/mature
Reda Makarem
3-Feb-14 13:34pm
View
Thank you for your response. After applying what you mentioned above, everything stopped working
if you have any idea how to get around this please let me know
Reda Makarem
3-Feb-14 13:12pm
View
problem is i want the changes to take place when a link in the repeater is clicked, not on dropdown list selection... any ideas?
Reda Makarem
3-Feb-14 12:46pm
View
added markup and code :)
Reda Makarem
29-Jan-14 4:38am
View
thanks for the quick response
it doesnt hit the event cz a javasript error occurs when placing a gridview in update panel or tab control
Reda Makarem
26-Nov-13 0:54am
View
the skills section is like a small form on its own which has fields with their own validators. so the user can fill up the fields but not click the add button. the way im doing it is store the added skills in a datatable and bind the grid to it. the whole point is the validation has to be done on the client and not the server and thus checking when i databind isnt an option
Reda Makarem
26-Nov-13 0:11am
View
Well there is no control my friend
Basically my scenario is the following:
An applicant adds a set of skills
The added skills appear in a data grid
What I wanna do is validate that at least one skill has been added
The skills data grid does not appear if no skills have been added
Please let me know if you have any other approach
Thanks
Reda Makarem
25-Nov-13 23:54pm
View
It's not working
There is nothing wrong with the js function as I tried calling it in the document.ready and the alert was displayed
Thanks again
Reda Makarem
25-Nov-13 7:01am
View
sure...this is the validator markup:
<asp:CustomValidator ErrorMessage="At least one skill is required" ClientValidationFunction="ValidateSkills" ValidationGroup="formVal" runat="server" CssClass="errorClass" Display="Dynamic" />
this is the button markup:
<asp:Button ID="btnSubmit" CausesValidation="true" runat="server" Text="Submit" ValidationGroup="formVal" OnClick="btnSubmit_Click" />
and finally here is the js function:
function ValidateSkills(source, args) {
alert("ok");
if ($('#gvSkills').length)
args.IsValid = true;
else
args.IsValid = false;
}
many thanks :)
Reda Makarem
25-Nov-13 4:51am
View
thats what im doing now but this doesnt fire any of my custom validators.. all other asp,net validators work, any ideas?
Reda Makarem
25-Nov-13 3:21am
View
it does work but shouldnt my scenario be working by default?
Reda Makarem
24-Sep-13 4:23am
View
forgot to do that
thanks for the reminder
Reda Makarem
3-Sep-13 0:36am
View
yes....i know...i have plenty of records in the table that satisfy that condtion as well and yet the returned set is a null... thanks for your comments :)
Reda Makarem
29-Aug-13 1:46am
View
it appears that the datakey value that is passed to the method is null
ill look further into it..any help is very appreciated :)
Reda Makarem
27-Aug-13 2:15am
View
many thanks buddy :)
works like a charm
Reda Makarem
26-Aug-13 6:01am
View
please be more clear about the condition to be satisfied for loading the data
Reda Makarem
11-Aug-13 17:49pm
View
Deleted
thanks for your valuable comments,
how would you approach the problem?? besides the DRY issue
or do you think that my approach is ok?
many thanks
Show More