Opening a Jquery UI Modal Dialog shows a scroll bar on parent page

Howdy my dear readers, I hope you must be doing great!
Yes, I’m back here to write a new blog post after so long time. Sorry for not sharing anything with you since so long. But got busy with lot of bits and pieces. But it’s good to be busy, the busier you are the more you have to share!

So, keep visiting – going to share more with you in upcoming days! [Free advice: You can subscribe to this blog via EMAIL SUBSCRIPTION box given in right side – which means that whenever any new post gets posted here, you will get an email!]

Challenge:

I got a chance to use Jquery UI‘s Modal dialog in my application. Now, whenever we used to open a dialog and when we open it, it was showing scroll-bar on parent page.

Solution:

After doing a bit research and finally thought to use following solution, which worked for us:
http://forum.jquery.com/topic/opening-a-modal-dialog-shows-a-horizontal-scroll-bar [Main logic lies in open and close event!]
Basically, above solution sets body’s overflow to hidden in open event and auto in close event. Which works fine for all browsers except IE7.  What’s the solution? Why?
Solution is you need to set overflow hidden of html element as well along with body.
Why so?
Excerpt from http://stackoverflow.com/questions/4443006/body-overflow-hidden-problem-in-internet-explorer-7

Applying overflow-x:hidden or overflow-y:hidden; to the body element of the document will not work. The overflow-x:hidden or overflow-y:hidden must be applied to the html element, not body element.

Happy Coding! 🙂

Celebrating another Milestone: Blog reached 2,00,000 hits – Thank you!

A big Thanks to all my readers/visitors! I would like to share the joy of celebrating a great milestone with you all. The blog hits 2,00,000 views! It’s absolutely encouraging that over 2,00,000 people have visited this blog and few of them might got solution for their problem, for which they might struggled  a bit with strict deadlines.  Had started blogging with that simple idea only – A simple blog of a developer, by a developer, for a developer!


Memories of my earlier milestones are still in my mind’s cache — quick links for you!:

Here’s the Stats Summary which I would like to share with you:
Quick Facts
* Total Posts : 141
* Total Comments : 426
* Total Categories : 45
* Total Tags : 78
* Average Visits per Day : 193
Thanks to all who inspired and appreciated my work – Yes I am saying thanks to you – My friends,readers and daily visitors! This wouldn’t have been possible without you!
Thanks again!
Happy Reading! 🙂

2011 in review

Hello Readers,
2011 has been a good and busy year (But frankly It’s good to be busy, in the work which you are passionate about!). In whole year my focus was on learning and exploring new technology — Which is Sitecore and was mostly wrote blog about Sitecore only. You can read them at my Sitecore blog. And due to that there were just 14 new posts.
The WordPress.com stats helper monkeys prepared a 2011 annual report:

Here’s an excerpt:

Madison Square Garden can seat 20,000 people for a concert. This blog was viewed about 66,000 times in 2011. If it were a concert at Madison Square Garden, it would take about 3 sold-out performances for that many people to see it.

Quick facts:

  • Most visitors came from The United States. India & The United Kingdom were not far behind.
  • In 2011, there were 14 new posts, growing the total archive of this blog to 139 posts.
  • The busiest day of the year was June 22nd with 315 views. The most popular post that day was There is no script engine for file extension “.vbs”.
  • Most visitors came from The United States. India & The United Kingdom were not far behind.
  • The most commented on post in 2011 was CrickoHolic : Cricket Match Score Updater

Click here to see the complete report.

See you in 2012

Thanks for your support, visits and flying with us in 2011!
We look forward to serving you again in 2012! Happy New Year!
Happy Coding and Happy Reading! 🙂
 

1,50,000 blog hits and growing

I still remember my 1,00,000 hits blog which I wrote on 23rd August 2011. And today Just saw that we crossed 1,50,000 blog hits and this not an end this is just beginning because I know that you — my blog readers – will keep visiting, reading, and sharing my blog. Thanks to each and every visitor for contributing in to this count so all credit goes to you! — Thank you again!

1,50,000 Hits
1,50,000 Hits

I remember that I’ve started blogging from December 2007 and till today I’m learning how to write a good blog — yeah agree that each and every day I’ve learnt a lot!

