16,004,647 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 Ashutosh Gpta (Top 6 by date)
Ashutosh Gpta
10-Dec-19 12:24pm
View
can you try to debug by adding console.log in multiple places so that you will have an idea which line has an issue.
Ashutosh Gpta
9-Dec-19 10:43am
View
@Member 13174280, you have tried the solution then definlty you would have define the type of row, right, but anyways my impression seems to be you are using grid and row is type of DataRow and FIELDNAME is column name.
Ashutosh Gpta
9-Dec-19 7:11am
View
if it is just two decimal value then solution is to use string.format to convert into max two decimal. e.g. sku.SKUPrice = string.Format("{0:0.##}", txtActualPrice.Text);
but it seems you have indexing issue as mentioned by Richard above.
Ashutosh Gpta
9-Dec-19 2:12am
View
i think OP is looking for radar view for his solution, that shows full main view into small portion of full view.. some time main view is not fully visible in screen and this radar view help user to see all elements inside view.
Ashutosh Gpta
9-Dec-19 1:05am
View
ok, then your solution could be, keep reference of c in your class E and class E is kind o child of C, which is managing E.
implement INotifyPropertyChanged for class c as well as this class props are binded in control.
public E MyObject = new E(this); // c class implementation.
public E(C cobj) // constructor of E
{
this.Cobj = cobj;
}
public bool SetProperty<t>(ref T field, T newValue, [CallerMemberName]string propertyName = null)
{
if (!EqualityComparer<t>.Default.Equals(field, newValue))
{
field = newValue;
PropertyChanged?.Invoke(this, new
PropertyChangedEventArgs(propertyName));
this.Cobj.PropertyChanged?.Invoke(this.Cobj, new
PropertyChangedEventArgs(nameof(this.Cobj.Content)));
return true;
}
return false;
}
do not just refer my code and paste it, i hope my code give you understanding of how INotifyPropChnge work.
Ashutosh Gpta
8-Dec-19 11:59am
View
why do you think so that is only for OP not for others in future until and unless they get the right answer. anyway i didnt realize the date but this question was appearing on top of list to answer. down vote for answering without noticing date of question asked, anyways i dont mind of down vote, it is going to help some one in future for sure.
Show More