student Box Office

Learn more from here.

student Box Office

We will prepare the best articles for you to acquire knowledge.

student Box Office

We will help you always. Just follow our guidelines.

student Box Office

Come and join here to share the knowledge in latest Technologies.

student Box Office

Share your views with us. And update your knowledge.

Dec 31, 2011

Sum of two Textbox values into third Textbox using JQuery


A script that sums up two textbox values using jQuery. **Note that I am not using any validation for textbox values.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>   
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript">
        $(function () {
            var textBox1 = $('input:text[id$=TextBox1]').keyup(foo);
            var textBox2 = $('input:text[id$=TextBox2]').keyup(foo);            
 
            function foo() {
                var value1 = textBox1.val();
                var value2 = textBox2.val();               
                var sum = add(value1, value2);
                $('input:text[id$=TextBox3]').val(sum);
            }
 
            function add() {
                var sum = 0;
                for (var i = 0, j = arguments.length; i < j; i++) {
                    if (IsNumeric(arguments[i])) {
                        sum += parseFloat(arguments[i]);
                    }
                }
                return sum;
            }
            function IsNumeric(input) {
                return (input - 0) == input && input.length > 0;
            }
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
 
    <table width="300px" border="1" style="border-collapse:collapse;background-color:#E8DCFF">
    <tr>
        <td>Butter</td>
        <td> <asp:TextBox runat="server" ID="TextBox1"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Cheese</td>
        <td>   
    <asp:TextBox runat="server" ID="TextBox2"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>Total</td>
        <td>
    <asp:TextBox runat="server" ID="TextBox3"></asp:TextBox>
        </td>
    </tr>
    </table>   
    </div>
    </form>
</body>
</html>
Output will be as:
Sum

Dec 22, 2011

Facebook Office




For connecting more than half a billion people and mapping the social relations among them, for creating a new system of exchanging information and for changing how we live our lives, Mark Elliot Zuckerberg is TIME's 2010 Person of the Year
 
PICTURES OF THE FACEBOOK SERVER FARM
 
data_center_01.jpg
 
data_center_02.jpg
 
data_center_03.jpg
 
data_center_04.jpg
 
data_center_05.jpg
 
data_center_06.jpg
 
data_center_07.jpg
 
 
data_center_08.jpg
 
 
LIFE INSIDE FACEBOOK’S HEADQUARTERS
 
fb_cubicles_12.jpg
 
 
fb_cubicles_08.jpg
 
fb_cubicles_01.jpg
 
fb_cubicles_02.jpg
 
fb_cubicles_03.jpg
 
fb_cubicles_04.jpg
 
fb_cubicles_05.jpg
 
fb_cubicles_06.jpg
 
fb_cubicles_07.jpg
 
FACEBOOK’S OVERSEAS OFFICES
 
FACEBOOK - HYDERABAD
facebook_overseas_09.jpg
 
facebook_overseas_02.jpg
 
facebook_overseas_03.jpg
 
facebook_overseas_05.jpg
 
facebook_overseas_06.jpg
 
facebook_overseas_07.jpg
 
facebook_overseas_08.jpg
 
FACEBOOK TOKYO
facebook_overseas_18.jpg
 
facebook_overseas_11.jpg
 
facebook_overseas_12.jpg
 
facebook_overseas_14.jpg
 
facebook_overseas_15.jpg
 
facebook_overseas_16.jpg
 
facebook_overseas_17.jpg
 
FACEBOOK DUBLIN
facebook_overseas_24.jpg
 
facebook_overseas_20.jpg
 
facebook_overseas_21.jpg
 
facebook_overseas_22.jpg
 
facebook_overseas_23.jpg
 
FACEBOOK PARIS
 
facebook_overseas_32.jpg
 
facebook_overseas_26.jpg
 
facebook_overseas_27.jpg
 
facebook_overseas_28.jpg
 
facebook_overseas_29.jpg
 
facebook_overseas_30.jpg
 
facebook_overseas_31.jpg
 
MARK ZUCKERBERG’S INNER CIRCLE
mark_zuckerberg_06.jpg
 
mark_zuckerberg_03.jpg
 

Dec 18, 2011

AsyncFileUpload "Cannot Access A Closed File" exception

Add following code in web.config:

<system.web>

<httpRuntime executionTimeout="90" maxRequestLength="20000" useFullyQualifiedRedirectUrl="false" requestLengthDiskThreshold="8192"/>

</system.web>

Dec 16, 2011

Microsoft Unveils Bluetooth Keyboard for iPad, Mobile Devices


Microsoft has released a full-size Bluetooth keyboard specifically aimed at the mobile market for devices like the iPad and Android tablets.

The Mobile Keyboard 5000 has a comfort curve, which angles your arms and wrists to type in a natural position (check out the video below for more information). It's a full-size keyboard and measures just 0.62 inches thick. It's slightly wider than a standard 13.3-inch notebook (13.9-inches), so it makes for an easy travel companion. It has a simple design, and looks like a spitting image of the Mobile Keyboard 6000 (sans numeric keypad). It has a matte black plastic finish with a glossy plastic line across the top with a white underside.

Hands On With Facebook Timeline


Facebook today began rolling out Facebook Timeline worldwide to all users. Timeline is, as one might expect by the name, a chronological, visual story of your life, as Facebook has recorded it (or as you choose to tell it).

This new feature replaces the user's Facebook profile page and wall—but currently only if you opt in. You have seven days to hit "publish" after enabling the feature, at which point it will automatically publish."

Dec 14, 2011

Sony to launch 3G tablets next month

Electronic consumer device maker Sony on Wednesday launched its first tablet PC in India and unveiled 3G tablets which will be launched in the mid of next month.

“Today we are launching tablets that support WiFi connectivity. In mid-January we will launch tablets that will have both 3G connectivity and WiFi. We expect 3G-enabled tablets to contribute 80% to our total tablet sales in this financial year,” Sony managing director (MD) Masaru Tamagawa told reporters here.

Microsoft may buy Nokia in early 2012


Microsoft may buy Nokia in early 2012
Nokia may well have a new owner by this time next year, if the banking folk over at Danske Bank are to be believed – they reckon Microsoft will scoop up the Finnish phone manufacturer in the first half of 2012.
The Nokia/Microsoft buyout chatter has been rife ever since the two companies hopped into bed together on Windows Phone, and it hasn't hurt Nokia – its share price slunk up by more than 3 per cent thanks to Danske Bank's speculation.
Stephen Elop, Nokia's current CEO, joined the company from Microsoft which leads some people to suspect that he's been sent in specifically to facilitate the sale of the handset arm.

Yes no maybe

The Finnish company isn't having any of it though; "We put these rumours to rest a long time ago," said Doug Dawson from the company, but it wouldn't be the first time a company has said one thing and done another.
Will Microsoft buy Nokia? We don't know, but we definitely wouldn't rule it out; after all, Google's in the process of buying Motorola and Apple already makes its own iPhone hardware.

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More