Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Python questions
View PHP questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by markovl (Top 30 by date)
What do you mean by not working? Is there an error? Or the script doesn't get called? Or jQuery is not loaded?
There is not enough information in this question as is.
What you could do is copy the output html of your table after it's been rendered (after the page has loaded use the View Source command of your browser) and paste it in the place of the table in the html I gave you. It may reduce some of the clutter and help you identify the issue faster. If you're not already, I'd suggest you try Firebug with Firefox - it has been a life-saver for me when tracking bugs like that.
What's up with resurrecting an already resolved question from 1.5 years ago? Why would you do that? Is it points? Is it boredom? What?
It was only to post SPAM, so I guess they don't care too much :-)
Hi, I've updated my original solution to include my test page. In the future, please leave your comments and questions below the respective answer - this notifies the person who posted the solution; adding another solution doesn't.
OK, you need to pick up a beginner's book and start there.
The loop is so basic a concept that if you don't understand it, you should stop right here, go back and start doing some serious reading and experimenting. After you've grasped on the basics, you could go to more advanced scenarios.
This kind of questions are not welcome here. I'd suggest you remove it, otherwise I can see your account banned pretty soon.
Why resurrect an year old already answered question?
It is not quite clear what you're trying to achieve here.
The MyCustomBackground callback is called when the value of MyBackground changes - if you assign a value to it from XAML it will become the value of MyBackground.
I suggest you read on dependency properties:
- on MSDN: http://msdn.microsoft.com/en-us/library/ms752914.aspx
- a nice series by Josh Smith: http://joshsmithonwpf.wordpress.com/2007/05/16/demystifying-dependency-properties/
Try to do that yourself. Otherwise how do to you expect to learn?
This doesn't make much sense. Why not use the StackPanel.Background property to assign a background?
So your function is getting called? Is there any error message? The browser may be preventing the alert. Did you try another browser?
You do realize this is an year and half old question, right?
You're welcome Sandeep.
Hey, thanks! I agree completely.
Though, my observation is that people rarely care to clarify their questions, so I guess we'll never know the intent and is this approach at all valid :) I just hope that he/she (or any other ending up here with similar problems) at least check out the links and try to get the concept before using it.
Your question is not at all clear. What kind of errors are you getting? If there's some unresolved reference in your project, double-click the "My Project" node in Solution Explorer and check the References tab - there may be some clues. Also double-check that the path to the assembly is correct.
And your point being what?
If the problem is with the actual values that are assigned to the different nodes are the names of the tags, adjust your code to reflect this.
For example the line:
docConfig.CreateTextNode("ABC" + i);
in your loop creates a text node and assigns its value to "ABCXX" ("XX" is the value of i at the current iteration).
Another thing, please do not post your additional questions as solutions, but use the "Improve question" option for your original question
It says 10, because that's how you've coded your loop - from 10 to 19.
You'll have to modify your code by yourself to suit your needs. I just pointed out that you missed to include the "HEDDER" element in your logic.
This code produced exactly the same structure as you've indicated that's intended.
Better than mine :) Have a five.
Any particular reason to not want to use an if? Just curious.
Maybe it's best to take your question to the vendor of the control. I assume you're using GeckoFX's component? They'd be of better help.
This is just wrong. The selectedIndex property of the select object is a number, it's not a string, so this condition will always evaluate to false.
Deleted my answer... Brain fart.
Is the OpenFileDialog set as Child of the Popup? What is your setup?
@OP: Considering a career change?
Yes, I got what you meant :). My reply was to the OP.
No, I think what he means is that the user is the consumer of the "interface" - thus not caring about it's actual implementation.
Not really... Didn't saw your post until I posted mine - and both answers are saying basically the same thing. Thought the smiley will be enough to avoid possible confusion.
No hard feelings I hope. Take care :)
Beat me to it ;)
Great answer! One small correction though, the question is tagged as VB.NET - so it should be Imports MyOtherProject
Last Updated 1 Jan 1900
All Rights Reserved.