One thing which motivates me a most to keep my blog alive and writing tirelessly, Is people’s comments. When I check the comments people says “Oh man you saved my day”, “Thank you”. Frankly speaking it stimulates a lot. It absorbs all my day’s tiredness and inspires me to write one new blog 🙂 [So, If you like anything — not only on my blog or virtual world. I am talking about all aspects. Then don’t forget to appreciate it!]. Some comments I would like to share with you:

THANK YOU THANK YOU! Days of Tracking down solution NONE WORKED!!! EXCEPT

YOURS! This is was a great Help. Thank you Very Much. Even Microsofts sight, did not have this solution for this probolem….like that is a surprise!

Thank god there are people like you. And of course all you others that came here as me…

Thnaks

/Ralf

Thanks a lot it worked for me… :)

thank you ,it’s helped me alot

wow…life is truely an enjoyable mystery sometimes(with a few bumps/challenges here and there). I got your link from an email one of our developers sent another programmer. I saw what the conversation was about so I followed the link (I also do some programming). After reading a few of your posts and your comments, I was truely impressed with your spirit. Aside from programming, it was nice to stumble upon your site and to walk away with a few tid-bits of inspiration…code, life. In this world today, we all need to remind each other of gratitude, thankfulness, and yes, happiness. Thank you my friend for letting your heart shine.

Thanks for the tip…

really helped me.I also want to do a similar thing. and it works fine

Thank you, this was driving me nuts and changing to a dataset finally gotit working. Awesome!

You, my friend, are a god-send. This is exactly the fix I needed. I’ve spent a couple days trying to get my vbs files to work and was about to give up and rebuild this XP machine.

Thank you.

Thanks Kiran..!

The solution rele worked..

After searching a lot on the net finally got the solution..

Thanks to your Blog..

You Rock Man..! Cheers..!

Worked like a champ.

May Allah give u peace…

nice..it helps me alot…

HADAKALLAH

Super Duper Work Superman…!

Thanks kiranpatils for such lovely blogs you write…

They are a great source of knowledge as well as inspiration to me and I surely know to many others….

Awesome! Saved me some time here – thanks!

Awesome, tried this 100% working. Thank you heaps.

Thank you very much for this article..I got a clear idea of web service

This is our MAN OF MICROSOFT..

COOL WORK OVER THE WORDPRESS BROTHER. HAPPY TO SEE YOUR “HAPPY TO HELP” ATTITUDE.. AS I ALWAYS SAY HE IS “MAN OF MICROSOFT”…. Keep It Up Bro… He deserve to be MVP..

I want you all people to encourage his blogging and appreciate his affords to share his excellent and oustanding knowledge which he has gained by hard work. ( 😉 i knw the way he worked for excellancy, productivity and knowledge gaining for .Net Framework ) if his answer really help you out (which i strongly believe his solution will 100000000% work). You can keep close your eyes and do what he says 😉 and there you are with your all answers.

Finally I would again say “MAN OF MICROSOFT” and one of my BESTEST buddy ever. [though hardly get to talk and meet]

HOPE TO SEE YOU SOOOOOOOOON ON THE LIST OF “MVPs”….(You very well know how long its been I am waiting to see you on MVPs List so please make it faster brother)

ALL THE VERY BEST TO YOU “MAN OF MICROSOFT”…..

Thanks for this post. It has been driving me nuts to figure how to make “LinksTreeView.FindNode(txtPath.Text);” work with populateondemand set to true.

And many more.. — If I share all of them then this blog post will be too huge!

Here’s the Stats Summary which I would like to share with you:

Quick Facts

  • Total Posts : 131
  • Total Comments : 328
  • Total Categories : 44
  • Total Tags : 74
  • Total Visits 2007 : 438
  • Total Visits 2008 : 23,606
  • Total Visits 2009 : 46,991
  • Total Visits 2010 : 47,088
  • Total Visits 2011(till date) : 31,996
  • Average Visits per Day : 190

Thanks to all who inspired and appreciated my work – Yes I am saying thanks to you – My friends,readers and daily visitors!

Happy Reading! 🙂

CrickoHolic : Cricket Match Score Updater

Challenge

World cup is on! and If you are a cricket fan then you must be checking score update for each match frequently while working. I also do so [When India is playing!]. But sometime while coding I need to keep my Visual studio instance open and at the same time I also want to check score, for which I used to do ALT + TAB, between my Visual Studio and Firefox.
I was thinking to have some tool, which seats at corner of my desktop and keep me updated on latest score without doing any ALT + TAB. You also think so? Then CrickoHolic is the software for that.

