16,004,574 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
VICK
(Top 200 by date)
VICK
1-Mar-21 1:37am
View
seems like if we dont sort the records (default _id sort will work in that way), it works properly. But even If I add index on CreatedAt field and sort on that it still wont work. So for now going with the default index sort i.e. _id.
Thanks for your help.
VICK
26-Feb-21 9:57am
View
Tried without async and same. When trying with page size 50, few records are not coming up but if i get the collection in a single go with higer page number, then everything is fine.
VICK
26-Feb-21 9:45am
View
We are using ReplaceOneAsync inside the update method and in the get fetching records sorted based on CreatedDate.
=====================
var filter = Builders<document>
.Filter
.Eq(x => x.Id, passedDocument.Id);
filter &= Builders<document>
.Filter
.Eq(x => x._status, (int)StatusEnum.Active);
var result = await _Collection.ReplaceOneAsync(filter, passedDocument);
===================================
var documents = await _collection.AsQueryable()
.Where(i => i._status == (int)StatusEnum.Active)
.OrderBy(i => i.CreatedAt)
.Skip((page - 1) * size)
.Take(size)
.ToListAsync();
==============================
As we are sorting out based on CreatedDate, should not the sequence be same ?
One more thing to note is CreatedDate is DateTimeOffset type in .net code and db is mongo.
VICK
10-May-18 2:15am
View
Have you checked the browser console for any client end errors or debugged the application to find out whats happening actually?
VICK
3-Nov-16 8:54am
View
Actually I didn't get any method from the TimePeriodLibrary regarding TimeRange issue without comparison of the date parts. Or else I was unable to understand it in depth.
Would be pretty happy If you could make a code snippet using that Library as per my above mentioned scenario?
VICK
3-Nov-16 8:37am
View
Please have a look at my solution posted, In which I have tried to explain the exact issue I was facing and the solution I made to it.
VICK
3-Nov-16 6:55am
View
Posted solution only works when the time range also includes the date part as well. Or the range is linear i.e. not the cross day.
VICK
3-Nov-16 6:55am
View
Posted solution only works when the time range also includes the date part as well. Or the range is linear i.e. not the cross day.
VICK
18-Aug-16 3:39am
View
But as i said before that it stops communicating with the server only... on the client side it seems to be working fine by getting a new connection id on every restart and showing state as connected.
VICK
16-Aug-16 8:03am
View
I have been able to reproduce the scenario by doing as below.
1-Build the application(having SignalR Server i.e. HUB)
2-Start the application, It works fine.
3- Stop or Restart the IIS.
4- SignalR client will seems to be reconnected and getting new connection id every time after the step 3.
5-But didnt reach the SignalR Server.
VICK
16-Aug-16 8:01am
View
It works fine when the SignalR server is started after an IIS Reset(using iisreset command via cmd), and it continue to work fine for quite sometime, But suddenly it stops communicating with the server and didnt hit the breakpoint either.
VICK
16-Aug-16 6:33am
View
var chat = $.connection.myHUB;
$.connection.hub.start().done(function () {
var groups = [];
chat.server.subscribe('@User.Identity.Name', groups);
//After this line it shows no response.
});
VICK
16-Aug-16 6:32am
View
Deleted
var chat = $.connection.myHUB;
$.connection.hub.start().done(function () {
var groups = [];
chat.server.subscribe('@User.Identity.Name', groups);
});
VICK
16-Aug-16 6:03am
View
Agreed! My 5.
VICK
12-Aug-16 8:18am
View
My 5.
VICK
9-Aug-16 7:35am
View
Though a good article for explaining Routing conectp but doesn't contain a single word about routing in MVC. :(
VICK
3-Aug-16 9:04am
View
And the above solution I posted is showing you how to replace two words with their replacement.. So what would be the issue in adding up the 3rd line with 3rd word.. Can you specify your exact scenario?
VICK
3-Aug-16 4:26am
View
Can you please explain a bit further?
VICK
3-Aug-16 1:18am
View
Copy paste from the Karthik's Solution.
VICK
2-Aug-16 5:48am
View
Pleasure. :)
VICK
1-Aug-16 7:18am
View
Edit your question and format it properly so that It could become easier for people to understand and than help you.
VICK
28-Jul-16 5:35am
View
It works, but preferred Griff's answer posted above..
Thanks for your reply. My 5+.
VICK
28-Jul-16 5:27am
View
Its a human input fields. :(
VICK
28-Jul-16 5:26am
View
Agreed about the "Badly flawed DB Design", but its not possible for me to change the DB Schema, Rather using your suggested answer. It works. :)
VICK
28-Jul-16 4:14am
View
Done. :)
VICK
27-Jul-16 4:01am
View
Do have a look at this link "http://stackoverflow.com/questions/25172311/display-bootstrap-modal-from-asp-net-webforms"
VICK
14-Jan-16 6:51am
View
5ed!
Perfect solution for this kind of problems.
VICK
4-Jan-16 5:19am
View
If we look at your code in the above comment, it shows
"public void GetBranches(string Name,string Description)"
which tell that function will take only two parameters but in your posted question
you are passing four parameters like below,
"mb.GetBranches(ActiveBranchId, Name, description, false);"
So this seems to be a problem.
VICK
4-Jan-16 1:29am
View
Please use "Improve solution" to edit your previously posted answer and updated with more details, rather posting a new solution every time.
VICK
4-Jan-16 1:27am
View
Please use "Reply" button in front of the comment to provide your feedback.
VICK
28-Dec-15 7:46am
View
Thanks for your precious comments. @Kornfeld
I have chosen the way of checking missed configurations on application start and setting a boolean in Application object.. and later on Login do what i want with the help of that previously saved boolean.
:)
VICK
23-Dec-15 2:58am
View
Kindly use "Improve Question" button under your posted question to do such kind of tasks.
VICK
23-Dec-15 2:52am
View
Agreed with SA. :(
I think OP haven't heard of any other controls like gridview etc for display of the records.
VICK
18-Dec-15 5:57am
View
Can u explain "Chrome Notifications" a bit more?
VICK
18-Dec-15 5:53am
View
Button btn=(Button)sender;
The above is how to get the button in click event of that button.
VICK
18-Dec-15 1:15am
View
Do assign a class to all radio buttons.. and write a function according to that.. and in that check using .is(':checked') about the check/uncheck.
If you need further help .. Please explain your scenario a bit more.
VICK
27-Jul-15 3:19am
View
Kindly use "Have a Question or Comment" button to reply to specific user's comment so that he/she could get a notification of that and could reply to you.
or Edit your question if you wanted to add some details to it.
VICK
5-Jun-15 1:08am
View
And Have you read the question properly? OP is asking about the Dynamically added Gridview.
and For that Chill60 has guided him properly . see his comment above.
VICK
2-Jun-15 4:32am
View
Try this.
http://vickwe.blogspot.in/2013/10/how-to-download-file-on-button-click.html
VICK
21-May-15 8:53am
View
Pleae use "Have a Question or Comment" button below the question to ask any question to OP.
VICK
21-May-15 2:39am
View
My 5+.
VICK
21-May-15 1:20am
View
Do try this.
select * from Employee
where Emp_Id not in
(
select distinct Emp_id from EmployeeStatus where Convert(date, Date) = Convert(date, 'YourDate')
)
VICK
21-May-15 1:18am
View
So EmployeeStatus Table is the one in which you are saving the Function-User relationship???
VICK
20-May-15 7:07am
View
Please use "Have a Question or Comment" button below the posted solutions, so that your praise could reach to its proper destination. :)
VICK
18-May-15 5:43am
View
agreed. My 5.
VICK
18-May-15 5:19am
View
A reference link would be better to prove your "Point of View" right.
VICK
18-May-15 5:15am
View
It would be nice and better to Edit your first solution and update with what you have added in Solution 2.. rather than posting multiple solution.s :)
VICK
15-May-15 6:19am
View
Reason for my vote of 5 \n Superb.. Works like a charm. :)
VICK
14-May-15 3:48am
View
Orchard can be one of good choice??
VICK
14-May-15 3:13am
View
Do add the error: function (error) {
debugger;
}
part in your ajax call and on the defined debugger stop and have a look at what you find in error object returned.
VICK
14-May-15 0:46am
View
Reason for my vote of 5 \n My 5. Nice.. Tried and Successfully implemented in Visual Studio 2013.
VICK
13-May-15 0:38am
View
You are welcome Dear. If it really helps you , dont forget to Upvote this solution. :)
VICK
12-May-15 8:46am
View
Add a new int type column. manually copy the data using query from old column.. and than delete the old column from model.
VICK
4-May-15 0:40am
View
Mehdi would not be able to know about your this comment, but instead he will if you write your comment by clicking on "Have a Question or Comment?" button below the Mehdi,s Answer.
VICK
29-Apr-15 2:32am
View
Use "Have a Question or Comment" button below the solution to post your views/comments and so that it could reach to the person you want to tell. Posting it as a new solution will not notify the concerned.
VICK
9-Apr-15 0:36am
View
Reason for my vote of 3 \n Dont you think a bit of explanation would be good for novices??
VICK
3-Apr-15 1:22am
View
What have you done so far? and where are you stuck at?
Do share your code and scenario fro complete help.
VICK
25-Mar-15 0:30am
View
BundleTable.EnableOptimizations = false; does it right for me... :-)
VICK
13-Mar-15 6:04am
View
or do have a look at http://weblogs.asp.net/yonggangmeng/how-to-invoke-pagemethods-in-masterpage
VICK
3-Feb-15 0:30am
View
Reason for my vote of 4 \n Good for beginner level.
VICK
30-Jan-15 0:48am
View
00002 and 00000009.
VICK
30-Jan-15 0:24am
View
Typo Mistake. You are right Bill.
VICK
29-Jan-15 6:44am
View
No. basically its a format for stock series. will start with 0000 and when reaches to 9999, than rather being going to 10000, it will restart with 000001. :(
VICK
27-Jan-15 7:57am
View
Please use "Have a Question or Comment" button under the question which OP posted to ask any query or give your comment.
VICK
22-Jan-15 7:15am
View
Reason for my vote of 1 \n Reason for vote of 1 is attachment you provided. You should provide the complete project if you really want to help.
VICK
29-Dec-14 3:19am
View
Reason for my vote of 5 \n Nice.
VICK
9-Dec-14 2:25am
View
Than accept it as Solution. :)
VICK
10-Nov-14 23:43pm
View
Hey Mehdi, Can u show us exemplary chunk of code for passing gridview as parameter to static method?? As I have been using Ajax a lot but never been able to get gridview or any other form control in static method.
VICK
5-Nov-14 23:16pm
View
hmm. No I am a naive to javascript. can u provide me the link of one snooper you are talking about???
VICK
5-Nov-14 4:42am
View
can u explain "debug snooper for dumping "??
VICK
30-Oct-14 7:30am
View
Well as I mentioned before that Problem went off if i use browser debugger. and I dont think that it makes the invalid JSON valid in that way.
VICK
14-Oct-14 3:31am
View
Happy to see ur problem resolved. :)
VICK
2-Oct-14 2:40am
View
If you have used reply option against my comment. I would have get the notification.
Well I am not here to fight as well. We all are here to help and get helped.
But following the norms/rules is one's ethical responsibility as well.
VICK
30-Sep-14 0:11am
View
dn what is the benefit and purpose of providing "Improve Solution" kind of options on the CP and defined rules???
& when it comes to "My Approach", do have a look at my profile and work on CP in my membership time span which is only 1.5 year which is much more than yours of almost 5years.
@Mr.Mahesh
VICK
29-Sep-14 7:15am
View
Always use "Improve Solution" option to edit and update your solution. as posting multiple solutions for a single question is also against the CodeProject Norms.
@Mr.Mahesh patel
VICK
8-Sep-14 8:07am
View
See the solution posted by me above.
VICK
29-Aug-14 1:05am
View
Nice and Helpful link but the HTML content and other posted above is incomplete. Please correct this. and Format it accordingly.
VICK
28-Aug-14 4:16am
View
you can use licensing based on users Mac ID.
VICK
28-Aug-14 4:14am
View
Would have suggested repeaters too. so my 5. :)
VICK
26-Aug-14 1:37am
View
Use the Improve Question Option to edit and Update it, rather than doing this.
VICK
11-Aug-14 4:43am
View
Perfecto. My 5+.
VICK
8-Aug-14 7:07am
View
dn dy should be punished...
VICK
8-Aug-14 6:32am
View
It does not makes sense to post answer for an already answered question which is more than an year old as well.
VICK
6-Aug-14 0:32am
View
Please use "Improve question" to edit your question.
VICK
4-Aug-14 5:17am
View
To Post a comment like this use "Have a Question or Comment" option.
VICK
25-Jul-14 3:25am
View
Done. :D
Although This article seems not of your expertise level to me and perhaps this is because I have worked on this kind of stuff a lot and now seems to me like a easy task.
But still Up voted in survey and article and Bookmarked as well as It is pretty good to understand the repeater and its customization.
VICK
25-Jul-14 1:08am
View
my 5. :)
VICK
25-Jul-14 1:07am
View
What could be the logic to answer an already solved and 3 year old question???
VICK
25-Jul-14 0:52am
View
IT does not make sense to answer an already solved question which is almost 2 years old as well.
VICK
23-Jul-14 0:34am
View
Use "Improve Solution" option at bottom of your first solution to edit it, rather than posting multiple solutions.
VICK
15-Jul-14 1:09am
View
Use "Have a Question or Comment" option to post your comment under the solution.
VICK
15-Jul-14 1:08am
View
Can you see "Have a Question or Comment" Button under the Solution posted by George Jonsson??
If yes! than use that option to post your thanks using that, and by doing that George will be able to know that some comment/thanks have been posted to his solution.
Hope you got the point.
VICK
4-Jul-14 0:19am
View
To reply to the person who posted a solution, there is an option "Have a Question or Comment" at the bottom of solution, use it.
VICK
3-Jul-14 1:16am
View
Any perfect logic to just copy the whole code from the link in already posted solution???
VICK
3-Jul-14 1:02am
View
To Query any of your problem, Please use "Ask a Question " option.
VICK
1-Jul-14 5:14am
View
To Post a Comment or ask a sub question to any one's solution, Please use "Have a Question or Comment" option, just I did here.
VICK
30-Jun-14 4:26am
View
Converted CODE in VB would be...
Dim clickedRow As GridViewRow = TryCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
Dim lblID As Label = DirectCast(clickedRow.FindControl("lblID"), Label)
Further you can use the online converterss at..
http://www.developerfusion.com/tools/convert/csharp-to-vb/?batchId=4dfb532a-795e-4b8a-8973-6e129366cf13
OR
http://converter.telerik.com/
VICK
30-Jun-14 4:07am
View
RePOST: http://www.codeproject.com/Questions/791298/How-to-apply-ditto-in-gridview?arn=41
VICK
30-Jun-14 4:05am
View
Use "Inspect element" after right clicking on the disabled button in Google Chrome and see what has been rendered and what is causing in that to disable the button in chrome only.
VICK
30-Jun-14 3:50am
View
are u assigning the value to hidden field in the page load method or where??
Do try my pasted solution below(the last link ) and call the JS function after assigning value to hidden field.
VICK
30-Jun-14 3:35am
View
The OP wants it from serverside Page Load. @Peter Leow.
VICK
30-Jun-14 3:27am
View
if this solution helps you clear your points, do accept it formally as a solution to bring your question/post out of the UNAnswered.
VICK
30-Jun-14 1:09am
View
To Ask a question on the solution or to post a comment, Please use "Have a Question or Comment" option.
VICK
26-Jun-14 0:29am
View
To post any comment to the author of any solution, use "Have a Question or Comment" option.
VICK
25-Jun-14 6:21am
View
Glad to help you. :)
If it helps solve your problem, dont forget to upvote it as well. :D
VICK
25-Jun-14 0:34am
View
if you want to add any thing in your already posted question, than please use "Improve Question" option and if you want to add a comment over that, than please use "Have a Question or Comment?" option.
VICK
25-Jun-14 0:19am
View
sorry for ambigue question. Tadit I meant in simple asp.net/C#, as this one is in MVC.
VICK
24-Jun-14 6:54am
View
HI Tadit.
Can you provide any sample for the same in .NET?
VICK
23-Jun-14 1:59am
View
show the sample of your result set which would be created from the query string.
VICK
23-Jun-14 1:52am
View
Thanks Nirav. :)
VICK
23-Jun-14 0:48am
View
You can use the overflow property and set it to true.
further set a specific height of the grid view. so that overflow property could come in action.
VICK
23-Jun-14 0:44am
View
To reply to any of the comments or to post a comment on your own question.. use "Have a question or comment" option.. rather than adding a new solution.
VICK
20-Jun-14 6:31am
View
Can you see "Have a Question or Comment" Option??/
Than Kindly make the appropriate use of it.
VICK
20-Jun-14 5:38am
View
""validation based up on controls in div""
Can you explain this a bit further.
As you are using JQUERY Validation Plugin. so consult their website. or explain the problem here a bit more.
VICK
20-Jun-14 5:35am
View
There might be a chance of javascript or jquery triggering .. example could be of __DoPostBack happening somewhere from the code.
VICK
20-Jun-14 5:32am
View
Try this. Use the OR Operator.
var reg1 = new RegExp('^[a-zA-Z]+$');
var reg2 = new RegExp('^[a-zA-Z0-9]+$');
if (!reg1.test(Name) || !reg1.test(regno))
{
alert('"Invalid Input Value");
return false;
}
VICK
20-Jun-14 1:31am
View
We don't do your homework.
Rather if you are stuck at some problem, than we would be really glad to help you out.
Further GOOGLE is always there for the newbies or for those who have no idea's in the brain...
:)
VICK
20-Jun-14 0:50am
View
Google even failed to show what is meant by MISE Type.. :(
VICK
20-Jun-14 0:49am
View
Do not forget to up vote the solution if it helps you... :D
VICK
20-Jun-14 0:36am
View
Do have a look at the following.
http://www.codeproject.com/Questions/242224/how-to-validate-phone-and-mobile-number-in-javascr?arn=129
VICK
20-Jun-14 0:22am
View
does nt seems logical to answer a two year question,, which is already in the SOLVED STATE... :(
VICK
20-Jun-14 0:16am
View
Have you tried in the NETWORK tab of Browser console...that even your file is getting added or not??
VICK
19-Jun-14 7:43am
View
then call server side function by using __doPostBack('btnDelete', 'OnClick');
Can you expalin it a bit further??
How to call the server side function??
VICK
27-May-14 0:00am
View
OP,s requirement is using LINQtoSQL and not simple asp.net or C#.
VICK
22-May-14 23:59pm
View
You have just wrote the respective LINQ for the first part of query.. remaining 2 are still to be implemented and are actually the problematic part for me... :(
and secondly you missed the second where clause as well.. i.e.
and Convert(Date,TL.logindt) = Convert(Date,getdate())
VICK
24-Apr-14 1:00am
View
Glad to hear that you have solved your problem. :)
VICK
23-Apr-14 7:02am
View
When its says "Not Available" ???? after you clicked on "Open Image in new Tab"???
IF yes, than check the URL of that page. and see what is the difference in that and the correct Image URL.
VICK
22-Apr-14 6:34am
View
SNULL(Column2,NULL)
will check for the null value in Column2 and not if Column2 doest not exist. so off the topic. :(
VICK
22-Apr-14 6:33am
View
ISNULL(Column2,NULL)
will check for the null value in Column2 and not if Column2 doest not exist. so off the topic. :(
VICK
22-Apr-14 6:25am
View
"Inspect Element" in browser and see what ImageURL the application have created. and than right click on that and "Open Image in New Tab" to see what is wrong in that.
VICK
22-Apr-14 6:19am
View
1- Create ASP .NET Folder "App_WebReference"
2-Right Click on this folder and click on "Add Web Reference"
it will automatically add your webservices reference in Web.Config
VICK
22-Apr-14 0:46am
View
Use the "Have a Question or Comment?" link next to the post if you have a question for the OP. By entering a solution you remove the question from the list of unanswered questions
VICK
10-Apr-14 0:36am
View
RyanDev is right. Do explain your problem a bit more with the addition of HTML Content of Gridview and code you are using!.
:)
VICK
10-Apr-14 0:34am
View
Please post "HOW you solved your problem" as Solution and than accept it.
VICK
28-Mar-14 7:35am
View
Ah.. New CP Modification. I can reply to My OWN comment. :D
VICK
28-Mar-14 7:35am
View
Do post a new question to get proper help. as Already solved questions have minor chances of focus. :)
VICK
21-Mar-14 1:25am
View
But still that would be considered as Off Topic. :(
VICK
20-Mar-14 8:44am
View
Well, I was not aware of the first part. So Thanks for sharing this knowledge with me. Would be searching on GOOGLE for enhancement in that.
while for the Second, I am pretty sure and have it in knowledge, that's y didnt advise you that.
ANY WAY as you quoted that Columns can't be removed from a Datatable if they are involved in an Expression. Than Why are you trying that??/ :(
VICK
20-Mar-14 8:27am
View
table1.Columns.Remove("Lower");
table1.Columns.Remove("Upper");
These seems to be fine. and should be working. Can you tell that what error or exception you are getting on that?
VICK
20-Mar-14 8:19am
View
YES. SQL JOB would be a good automatic way to perform specific task at specific data. BUT For sql server JOB. You have to write some stored procedure to get the data and have to write a webservice to be called by that stored procedure to email that data as Bill to the Appartment Ownders.
VICK
20-Mar-14 8:13am
View
Please clarify/Explain a bit more.
And do share your HTML and Code if required to give a better understanding of what your Problem is.!
VICK
20-Mar-14 8:10am
View
Do Have a look
HERE
for a similar Task
VICK
20-Mar-14 6:50am
View
Fantastic answer to the question and the comments as well.
My 5+ :)
VICK
20-Mar-14 6:41am
View
Do have a look
HERE
for a similar kind of question.
VICK
20-Mar-14 6:40am
View
I Think OP wants to hide the row, not to delete.
VICK
20-Mar-14 6:36am
View
Do have a look HERE at.
FIle download on Button Click
just change the content type and File source.
VICK
20-Mar-14 6:29am
View
check my posted solution.
VICK
20-Mar-14 4:26am
View
So where are you stuck during conversion to C#???
Unable to check the session or what??
Do Post your code to get the expert's opinion for quick resolution.
VICK
20-Mar-14 4:23am
View
Further if this helps you solve your problem! or leads you to the way of solution. DO UpVote and Accept as Solution. :)
VICK
20-Mar-14 4:21am
View
So you want to permanently make some rows visible= false???
If YES!, Dn do add a column(Flag: you can name it visible and put true as default) in DB table from which you are binding the data to the Grid. and on selection inside the above code run a query to make the relative row's flag False. and than rebind the Grid with the data only having Flag= true and not false.
VICK
20-Mar-14 2:30am
View
Great. My 5+.
VICK
20-Mar-14 1:42am
View
My5+.
VICK
20-Mar-14 1:36am
View
Logic to answer an already answered and longgggggg old question?
VICK
20-Mar-14 0:59am
View
He is not asking for the code/help to check all child checkboxes through a Parent/header checkbox.
Rather OP's requirement is to make the selected rows invisible using a button outside the Grid.
VICK
20-Mar-14 0:51am
View
MY 5+. :)
VICK
19-Mar-14 4:49am
View
You are welcome. :)
VICK
19-Mar-14 1:43am
View
My 5+. :)
VICK
19-Mar-14 1:43am
View
Dear Jawad! Do edit your question and post your comment as part of your solution for better visibility to the OP and help. :)
VICK
19-Mar-14 1:39am
View
Do Paste Your gridview's HTML to show how you are binding for the command arguments.
VICK
18-Mar-14 8:24am
View
Sergey replied for someone's homwork.. :O
M completely confused and shocked.
Well as usual, detailed and explaining. My 5+ :)
VICK
18-Mar-14 8:22am
View
Use the "Have a Question or Comment?" link next to the post if you have a question for the OP. By entering a solution you remove the question from the list of unanswered questions
VICK
18-Mar-14 8:19am
View
Thanks Peter. :)
VICK
18-Mar-14 8:13am
View
Straight to the point. My 5+.
VICK
18-Mar-14 8:12am
View
Agreed with you Griff!
Its like we have to pay and perform both for his work.. :O
VICK
18-Mar-14 8:09am
View
To the point and precise. My 5+.
VICK
18-Mar-14 7:54am
View
Dont Repost to avoid being banned.
You have also posted the same question at http://www.codeproject.com/Questions/745830/Enable-multiple-checkboxes-for-search
VICK
18-Mar-14 3:36am
View
Hmm. Positive point.. Thanks Monmonwapo :)
VICK
18-Mar-14 3:16am
View
""In the link there is also a HTML example,""
Can you guide me to that?? As I am unable to get this from the link. Reason might be the less knowledge.
and reason of Downvote is "Sharing a link which is UN-SOLVED and hence giving a bad impression.(in my opinion)".
Didnt mean to hurt you Raul :(
VICK
18-Mar-14 3:12am
View
Hmmmm. Sad to not help you completely. :(
But Glad to see you got a path("Linked Database") to think on. :)
VICK
18-Mar-14 2:30am
View
I Think OP is not using MVC, same like the OP of the given Link... :(
VICK
18-Mar-14 2:20am
View
Use the "Have a Question or Comment?" link next to the post if you have a question/comment/reply for the OP.
VICK
17-Mar-14 3:40am
View
and Kindly when ever a link is provided to you by anyone. Do read it carefully and try to implement it after understanding. We all are here to help you on the point where you are stuck and expect you to have a bit understanding of what you are doing and what you want.
VICK
17-Mar-14 3:39am
View
After you have created your table, than afterwards use the trigger.
create trigger LimitTable
on Tbl_TextAdds
after insert
as
declare @tableCount int
select @tableCount = Count(*)
from Tbl_TextAdds
if @tableCount > 10
begin
rollback
end
go
VICK
17-Mar-14 3:26am
View
simply change the following line in the given link to
if @tableCount > 50.
Change it to if @tableCount > 10
and than check.. further incase of any issue, do post your trigger syntax.
VICK
17-Mar-14 3:15am
View
You are on local machine and trying to access a PDF from another machine??
IF YES! Than I think it wouldn't be possible due to security issue/limitation of web browsers.
Web Application's cant acces client machin's local directory.
VICK
17-Mar-14 3:03am
View
Have not you seen my solutions EDIT part? I have answered for database rows limit in that Sai.
VICK
17-Mar-14 2:52am
View
See the link in My Updated answer. and if it solves your problem, dont forget to Upvote and accept it as a Solution. :)
VICK
17-Mar-14 2:45am
View
Good to hear that. You mean to restrict the insertion in Database to max 10 rows as well?
VICK
17-Mar-14 2:36am
View
SqlCommand cmd = new SqlCommand("Select top 10 *from Tbl_TextAdds", con);
try this to get only 10 records from the database and bind it to gridview.
Check and share your findings.
VICK
17-Mar-14 2:28am
View
Well! can you share your code where you are binding the Gridview?
VICK
17-Mar-14 2:19am
View
How the data is binding to gridview?? from Database or from a form, from where you are inserting records one by one??
VICK
17-Mar-14 1:53am
View
Use the "Have a Question or Comment?" link next to the post if you have a question for the OP. By entering a solution you remove the question from the list of unanswered questions
VICK
17-Mar-14 1:27am
View
I Think you are merging two concepts together. You want a web application,s to work like a window form application.
Re-read the Original Griff's reply: you dont have to deploy the site on your client's system if you want them not to see your code etc. just get a domain or a public IP from your ISP and deploy your site on your machine and provide a link of which to the client only.
VICK
17-Mar-14 1:05am
View
use the debugger to check out where the flow is getting truncated and than try to that Error generating code in the try catch block to get what exception specifically is getting thrown.
Hope it will help you.
VICK
17-Mar-14 1:02am
View
If it has solved your problem, do accept this as answer so that it could tag this question as solved.
VICK
14-Mar-14 8:41am
View
Hmmm. Well! I think your "may be" would be a right answer.. :D
Any ways Thanks JAS24. :)
VICK
14-Mar-14 6:48am
View
welcome back to???
VICK
14-Mar-14 6:31am
View
My 5+. :)
VICK
14-Mar-14 6:27am
View
Any special reason of RE-POSTING this while it has already been posted by YOU on below link.???
http://www.codeproject.com/Answers/743709/how-to-bind-the-data-table-records-into-excel-us#answer1
VICK
14-Mar-14 3:08am
View
in what way you want to apply this template's css to your project?
Have you designed and build your project's template/pages? if yes than just copy the .css file provided with the downloaded template to your applicaiton hierarchy and link it in page head tag.
VICK
14-Mar-14 3:05am
View
Great to see an answer posted and accepted for an old question.
MY 5+ for your effort.
VICK
13-Mar-14 6:35am
View
Hmmm. Yes, but that can be handled as well by displaying the error message like Javscript disabled could cause some functions to malfunction etc.
Well, Lets wrap this debate up with a concise review..
What would be your preference for validation and in which circumstance??
Explain your views for all of three, i.e. server side Controls, Javscript, Jquery.
VICK
13-Mar-14 6:31am
View
Well, So final verdict is that if we want to get some headache or want to practice javascript,we can write the manual validation code, and if we want a ready made solution, we can get the validationengine type plugins in. :D
VICK
13-Mar-14 6:18am
View
Well. when it comes to the large forms with a lot of validations required??
Further as it has become a common trend of present era,to perform most operations on the client side to avoid server postbacks/calls, than dont you think using the oldy server side is good idea ??
VICK
13-Mar-14 6:15am
View
Well.Agreed to some extent.. @ Ankur :)
VICK
13-Mar-14 6:14am
View
Can you post a bit of code or a better link, which contains short and concise javascript based validation solution, which should be working for the common validations like asp validation controls?? i.e. required, regular expression etc?
I am not an expert developer, but as per my understanding, for a naive user asp validation controls are a best choice to get started and have an understanding of validation work.
But after being a bit more experience, when along with the task completion, look and feel of the application is concerned as well, than we should have a look at this type of plugin.
VICK
13-Mar-14 5:17am
View
""""Moreover, just few lines of JavaScript will do that"""
So would you be adding few lines of Java Script along with the 50 lines of validators plus a single line of validation summary for a form which contains 50 fields to validate???
VICK
13-Mar-14 5:16am
View
To use asp validation controls, place the validation summary, than validators for the each field which you want to validate, assign a Target Control ID and so on.
while in the posted solution above, you just have to add jquery reference once in the head tag, and than just add an attribute in the existing HTML content and that's it..
So what is more time saving??
VICK
13-Mar-14 5:14am
View
You can google for the benefits of JQuery over JavaScript. further have you seen this Plugin in detail?? It has a lot of pre defined validation types and its better to use a ready made robust solution rather than searching for the javascript chunks for each validation type.
Further Ankur\m/... If you have any better solution in JavaScript. Kindly Please share it here to help others.
VICK
13-Mar-14 4:09am
View
Reason of "Cant change the function" ??
As event object have three properties and you wanna use one of them which is start. so you have to pass it like JoCodes mentioned above.and for that you must have access to .JS file.
Show More