Click here to Skip to main content
15,903,856 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: [VB.NET 2008] How to rise an event of an object in a form from another form Pin
steve_94966135-Jun-14 5:08
professionalsteve_94966135-Jun-14 5:08 
GeneralRe: [VB.NET 2008] How to rise an event of an object in a form from another form Pin
DarkChuky CR27-Aug-14 11:42
DarkChuky CR27-Aug-14 11:42 
GeneralRe: [VB.NET 2008] How to rise an event of an object in a form from another form Pin
steve_94966133-Sep-14 4:05
professionalsteve_94966133-Sep-14 4:05 
GeneralRe: [VB.NET 2008] How to rise an event of an object in a form from another form Pin
DarkChuky CR3-Sep-14 4:44
DarkChuky CR3-Sep-14 4:44 
GeneralRe: [VB.NET 2008] How to rise an event of an object in a form from another form Pin
steve_94966134-Sep-14 1:57
professionalsteve_94966134-Sep-14 1:57 
Questionunable to get property 'childnodes' of undefined or null reference Pin
Member 105519074-Jun-14 2:47
Member 105519074-Jun-14 2:47 
AnswerRe: unable to get property 'childnodes' of undefined or null reference Pin
Simon_Whale4-Jun-14 3:12
Simon_Whale4-Jun-14 3:12 
AnswerRe: unable to get property 'childnodes' of undefined or null reference Pin
jinzai17-Jul-14 12:26
jinzai17-Jul-14 12:26 
As the previous reply indicated -- this is Javascript -- and it is using -- most likely jQuery.

I am responding because -- this snippet is accessing the DOM and making assumptions that are causing it to fail -- without grace and without any real way to provide much information, but -- the exception seems to indicate that the node being accessed is not present.

This is not a good way to find the element in question and the code has been written in an odd manner because the author has not taken the time to understand nodes -- if you do not do this, your only options moving forward are to write code like this and hope for the best, or abdicate the responsibility by using a 3rd party client side library for that.

To make matters worse, this issue of textContent vs. innerText -- is a well known difference between browsers and how they view whitespace in documents -- particularly XML documents.

It behooves a developer to take the responsibility of learning how to walk the DOM themselves and to check for null -- at least once. How do you know where you are in the DOM otherwise?

This script -- needs a lot of work to be robust --
QuestionRewriting VB6 Point of Sale App in C# using Visual Studio 2013, .Net Framework 4.5.1 Pin
sgralnick3-Jun-14 10:41
sgralnick3-Jun-14 10:41 
AnswerRe: Rewriting VB6 Point of Sale App in C# using Visual Studio 2013, .Net Framework 4.5.1 Pin
CatchExAs19-Jun-14 12:28
professionalCatchExAs19-Jun-14 12:28 
AnswerRe: Rewriting VB6 Point of Sale App in C# using Visual Studio 2013, .Net Framework 4.5.1 Pin
Member 99087646-Aug-14 12:03
Member 99087646-Aug-14 12:03 
Question.Dat file Pin
jjanmendra1-Jun-14 22:03
jjanmendra1-Jun-14 22:03 
AnswerRe: .Dat file Pin
Richard MacCutchan1-Jun-14 22:57
mveRichard MacCutchan1-Jun-14 22:57 
AnswerRe: .Dat file Pin
Dave Kreskowiak2-Jun-14 2:28
mveDave Kreskowiak2-Jun-14 2:28 
QuestionActivex code to print pdf files on client machine Pin
Sachin Mehndiratta29-May-14 1:29
Sachin Mehndiratta29-May-14 1:29 
AnswerRe: Activex code to print pdf files on client machine Pin
AmitGajjar29-May-14 6:43
professionalAmitGajjar29-May-14 6:43 
GeneralRe: Activex code to print pdf files on client machine Pin
Sachin Mehndiratta1-Jun-14 21:04
Sachin Mehndiratta1-Jun-14 21:04 
QuestionAttribute in .net Pin
Member 1079749328-May-14 21:30
Member 1079749328-May-14 21:30 
AnswerRe: Attribute in .net Pin
Pete O'Hanlon28-May-14 22:56
mvePete O'Hanlon28-May-14 22:56 
GeneralRe: Attribute in .net Pin
Manikandan1011-Jun-14 3:46
professionalManikandan1011-Jun-14 3:46 
GeneralRe: Attribute in .net Pin
AmitGajjar29-May-14 6:44
professionalAmitGajjar29-May-14 6:44 
Questionhow to change DataGrid specific column alignment to Center in C# programmatically Pin
ven75327-May-14 23:49
ven75327-May-14 23:49 
AnswerRe: how to change DataGrid specific column alignment to Center in C# programmatically Pin
Eddy Vluggen28-May-14 0:28
professionalEddy Vluggen28-May-14 0:28 
GeneralRe: how to change DataGrid specific column alignment to Center in C# programmatically Pin
ven75328-May-14 1:58
ven75328-May-14 1:58 
GeneralRe: how to change DataGrid specific column alignment to Center in C# programmatically Pin
Eddy Vluggen28-May-14 3:00
professionalEddy Vluggen28-May-14 3:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.