Solution

Basically, CrickoHolic will seat at corner of your desktop and keeps you updated about the latest score. And moreover it will always be on TOP of all windows. So, there is no any chance that any window can overlap it. Sounds interesting? Let’s see more about it.

Main features

  • Always on top of all windows.
  • Seats at right bottom corner of your desktop.
  • Auto updated.
  • Shows Current/Recent and Up Coming matches updates.
  • Minimize button added (Thanks to Devang for the suggestion!)

Screen shots


System requirements

.NET 2.0

How to use?

1. Download CrickoHolic.zip.
2. Extract the zip file, you will find file with name CrickoHolic.exe.
3. To run it, just double-click the .exe.
4. That’s it! Enjoy 🙂

I would like to hear from you

If your feedback is positive tell to your peers else tell to me at : klpatil@hotmail.com. Feel free to post your suggestions/comments/bugs at provided email id or below in the comments section.

Would like to Download? Click here

Eager to have your feedback!
Sourcecode : Coming Soon…

TimeZone Converter : Converts Datetime with just few clicks!

Challenge

We all geeks mostly work with clients/colleagues who are outside india and follows different timezone than us. Or sometime we have some meeting/event which has timezone different than us. And to do the calculation we have to remember all the timezone differences and do the calculation and have you forgot to check whether the time span falls in Daylight saving time? huh.. sounds more complex right? Even me too that’s was thinking to develop a tool which will do this for you 🙂 Sounds interesting? then here you go..

Solution

TimeZoneInfo is a class which does everything for you! [It is in .NET Framework 3.5]
Finally, I am glad to share this tool with you. Below are few details of it:

Introduction

TimeZone Converter, helps you to convert provided DateTime from one timezone to another timezone, and keeping Daylight Saving Time in mind!

Main features

  • Source timezone to destination timezone conversion with few clicks!
  • Added Speech support.
  • Scrollbar support added.

Screen shots

System requirements

.NET 3.5 SP1

How to use?

1. Download application from following link.
2. Double click on executable.
3. Provide inputs and click on Convert time OR Press Enter.
5. That’s it! Enjoy 🙂

I would like to hear from you

If your feedback is positive tell to your peers else tell to me at : klpatil@hotmail.com. Feel free to post your suggestions/comments/bugs at provided email id.

Technical links

TimeZoneInfo : http://msdn.microsoft.com/en-us/library/bb396389.aspx

Would like to Download? Click here

Eager to have your feedback!
[Update : 18/2/2012]Sourcecode : Click here to download sourcecode

2010 in review

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:
Healthy blog!
The Blog-Health-o-Meter™ reads Wow.

Crunchy numbers

Featured image
About 3 million people visit the Taj Mahal every year. This blog was viewed about 46,000 times in 2010. If it were the Taj Mahal, it would take about 6 days for that many people to see it.
 
In 2010, there were 32 new posts, growing the total archive of this blog to 125 posts. There were 40 pictures uploaded, taking up a total of 7mb. That’s about 3 pictures per month.
The busiest day of the year was November 23rd with 246 views. The most popular post that day was “The underlying connection was closed: The connection was closed unexpectedly.” While returning Data Table from WCF service..

Where did they come from?

The top referring sites in 2010 were google.co.in, forums.asp.net, google.com, consultingblogs.emc.com, and blogs.msdn.com.
Some visitors came searching, mostly for there is no script engine for file extension .vbs, there was an error while trying to serialize parameter, c multiple inheritance, and svn: can’t create tunnel: the system cannot find the file specified..

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

“The underlying connection was closed: The connection was closed unexpectedly.” While returning Data Table from WCF service. September 2008
12 comments

2

Hosting a WCF Service in IIS 7.0 September 2008
3 comments

3

IF…else with Eval is not supported+GridView+ASP.NET March 2008
4 comments

4

Checking Execution Time with C#.NET+ Use of it In WSSF+WCSF February 2008
1 comment

5

svn: Can’t create tunnel: The system cannot find the path specified. August 2009
2 comments

See you in 2011!

