15,741,818 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 Javascript questions
View C++ questions
View Python questions
View Java 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 DrABELL (Top 200 by date)
DrABELL
4-Aug-15 13:53pm
View
Reason for my vote of 5 \n Nice to see IoT is getting traction: good tip, 5*
DrABELL
28-Jul-15 13:48pm
View
Reason for my vote of 5 \n Good one! I was thinking about such function extending the standard SQL Aggregates (like my old one http://www.codeproject.com/Tips/137564/Aggregate-Product-function-extends-SQL) but was kinda lazy to complete the task... :) Solid 5*
DrABELL
16-Mar-15 21:21pm
View
Reason for my vote of 5 \n Very elegant and practical solution! Solid 5*.
DrABELL
26-Feb-15 23:07pm
View
Reason for my vote of 5 \n Uber! Thanks a bunch for posting this concise and clear guidelines. Especially, I like this Math notation feature: it adds elegance to the heavy-math loaded articles. One minor observation: it looks like the collapse/expand feature in multi-lang sample does not work properly (not a big deal, actually). Best regards/wishes and a solid 5*
DrABELL
26-Jun-14 16:08pm
View
Can you recommend any practical solution based on PayPal API?
DrABELL
26-Jun-14 16:08pm
View
Deleted
Can you recommend any practical solution based on PayPal API?
DrABELL
22-Aug-13 12:46pm
View
Reason for my vote of 4 \n Useful tip, though a similar one has been described several years ago with multiple samples provided online (link: http://www.webinfocentral.com/html5/). Rgds, AB
DrABELL
14-Oct-12 11:20am
View
You are welcome! Good luck with your project.
DrABELL
14-Oct-12 0:07am
View
Thanks!
DrABELL
10-Oct-12 16:38pm
View
Reason for my vote of 5
Very simple yet practical solution! Good job, 5*!
DrABELL
10-Oct-12 15:01pm
View
Reason for my vote of 5
Very practical solution, 5*. I just wonder if it relates only to programs available for "all users" or also is taking in consideration user profiles (there might be many) on particular PC? Thanks.
DrABELL
9-Oct-12 19:26pm
View
Reason for my vote of 4
Interesting article, but could you please fix the typo in Title: I guess it should be 'Glyph', not 'Gyph', a bit confusing. Anyway, good job!
DrABELL
9-Oct-12 13:41pm
View
Reason for my vote of 5
Very interesting solution to rather common problem, 5*. I am just curious if it could be also achieved via ObservableCollection<t> Class included in recent .NET versions?
DrABELL
9-Oct-12 13:34pm
View
Reason for my vote of 5
Very practical article, elegant solution: 5*
DrABELL
9-Oct-12 13:30pm
View
Reason for my vote of 5
Very practical solution, 5*. Actually, it's using Win32 API, elegantly wrapped within C# code snippet. Good job!
DrABELL
9-Oct-12 13:23pm
View
Reason for my vote of 5
Practical solution, well written article: 5*
DrABELL
21-Sep-12 19:33pm
View
Reason for my vote of 4
The idea of converting .NET DataTable Object to CSV or XML string, or rendering as HTML definietly is not new, but the Solution might be useful/practical if it demonstrates some competitive advantages vs. existing ones. Thus couple questions should be answered:
1. XML: DataTable.WriteXml is a standard Method in NET framework. What is the reason to bypass in-built one and implemented the one suggested in your post?
2. HTML: DataTable can be converted to DataView and then GridView can be bind to DataView in just couple lines of code. What is the advantage of your method that involves quite lengthy chunk of code?
Thanks and regards, AB
DrABELL
21-Sep-12 11:38am
View
Reason for my vote of 3
Hi,
The opening statement in your post is a bit confusing as there is, actually, such option as "GridView.AllowPaging Property" and correponding styles are described at MSDN spec (link follows)
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.allowpaging.aspx. In particular, including:
-PagerButton.NextPrevious
-PagerButton.NextPreviousFirstLast
-PagerButton.Numeric
-PagerButton.NumericFirstLast
Please elaborate why these standard options do not suffice your task and what is the competitive advantages/added value of your solution.
Best regards, A.Bell
DrABELL
16-Sep-12 13:58pm
View
Reason for my vote of 5
Insightful discussion, detailed coverage accompanied w/efficient solution: 5*
DrABELL
2-Mar-12 1:18am
View
Deleted
Thanks!
DrABELL
29-Feb-12 0:20am
View
Deleted
Thank you!
DrABELL
14-Feb-12 0:39am
View
Deleted
Many thanks for your note/vote!
DrABELL
2-Feb-12 15:09pm
View
Deleted
Thank you for your note/vote!
DrABELL
18-Jan-12 13:37pm
View
Deleted
Many Thanks for your note/vote.
DrABELL
17-Jan-12 7:53am
View
Deleted
Many Thanks!
DrABELL
10-Jan-12 19:04pm
View
Deleted
Many Thanks for your vote/note!
DrABELL
5-Jan-12 18:36pm
View
Deleted
Many Thanks! I plan a series of full-size articles on this topic to be published in the near future. My best-AB
DrABELL
2-Jan-12 21:58pm
View
Deleted
Thanks!
DrABELL
31-Dec-11 8:26am
View
Deleted
Actually the solution works pretty fast in demo implementation, though obviously there is the room for performance improvement. For example, global var could be assigned to the "previous" row to deselect it on click instead of looping through the row set.
DrABELL
31-Dec-11 8:15am
View
Deleted
Thanks.
DrABELL
30-Dec-11 9:39am
View
Deleted
Please refer to the Source Code section. Thanks.
DrABELL
30-Dec-11 8:41am
View
Deleted
Many Thanks!
DrABELL
28-Dec-11 9:12am
View
Deleted
I have pointed to that option earlier in comments thread (see .addClass()/.removeClass() jQuery methods). Thanks and regards-AB
DrABELL
27-Dec-11 11:09am
View
Deleted
Many Thanks!
DrABELL
27-Dec-11 11:08am
View
Deleted
Many Thanks!
DrABELL
26-Dec-11 21:31pm
View
Deleted
Many thanks!
DrABELL
26-Dec-11 21:31pm
View
Deleted
You are very welcome! Likewise, thanks for your note.
DrABELL
20-Dec-11 10:19am
View
Deleted
See the reference section for the code, there is a plenty of it. Also, think beyond the code: this is a valuable infographics and stats pertinent to the highly important YouTube video sharing site. And, also, please do not try to impose your own opinion on entire IT community: there are plenty of positive feedback to my post. Regards-AB
DrABELL
20-Dec-11 10:12am
View
Deleted
Thanks for the note. It is a demo of new CSS feature - see the comments: /*** fancy text effect: 180 degree ***/
DrABELL
20-Dec-11 0:49am
View
Deleted
Many Thanks! :)
DrABELL
14-Dec-11 12:37pm
View
Deleted
Many thanks!
DrABELL
14-Dec-11 9:30am
View
Deleted
Thanks!
DrABELL
14-Dec-11 9:30am
View
Deleted
Many thanks!
DrABELL
14-Dec-11 7:43am
View
Deleted
Sorry, but I did not understand your message.
DrABELL
13-Dec-11 14:14pm
View
Deleted
See the references/links to the code.
DrABELL
26-Nov-11 12:41pm
View
Deleted
Jules, thanks for your vote, but the message is misplaced: instead of comment thread it appears as alternative section )). My best - Alexander Bell
DrABELL
9-Nov-11 19:24pm
View
Deleted
Multiple articles have been already published on this topic (YouTube API for ASP.NET) with code samples (see the following):
http://www.codeproject.com/Tips/153135/YouTube-Video-Playback-customization
http://www.codeproject.com/KB/aspnet/YouTube.aspx
http://www.codeproject.com/KB/web-image/YouTube_API.aspx
I would recommend you to re-consider your voting practice. Rgds - AB
DrABELL
9-Nov-11 19:23pm
View
Deleted
Multiple articles have been published on this topic (YouTube API for ASP.NET) with code samples (see the following):
http://www.codeproject.com/Tips/153135/YouTube-Video-Playback-customization
http://www.codeproject.com/KB/aspnet/YouTube.aspx
http://www.codeproject.com/KB/web-image/YouTube_API.aspx
DrABELL
2-Nov-11 10:38am
View
Deleted
Many thanks!
DrABELL
30-Sep-11 21:53pm
View
Deleted
Thanks!
DrABELL
27-Sep-11 17:40pm
View
Deleted
Thanks!
DrABELL
27-Sep-11 11:20am
View
Deleted
Thank you!
DrABELL
20-Sep-11 20:51pm
View
Deleted
...continued) and here is a source code for Browser capability detection feature I've posted on CodePlex: http://browserdetection.codeplex.com/
DrABELL
20-Sep-11 20:43pm
View
Deleted
You are welcome, Dennis! You took a reasonable approach adding that feature to your site: the server side coding indeed is quite simple. As FYI, here is a link to my old (kinda ancient :) article on Examiner regarding the info that server could provide to the browser about the client's computer: http://exm.nr/BROWSE (You can see the working Demo on my site - the button located next to IP). Just one sentence to add - there is a way to get that external IP info if you check your Router settings, but this topic goes far beyond just the coding technique :)
DrABELL
20-Sep-11 18:14pm
View
Deleted
Dennis, sometimes ping or tracert (at DOS prompt) could do the job, but in case of using home network router (rather typical situation) things get more complicated. The easiest way IMHO is to call one of websites mentioned above (btw, webinfocentral.com is mine, so I would probably add free IP detection web service for the folks to use :). Also, regarding your question: the external IP detection is done on server side, then the result has been sent to the browser, that's how it works internally. My best - Alex B.
DrABELL
20-Sep-11 11:53am
View
Deleted
Brian, I am not talking about the joke per se, but rather of questionable practice of embedding "the unnecessary comedy component into business" and ridiculing the voting and ratings process. Jokes are OK until they start interfering with the main goal of this valuable community-generated technical content. On a serious note, going beyond your personal dislike of Justin Bieber, what else do you dislike in my application, which provides rather useful stats on utmost popular content website? Regards- Alex
DrABELL
20-Sep-11 9:54am
View
Deleted
Thanks! The use of .addClass()/.removeClass() is a valid approach and could be recommended going forward. In the past these methods had some reported deficiencies, prior to jQuery version 1.4.2. My best - AB
DrABELL
20-Sep-11 9:42am
View
Deleted
You are welcome. You could use jQuery "$(document).ready" to Select/Play the first video item on page load, like shown in code snippet below (in actual player SetTimeout() is used to insert small delay):
$(document).ready(function () {
// start the first item after small delay
setTimeout('PlayRowItem()', _initDelay);
});
});
DrABELL
20-Sep-11 9:32am
View
Deleted
Yes, Brian, I probably should :) Thanks for your input. - My best - AB
DrABELL
20-Sep-11 9:28am
View
Deleted
You're very welcome! Best regards - Alex
DrABELL
19-Sep-11 20:12pm
View
Deleted
Dennis, Thanks for your valuable input! I have a question for you - did you try to use the website I've recommended (http://webinfocentral.com)? If so, what was the result? Your comments invited. Thanks and regards - Alex B.
DrABELL
19-Sep-11 16:26pm
View
Deleted
You are very welcome!
DrABELL
19-Sep-11 8:18am
View
Deleted
Well, you can call it in different ways, but the "triple-click" title is good enough to communicate the idea clearly. This triple-click feature is also present in various text editors, including MS Word. Regards- AB
DrABELL
19-Sep-11 8:15am
View
Deleted
You are welcome!
DrABELL
19-Sep-11 8:13am
View
Deleted
Thanks!
DrABELL
17-Sep-11 15:51pm
View
Deleted
Many Thanks! Regards-AB
DrABELL
17-Sep-11 15:49pm
View
Deleted
Frankly speaking, it's a bit confusing: why did you rate my solution with the LOWEST possible value of 1? Some explanation would be helpful. Regards - Alex
DrABELL
15-Sep-11 11:42am
View
Deleted
You are very welcome! Best regards/wishes - AB
DrABELL
15-Sep-11 10:23am
View
Deleted
Yes, it should. Thanks for your input! Kind regards - AB
DrABELL
14-Sep-11 7:28am
View
Deleted
Many Thanks!
DrABELL
14-Sep-11 7:27am
View
Deleted
Thank you!
DrABELL
13-Sep-11 19:41pm
View
Deleted
Reason for my vote of 5
Excellent, thanks for sharing!
DrABELL
13-Sep-11 19:30pm
View
Deleted
Aria,
In that highly-hypothetical case that JavaScript is disabled (JavaScript became de-facto standard feature in all major Browsers), then server side can do the final validation, exactly as I stated. Still, even in that case the question remains regarding the original code - why to limit the validation to just integers, while majority of real-life applications operate with float/double/currency numeric data types? Validation, IMHO, should take into account those types either.
Thanks and regards-AB
DrABELL
13-Sep-11 9:36am
View
Deleted
Thanks a bunch! :)
DrABELL
13-Sep-11 9:33am
View
Deleted
Reason for my vote of 3
Validation should be performed first on the client side; it could be also accompanied by server side validation like this. I would also recommend to use a Label control instead of TextBox2.
DrABELL
13-Sep-11 9:06am
View
Deleted
Reason for my vote of 4
Validation should be performed first on the client side; it could be also accompanied by server side validation like this. I would also recommend to use a Label control instead of TextBox2.
DrABELL
13-Sep-11 8:53am
View
Deleted
Thanks!
DrABELL
13-Sep-11 8:15am
View
Deleted
Thanks! :)
DrABELL
12-Sep-11 20:39pm
View
Deleted
Hi Steve,
Thanks a bunch for your comments! Occasionally you put in Alternative section :) It's OK, things happen: I will take care of it. Best of luck with HTML5, it's really good!
Kind regards - Alex
DrABELL
8-Sep-11 9:56am
View
Deleted
Thanks!
DrABELL
7-Sep-11 19:17pm
View
Deleted
Thanks, Walt!
DrABELL
6-Sep-11 13:08pm
View
Deleted
You are very welcome, Brian! Regards - AB
DrABELL
6-Sep-11 13:04pm
View
Deleted
Brian,
Though I appreciate your kind attention, but your voting practice based on your musical preferences is quite inappropriate in this case. This site/article is neither a musical contest, nor comedy show, thus please take your vote seriously.
Regards,
Alex
DrABELL
6-Sep-11 6:57am
View
Deleted
Many Thanks!
DrABELL
5-Sep-11 23:50pm
View
Deleted
You are welcome!
My best - AB
DrABELL
5-Sep-11 19:36pm
View
Deleted
Sobiyang,
You are welcome! It seems you've mistakenly added your comments as alternative. I would suggest to delete it and re-post at comments section.
Kind regards,
Alex
DrABELL
31-Aug-11 22:14pm
View
Deleted
Thanks!
DrABELL
4-Aug-11 19:21pm
View
Deleted
Reason for my vote of 5
Solution makes sense!
DrABELL
4-Aug-11 10:08am
View
Deleted
Reason for my vote of 5
Excellent! Would be really nice to have an additional DB-to-Outlook contact export feature as well. 5*
DrABELL
2-Aug-11 9:13am
View
Deleted
I would totally agree with Walt and Adrian
DrABELL
2-Aug-11 9:12am
View
Deleted
I would totally agree with Walt and Adrian
DrABELL
31-Jul-11 21:55pm
View
Deleted
Thanks!
DrABELL
31-Jul-11 10:43am
View
Deleted
Reason for my vote of 5
Good one!
DrABELL
28-Jul-11 9:07am
View
Deleted
Thanks!
DrABELL
25-Jul-11 23:37pm
View
Deleted
Reason for my vote of 5
I would totally agree with Steve: using var keyword should be allowed only in case of absolute necessity, otherwise use strong data typing and explicit type casting. The programing paradigm of modern days is "code for readability and clarity", thus avoiding any ambiguous coding technique is a must! 5*
DrABELL
25-Jul-11 23:29pm
View
Deleted
Reason for my vote of 5
Very good, practical example of using new keyword to implement the desirable polymorphic behavior, 5*
DrABELL
25-Jul-11 23:15pm
View
Deleted
Reason for my vote of 5
Totally agree with John! Using SELECT* is also a bad practice from the performance prospective. Thanks for sharing this useful tip/use case!
DrABELL
14-Jul-11 14:58pm
View
Deleted
Many thanks!
DrABELL
6-Jul-11 15:22pm
View
Deleted
LOL :)
DrABELL
4-Jul-11 16:16pm
View
Deleted
Reason for my vote of 5
Interesting tip! There is actually the discussion on this topic published online at: http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/6eabe54d-b715-4e48-b8d2-c8f54153a2c0, but this solution and business logic seems to be different. 5*
DrABELL
4-Jul-11 15:56pm
View
Deleted
Reason for my vote of 5
Very interesting solution, nice to have in a code snippets repository. Thanks for sharing, 5*
DrABELL
4-Jul-11 15:53pm
View
Deleted
... in addition to my previous post; the working demo of Browser detection module (upgraded version) is available at: http://webinfocentral.com/ . Click on the "Check Browser" button to see the result.
DrABELL
4-Jul-11 15:50pm
View
Deleted
Reason for my vote of 5
Many thanks, Walt, for pointing out to these important issues. long time ago I have published an article: How to Detect Browser Capabilities in ASP.NET, available on CodeProject, though it's dealing with .NET framework and, therefore, coded in C#
DrABELL
4-Jul-11 15:42pm
View
Deleted
Reason for my vote of 5
Excellent tip; very simple and practical solution to the common problem! 5*
DrABELL
30-Jun-11 19:37pm
View
Deleted
Thanks a bunch, ASP-DOT-NET-DEV-U-THE-BEST! :) Actually, I thought it's been attached to the communication thread with Walt, but one more time, thanks for taking care of proper-propagation-of-my message(s) :)
Have a great day.
Best. Alex (the Great :)
DrABELL
28-Jun-11 20:03pm
View
Deleted
Hi Alex,
You are absolutely right: this very robust yet simple method did not get sufficient coverage in educational textbooks. As FYI: there is a reference [1] in my article on statistical Outliers to the NIST handbook, describing this method.
Thanks and regards,
Alex Bell
DrABELL
28-Jun-11 9:20am
View
Deleted
Hi Walt,
Thanks for your note. Let's me clarify couple things:
1. This tip is based on Modified Z-score and Median Absolute Deviation (MAD) computation. The theory behind is going far beyond the boundary of single Tip, which mostly describes a practical thing to do. You could refer to my article on Examiner.com for more details: http://exm.nr/Outlier
2. Using Standard Deviation and statistical Mean (average) is another valid alternative to detect outliers (so-called Z-score); but in many cases (particularly for small sample sizes) the use of Median/MAD values provide more robust statistical detection of outliers (see the reference 1 to NIST publication in my article on Examiner).
Thanks and regards,
Alex
DrABELL
28-Jun-11 9:02am
View
Deleted
You are very welcome! Likewise, thanks for visiting and voting. My best, Alex
DrABELL
27-Jun-11 10:14am
View
Deleted
I agree, Frank! My best, Alex
DrABELL
26-Jun-11 15:51pm
View
Deleted
Likewise, thank you, Sir!
DrABELL
25-Jun-11 18:38pm
View
Deleted
Thanks a bunch! Have a great weekend. My best, Alex.
DrABELL
25-Jun-11 18:36pm
View
Deleted
Thanks, Ashish!
DrABELL
24-Jun-11 14:58pm
View
Deleted
Reason for my vote of 5
Excellent tip, thanks for sharing!
DrABELL
24-Jun-11 12:48pm
View
Deleted
Many thanks!
DrABELL
23-Jun-11 9:04am
View
Deleted
Reason for my vote of 5
Excellent solution! I would recommend the same approach for mapping Database fields to Enum. 5*
DrABELL
23-Jun-11 9:01am
View
Deleted
Reason for my vote of 5
Interesting! I am going to try it. Thanks for sharing.
DrABELL
23-Jun-11 8:57am
View
Deleted
Hi Frank,
Thanks for sharing this very practical solution. I would probably extend it with additional pop-up dialog implementing "OK/Cancel" buttons. Also, as FYI: recently I have published the Tip on CodeProject describing similar functionality but implemented with pure CSS: http://www.codeproject.com/Tips/170049/Pure-HTML-5-CSS-3-Modal-Dialog-Box-no-JavaScript
Kind regards,
Alex B.
DrABELL
23-Jun-11 8:52am
View
Deleted
Reason for my vote of 5
Very practical solution!
DrABELL
21-Jun-11 8:55am
View
Deleted
Thanks!
DrABELL
20-Jun-11 21:00pm
View
Deleted
Thanks a bunch!
DrABELL
17-Jun-11 17:05pm
View
Deleted
You're welcome! Have a nice weekend. Best, Alex
DrABELL
16-Jun-11 8:15am
View
Deleted
Additional note: this algorithm could be further extended by adding the underscore-to-whitespace conversion, e.g. "My_Private_Property_in_Manhattan" to "My Private Property in Manhattan" (string.replace() method could do the job)
DrABELL
16-Jun-11 8:06am
View
Deleted
Reason for my vote of 5
Practical and elegant solution, 5*! Btw, there has been rather intensive discussion on CodeProject in regards to various string conversion algorithms: http://www.codeproject.com/Tips/162540/Letter-Case-Conversion-Algorithms-Title-Case-Toggl
DrABELL
12-Jun-11 16:42pm
View
Deleted
Hi Rakesh,
Thanks for your note! You are absolutely right: sure thing we could do event-binding in client script (in jQuery it will take the same single line of code :). But mostly for didactic purpose I presented this version in C# to make .NET folks feel more comfortable :).
Have a great weekend.
My best,
Alex
DrABELL
11-Jun-11 20:35pm
View
Deleted
Thanks a bunch! Have a great weekend! Best, Alex B.
DrABELL
10-Jun-11 22:55pm
View
Deleted
Hi Gary,
Very interesting technique, thanks for sharing!
My best,
Alex
DrABELL
6-Jun-11 11:23am
View
Deleted
Thanks a bunch, Ed! I am totally agree with you. And, btw, as I've explained to that gentleman (brutuscat): the documentation he's mentioned describes the embedded player: I am pretty much familiar with that technique :) - you could see sample links to my design provided above. This particular tip is focused on the customization of the URL (i.e., link) without any embedding, thus it's very different approach. Thanks again for your post. Have a great day! Best regards, Alex
DrABELL
1-Jun-11 19:25pm
View
Deleted
Many thanks, Prasanta! Best regards, Alex.
DrABELL
1-Jun-11 19:23pm
View
Deleted
Many thanks, Luis! Kind regards, Alex
DrABELL
31-May-11 20:42pm
View
Deleted
Hi Bill,
Thanks for posting. Just for the clarity purpose: double-click is a well-known feature implemented practically in any major browser; it will cause a single word selection. Triple-click will select the entire paragraph.
Kind regards,
Alex
DrABELL
30-May-11 8:33am
View
Deleted
Thank you!
DrABELL
29-May-11 13:05pm
View
Deleted
Many Thanks, Monjurul!
DrABELL
29-May-11 13:04pm
View
Deleted
Thanks a bunch!
DrABELL
28-May-11 7:28am
View
Deleted
Many thanks!
DrABELL
27-May-11 21:06pm
View
Deleted
Excellent tip, thanks for sharing! 5*
DrABELL
27-May-11 21:02pm
View
Deleted
Interesting solution! Typically I tend to use CCS/jQuery client scripting in order to achieve identical result, but the server side technique provides another valid alternative. 5*
DrABELL
27-May-11 20:57pm
View
Deleted
Reason for my vote of 5
Very nice, practical solution!
DrABELL
19-May-11 14:30pm
View
Deleted
Hi Manish,
Sorry, but your comments are a bit confusing: what "double-inverted-commas" are you referring to?
Please clarify.
Regards,
Alex
DrABELL
17-May-11 23:21pm
View
Deleted
Thanks, Ravi! :)
DrABELL
17-May-11 14:03pm
View
Deleted
Hi,
Thanks a lot for your thoughtful comments! You are absolutely right: the solution could be extended with some server-side scripting in order to simplify the routine coding task. There is a reason why the current one is presented in such way: it serves both practical and didactic purpose, so for the best readability, clarity and flexibility it's encapsulated in a single .htm file (btw, editable with just Notepad app :). And so true, the anchor tag can do a lot of tricks :)
Good luck with your endeavor!
Kind regards,
Alex Bell
DrABELL
15-May-11 22:17pm
View
Deleted
Very interesting solution!
DrABELL
13-May-11 15:44pm
View
Deleted
Thanks!
DrABELL
12-May-11 19:34pm
View
Deleted
Great!
DrABELL
12-May-11 13:27pm
View
Deleted
Reason for my vote of 5
Elegant and practical solution, well done!
DrABELL
12-May-11 13:09pm
View
Deleted
Well done! Proper handling of the null is utmost important in data-centric applications. 5*
DrABELL
10-May-11 16:39pm
View
Deleted
Sehr Gut! :)
DrABELL
10-May-11 16:37pm
View
Deleted
Very interesting solution, thanks for sharing!
DrABELL
10-May-11 16:35pm
View
Deleted
Cool!
DrABELL
10-May-11 16:33pm
View
Deleted
Reason for my vote of 5
Very elegant and practical solution! 5*
DrABELL
5-May-11 20:42pm
View
Deleted
It's OK :-). Take it easy. My best, Alex B.
DrABELL
5-May-11 14:19pm
View
Deleted
Hello;
FYI: IE8 IS NOT HTML 5 compatible. IE9 is just partially compatible, though it does not render properly some new features of HTML 5 (as mentioned in this article-tip). Rgds, Alex
DrABELL
30-Apr-11 9:35am
View
Deleted
Thanks a lot, Deeksha! Kind regards, AB
DrABELL
30-Apr-11 9:33am
View
Deleted
Many thanks Deeksha for your time and efforts! Best regards, Alex B
DrABELL
30-Apr-11 9:32am
View
Deleted
Yeah, this quite useful feature has been heavily overlooked! Kind regards, AB
DrABELL
30-Apr-11 9:24am
View
Deleted
Many Thanks!
DrABELL
27-Apr-11 21:16pm
View
Deleted
Many thanks, folks! Best regards, Alex
DrABELL
27-Apr-11 16:15pm
View
Deleted
Thanks!
DrABELL
25-Apr-11 16:53pm
View
Deleted
This simple solution provides a good deal of validation on a single-character level. Further validation could be achieved on the entire textBox content by applying, for example, isFinite() and parseFloat() Javascript functions and providing some visual response (e.g. changing the textBox background color to red) in case of !isNaN. Regards, Alex
DrABELL
25-Apr-11 16:45pm
View
Deleted
This simple solution provides a good deal of validation on a single-character level. Further validation could be achieved on the entire textBox entry level, for example, by applying isFinite() and parseFloat() Javascript functions and sending some visual response (e.g. changing the background color) to the user in case of !isNaN. Regards, Alex
DrABELL
25-Apr-11 8:39am
View
Deleted
Hi Naerling,
Thanks for your message. Please find my comments following:
1. This is a Javascript code snippet (indicated by the tag "script type:)
2. The solution provides the client side validation and does not require "round trip" to server
3. It does not check for multiple decimal points or negative sign appeared in the middle of the string
4. || operator in Javascript is similar to the one in C#, though some differences could be found due to strict OOP nature of C# and a bit more relaxed rules in Javascript (regarding type casting, handling null, etc.)
Kind regards, Alex
DrABELL
25-Apr-11 8:35am
View
Deleted
Hi Naerling,
Thanks for your message. Please find my comments following:
1. This is a Javascript code snippet (indicated by the tag "script type:)
2. The solution provides the client side validation and does not require "double trip" to server
3. It does not check for multiple decimal points or negative sign appeared in the middle of the string
4. || operator is pretty much the same as in C#, though some differences could be observed due to strict OOP nature of C# and a bit more relaxed rules in Javascript (regarding type casting, handling null, etc.)
Kind regards,
Alex
DrABELL
24-Apr-11 17:53pm
View
Deleted
Reason for my vote of 5
Very elegant and practical solution!
DrABELL
12-Apr-11 19:01pm
View
Deleted
Thanks. I probably missed something, but looks like the link to external web page (i.e. "I want to ride my bicycle" by Queens) is working fine as well. Also, you could use thead tag, or a bit older th tag: CSS should recognize them both.
In regards to IE9: some CSS3 properties are not rendering properly. You could read on this topic in my other articles: http://bit.ly/SlideShowCSS3 and http://bit.ly/PopUpCSS
My best, Alex
DrABELL
12-Apr-11 13:54pm
View
Deleted
Hello,
Technology works just fine in all major Browsers mentioned above; it's just a file got corrupted during the upload (thead and tr tags were all messed up). I've corrected the tags and now it should work properly.
Thanks and regards,
Alex
DrABELL
9-Apr-11 18:48pm
View
Deleted
Reason for my vote of 5
Perfetto! Very practical, production quality solution, details oriented and well documented. 5*
DrABELL
9-Apr-11 18:45pm
View
Deleted
Reason for my vote of 5
Elegant solution, though not as transparent as the original one. Also, performance comparison would be handy. 5*
DrABELL
9-Apr-11 18:40pm
View
Deleted
Reason for my vote of 5
Useful technique, especially in algorithm-centric type of applications with multiple nested classes and methods overriding. 5*
DrABELL
5-Apr-11 20:45pm
View
Deleted
Reason for my vote of 5
Very clean code; would be nice to have email attachment option.
DrABELL
5-Apr-11 20:40pm
View
Deleted
Reason for my vote of 5
Very useful developer notes, 5*
DrABELL
5-Apr-11 10:52am
View
Deleted
Thank you, Deeksha!
DrABELL
4-Apr-11 9:51am
View
Deleted
Many thanks!
DrABELL
30-Mar-11 12:15pm
View
Deleted
Reason for my vote of 5
Excellent article, which IMHO should be combined with Alternate 3, describing the VB implementation, in order to provide flexible, universal .NET solution pertinent to the topic. 5*
DrABELL
30-Mar-11 12:09pm
View
Deleted
I have already voted 5 for this solution, which is the most flexible so far. Couple thoughts to extend it further:
1. Adding additional hierarchical level: Continent
2. Adding attribute: Date
3. To each country add the List (sub elements) of state languages
4. To each country add the main Currency attribute
Regards, A.Bell
DrABELL
30-Mar-11 12:00pm
View
Deleted
Reason for my vote of 5
This is exactly the solution, which I was thinking/talking about: very flexible, using external XML file easy to update/edit. Good job, 5*!
DrABELL
30-Mar-11 11:56am
View
Deleted
Reason for my vote of 5
The original solution is good, but this Alternate 1 is even better, adding more portability to non-asp web pages. 5*
DrABELL
30-Mar-11 11:53am
View
Deleted
Reason for my vote of 5
Very practical solution, though the Alternate 1 adds more flexibility as it is applicable to non-asp web pages as well. 5*
DrABELL
30-Mar-11 11:49am
View
Deleted
Reason for my vote of 5
Even though the MFC technology is tracing back about 2 decades, but the solution is practical and the goal is clearly defined. 5*
DrABELL
29-Mar-11 15:05pm
View
Deleted
Reason for my vote of 5
This probably would be the best solution pertinent to the case, provided that the list of countries is all-inclusive (someone reported missing countries from the list, please elaborate). Anyway, 5*
DrABELL
29-Mar-11 14:57pm
View
Deleted
Reason for my vote of 5
Very useful, practical tip. Though I would prefer to store the list in external/editable XML file and then data-bind drop-down control to that data source, but this one still provides the better performance on-load. 5*
DrABELL
29-Mar-11 14:52pm
View
Deleted
Reason for my vote of 5
Interesting findings regarding bindings (sounds like hi-tech poetry :); keep us posted! 5*
DrABELL
29-Mar-11 14:31pm
View
Deleted
This single search query points to the solution, duplicating just a small portion of my original post. Obviously, collaborative development resources (articles, tips) are not just a collection of Google search queries, so this single-line Alternate should not be qualified as a valid one and should not be posted. Regards, AB
DrABELL
29-Mar-11 14:29pm
View
Deleted
To the member "brutuscat"-
1. I am giving you a second warning: stop this abusive, unethical online behavior and derogatory speech towards other members. Also, do not try to hide your malicious intentions behind the demagogic rhetoric and flattering statements.
2. Correct your vote/attitude or face the consequences of your malicious actions.
3. In regards to your Alternate post: it points to the solution duplicating just a small portion of my original one. Obviously, collaborative development resources (articles, tips) are not just a collection of Google search queries, so this single-line Alternate that you have suggested should not be qualified as a valid one.
DrABELL
29-Mar-11 11:20am
View
Deleted
To the member "brutuscat"-
1. You are wrong on your assumption of "not adding value": this is just your personal baseless opinion, which is in obvious contradiction to other members votes and assessments.
2. You are misleading the readers pointing to the docs, which do not describe all the feature in my post; those docs you are referring are pertinent to "YouTube Embedded Player Parameters", while my post covers mostly "linked" YouTube playback customization via web query parameters added to the URL, not to the embedded object (hopefully you understand the difference as the most readers do). As FYI: customization of the embedded players is covered in my other articles, rather popular as well.
3. As per my investigation, you personal account records on CodeProject indicates that you have: 0 Articles, 0 Tips posted, and your only activity is limited to just 4 comments and 2 messages regarding other members work in mostly negative way (vote of 1). Such unfriendly, fruitless practice in conjunction with very little positive personal contribution to the common good should not be welcome/tolerated in any collaborative web forums/resources. Therefore, unless you adhere to the basic ethics of online collaboration and correct your attitude toward other members' work, the proper action could be requested, applicable to your account.
4. In the meantime, I would recommend you to re-consider your vote or to remove it entirely.
Regards,
A.Bell
DrABELL
29-Mar-11 9:25am
View
Deleted
What is the point of your message and the reason for such unfair vote? Please clarify it.
DrABELL
24-Mar-11 11:36am
View
Deleted
Reason for my vote of 5
Interesting solution, though associated with lot of risk: warning statement probably should be typed with
bold
typeface.
DrABELL
23-Mar-11 9:57am
View
Deleted
Many thanks! Kind regards/wishes, Alex
DrABELL
22-Mar-11 19:40pm
View
Deleted
Btw, LCase/UCase functions exist in VB/VBA for almost 2 decades (and also are present in many other languages), but this is just a technical nuances because the core statement made by Hans is absolutely/universally correct regardless of language implementation...firm 5*!
DrABELL
22-Mar-11 8:47am
View
Deleted
Thanks a bunch, Christian!
DrABELL
22-Mar-11 8:22am
View
Deleted
Thanks!
DrABELL
21-Mar-11 12:18pm
View
Deleted
Reason for my vote of 5
Excellent advise, Hans! Digital ethics is indeed the important issue, 5*.
Just as FYI: there are several practical Letter Case conversion algorithms, described in CodeProject Tip: http://www.codeproject.com/Tips/162540/Letter-Case-Conversion-Algorithms-Title-Case-Toggl.aspx
Kind regards, Alex
DrABELL
21-Mar-11 12:12pm
View
Deleted
Reason for my vote of 5
Excellent article and very practical solution, 5*!
My only recommendation is to use the tag for Images rather that href, so Images will be displayed inline for better readability (see my Tips as an example: http://www.codeproject.com/Tips/170049/MODAL-DIALOG-BOX-IMPLEMENTED-AS-PURE-HTML5-CSS3-SO.aspx).
Kind regards, Alex
DrABELL
21-Mar-11 12:04pm
View
Deleted
Hi Mr. James,
Thanks for this clarification. In order to reach the specified rate of updates the interval should be set to 333 msec either in setTimeout() or setInterval(). Both functions are widely used, though I try to avoid the unbound recursion pertinent to setTimeout() solution. Using setInterval() is recommended for the repetitive actions, resulting in essentially more robust code. Though I did not explore all intrinsic details, but possibly it implements some logic aimed to stop the execution of the previous cycle prior to starting the next one. But in this particular case both solutions are equally valid.
Best regards, Alex
DrABELL
21-Mar-11 12:02pm
View
Deleted
Hi Mr. James,
Thanks for this clarification. In order to reach the specified rate of updates the interval should be set to 333 msec either in setTimeout() or setInterval(). Both functions are widely used, though I try to avoid the unbound recursion pertinent to setTimeout() solution. Using setInterval() is recommended for the repetitive actions, resulting in essentially more robust and. Though I did not explore all intrinsic details, but possibly it implements some logic aimed to stop the execution of the previous cycle prior to starting the next one. But in this particular case both solutions are equally valid.
Best regards, Alex
DrABELL
20-Mar-11 15:57pm
View
Deleted
Reason for my vote of 5
Interesting app! :)
DrABELL
17-Mar-11 9:51am
View
Deleted
Hi Dave,
Thanks for you note. Any programmatic solution has it pros and cons. This particular one implements darkbox/lightbox effect in plain CSS without any use of javascript/jquery: you could apply it just to a single div containing various elements (images, text, controls, etc.). Slide show demonstrates another CSS technique, which could be quite handy in case of Javascript disabled on the client platform.
Kind regards,
Alex
DrABELL
15-Mar-11 9:33am
View
Deleted
Many thanks!
DrABELL
8-Mar-11 23:18pm
View
Deleted
Thanks a lot!
DrABELL
8-Mar-11 21:16pm
View
Deleted
Reason for my vote of 5
This is Uber! 5*
DrABELL
8-Mar-11 7:06am
View
Deleted
You should seriously re-consider your voting practice
DrABELL
5-Mar-11 10:13am
View
Deleted
Many thanks! :)
Show More