Tuesday, April 29, 2014

Object Oriented Programming (OOP)

Object Oriented Programming (OOP) is an approach to designing reusable software systems / application.

Wednesday, April 16, 2014

Windows Phone 8.1 Developer Preview

I have installed Microsoft Windows Phone 8.1 Developer Preview version last night in Lumia 920. It's a great experience while installing through OTA (Over the air).
The WP 8.1 introduced new features which are Cortana digital assistant, Live tile background, Notification / Action center, Wifi sense, Battery saver, Work flow keyboard, Podcast, store etc...
You can get developer copy on registering with App studio / Windows App developer program.

Read here for Windows Phone 8.1 features list.


Thursday, September 5, 2013

Consider for Auto Upgradation in IRCTC booking

The Class of travel may be upgraded automatically to the next higher class. If you do not want to be considered for upgradation, please do not check the option box

So don't check the checkbox.

Friday, August 23, 2013

How to find ASP.NET file upload control file size using javascript ?

The ASP.NET file upload control selected file size can be obtained on javascript. The below code snippet access the fup control object and get the size of the file.

<script type="text/javascript">

        function GetFileSize() {
            alert(document.getElementById("<%=fupUserPhoto.ClientID%>").files[0].size);
        }

</script>

<div>
            <asp:FileUpload ID="fupUserPhoto" runat="server" />
            <br />
            <input type="button" id="btnGetSize" value="Get file size" onclick="GetFileSize()" />
</div>

The size of the file will be returned in byte.

Wednesday, June 5, 2013

Flipkart closing flyte music service

The flipkart.com is closing its digital music store (Flyte). The company launched the service last February month, after acquiring the mime 360 which provides white labeled music streaming service.
The company points to piracy and micro payment problems. The music store will shutdown by mid June. The company may restart the service later, once the piracy and micro payment problems got solved.

Thursday, May 30, 2013

How to remove Google Analytics email schedule?

You cant directly remove email from dashboard and also your account should have administrator privilege.
Follow the steps to remove email from schedule,
1. Login to Google Analytics
2. Go to Admin
3. Choose the website under the profiles.
4. Select "Scheduled Emails"
5. Choose Action and delete the email.

Thursday, March 14, 2013

How to set content inside iframe from web browser control in c#

Its really hard to write content inside iframe from web browser control. The below method will write the 
content inside the iframe and the problem has been solved.

Steps:

1. Get frame from web browser control. You can loop through all frames and select the required iframe (frames)
2. Find the body tag inside a iframe and set inner text to it.


Example:

HtmlWindow Frame = webBrowser1.Document.Window.Frames[1];

HtmlElementCollection BodyElement = Frame.Document.GetElementsByTagName("body");
BodyElement[0].InnerText = "Success";