15,886,104 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 Rajeshyadav12 (Top 17 by date)
Rajeshyadav12
3-May-19 22:10pm
View
Thank you for your answer. One more thing I would like to ask. I want to do client side validation as well. We can't move all items from one listbox to another. There should be at least one item in the listbox. Can you please guide me how to do it as well. Appreciated for your help.
Rajeshyadav12
29-Apr-19 1:36am
View
Thank you for guiding me. I will try to write some JavaScript code to do so.
Rajeshyadav12
29-Apr-19 1:23am
View
Thank you for your comment. Can you please elaborate more to understand better.
Rajeshyadav12
3-Sep-18 20:03pm
View
Thank you so much. I will have a look on the link you provided.
Rajeshyadav12
23-Jan-18 14:35pm
View
@debasish, This solution is not working. If I put Apple1 then also it is showing successful. Can you please provide me a solution relevant to my question. It will be really appreciated. Thank you.
Rajeshyadav12
20-Nov-17 4:47am
View
@Karthik, URL is same as you have written. Please check the above code. Thank you.
Rajeshyadav12
19-Nov-17 22:40pm
View
The error message is " The resource can not be found".
Rajeshyadav12
19-Nov-17 22:34pm
View
@Karthik, Please guide me. I have already pasted the code on the top. I want to display all the data from the table upon any changes. Please help me.
Rajeshyadav12
19-Nov-17 22:29pm
View
@Karthik, I have already written this code in GetStatus.cshtml. But this is throwing an error alert("An error has occured!!!"); I have pasted my code on the top. Please guide me.
Rajeshyadav12
19-Nov-17 17:10pm
View
@karthik,I do not have an idea what to put under var obj = {}; and success: function (data) {
// process the data
},
My controller returns:
[HttpPost]
public ActionResult GetStatus()
{
TestHandle sdb = new TestHandle();
return Json(sdb.GetPhoneData());
}
And my View is something like this:
@model IEnumerable<testproject.models.test>
@foreach (var item in Model)
{
@Html.DisplayFor(modelItem => item.FName)
@Html.DisplayFor(modelItem => item.LName)
}
var interval = 5; // 5 seconds
interval = interval * 1000;
var obj = {Id}; // specify the parameters
window.setInterval(poll, interval);
function poll() {
$.ajax({
url: '/Home/GetStatus',
type: "POST",
data: obj,
dataType: "json",
traditional: true,
contentType: "application/json; charset=utf-8",
success: function (data) {
debugger;
Id = data.Id
// process the data
},
error: function () {
alert("An error has occured!!!");
}
});
}
I am using partial view named "GetStatus" and want it display the changes made in the database without refreshing the page. Please guide me. Thank you Karthik.
Rajeshyadav12
17-Oct-17 15:42pm
View
No Bryian. This is ASP.NET Web form application.
Rajeshyadav12
11-Oct-17 16:21pm
View
@AtlapureAmbrish, Can you please see the link button on login.ascx and registration.ascx page? <asp:LinkButton ID="lnkRegistration" runat="server" Text="Registration"> and <asp:LinkButton ID="lnkLogin" runat="server" Text="Login">.
Rajeshyadav12
10-Oct-17 22:05pm
View
@AtlapureAmbrish, My concern is that I have two links Login and Registration. But Only one link is working. I can not see any error in console. Nothing is happening.What i want is, if i click on login then login popup should appear and same for registration. Please guide me. I can not understand why only one link is working from <uc:Login ID="ucLogin" runat="server" />
<uc1:Registration ID="Registration" runat="server" />
Rajeshyadav12
10-Oct-17 16:29pm
View
@richard deeming, I have made changes in the questions and included both registration and login user control. Please have a look. Thank you in advance.
Rajeshyadav12
8-Jun-17 22:27pm
View
If i remove yield, then this error is coming 'Cannot implicitly convert type 'System.Collections.Generic.List<long>' to 'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<long>>'
Rajeshyadav12
8-Jun-17 21:42pm
View
@ppolymorphe, Can you please provide me the solutions.I am not getting much idea.Appreciated if you provide me some solutions.
Rajeshyadav12
16-May-17 7:19am
View
Hi Zunayed, Thank you for your code. But I want to write a code in such way that it should pass the test cases. I will send you the link which gives you clearer idea about the task. Please find the link: drive.google.com/open?id=0B_6Eur5JYu9_MDNfelVKOWswRGs and drive.google.com/open?id=0B_6Eur5JYu9_Y3BhZFdSbkpiWVE. Please go through it once. Thanks
Show More