Thanks for flying with kiranpatils.WordPress.com in 2010.
I look forward to serving you again in 2011! Happy New Year!
Wish you a happy new year and happy coding! 🙂

1,00,000 blog hits… and Counting

Today we passed an impressive milestone of 1,00,000 blog hits and this not end this is just beginning because I know that you — my blog readers – will keep visiting, reading, and sharing my blog. Thanks to each and every visitor for contributing in to this count so all credit goes to you! — Thank you again!

100000 Blog hits
100000 Blog hits

I remember that I’ve started blogging from December 2007 and till today I’m learning how to write a good blog — yeah agree that each and every day I’ve learnt a lot!
Here’s the Stats Summary which I would like to share with you:


Quick Facts

  • Total Posts : 117
  • Total Comments : 246
  • Total Categories : 44
  • Total Tags : 73
  • Total Visits 2007 : 438
  • Total Visits 2008 : 23,606
  • Total Visits 2009 : 46,991
  • Total Visits 2010(Till today) : 29,117
  • Average Visits per Day : 124-129

Happy Reading! 🙂

PolyglotSkype : A MultiLingual Skype

Challenge

One of my friend Vishwas tried to send message in Skype and at that time he came to know  that skype dosen’t supports Unicode Characters — Which is required stuff for sending multilingual message. He asked me to develop something. I was also knowing this and in back of my mind I was thinking to create some application using which skype can support Unicode Characters.

Solution

First, I started looking on web that how can i communicate with Skype using my C# Code and I found[someone truly said : A will will find a way] Skype4COM– “Skype4COM is an ActiveX component that represents the Skype API as objects, with properties, commands, events and notifications. Use Skype4COM in any ActiveX environment, such as Visual Studio or Delphi, and with a standard scripting language, such as Visual Basic, PHP, or Javascript. [Src : http://developer.skype.com/accessories]”
Secondly, I thought to use Google’s Translate feature in my application directly. So, user no need to go to Google Translate page do translation and copy-paste message.  Then I found Google-API-for-dot-net
Now, the raw and basic material is ready with me. Now i need to write windows application and some hand crafted code to create my own Skype. But before starting i also thought a lot for name I wanted to give unique name and i found it — “PolyglotSkype” [polyglot — linguist: a person who speaks more than one language].
Finally, I am glad to share this tool with you. Below are few details of it:

Introduction

PolyglotSkype supports unicode characters, using which you can chat with your buddies in any language.

Main features

  • Unicode support.
  • Loads all your online skype friends.
  • In-built Google Translate support — Supports so many languages!.

Screen shots



System requirements

Skype
.NET 3.5 SP1

How to use?

1. Install “PolyglotSkypeInstaller”.
2. Once installed it will create shortcut on your desktop “PolyglotSkype”.
3. Now, to use PolyglotSkype you need to be logged in to Skype.
4. When you run PolyglotSkype application skype will ask you for access. Please select “Allow access”.
5. That’s it! Enjoy 🙂

I would like to hear from you

If your feedback is positive tell to your peers else tell to me at : klpatil@hotmail.com. Feel free to post your suggestions/comments/bugs at provided email id.

Technical links

For Google Translate : http://code.google.com/p/google-api-for-dotnet/
For Skype API : http://developer.skype.com/accessories
Windows Installer : http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/

Would like to Download? Click here

Eager to have your feedback!
Sourcecode : Coming Soon…

Skype4COM

Remote desktop in the same session

Challenge:

I want to access my machine from another machine using Remote desktop with the same credentials at both the places. But when i do remote desktop from another machine using “mstsc” and my Machine Name then it gives me new session. But i want my same old session as i have so many programs runing on it and so many files are open. Pls note that i am doing this using Windows Server 2003.

Solution:

I googled it bit. But in the mean time one of my colleague told me to use “mstsc /console” to access the same session. And it’s working :). Then i read a bit and found that in Windows XP it will always give you console mode — means if user is same then same session will be given. While in Windows Server 2003 you have to use “mstsc /console”. Here are the steps:
1. Go to Run(Window + R).
2. type “mstsc /console”. [Without quotes]
3. Which will open Remote Desktop connection dialgobox. Provide computer as your machine name/ip address on which you would like to connect.
4. Provide the credentials[pls note that credentials should be the same means if on A machine X user is logged in then from B machine X user should log in].
5. That’s it!
Happy Remoting! 🙂