Posts

Showing posts from May, 2012

Download Visual Studio 2012 RC

Image
Visual Studio 2012 RC  is made available along with  .NET framework 4.5 RC  and are available for download now. Microsoft released both products in parallel to Windows 8 Release Preview and Windows Server 2012 RC. Visual Studio 2012 is fully Metro now and so after the Visual Studio 11 beta release this is major release. Changes so far made after the beta release can be seen from its UI easily and Microsoft also changed the naming of so called  Visual Studio 11  to  Visual Studio 2012 . Even logo of Visual Studio 2012 is changed and made as per Metro design principles. Have a look of the logo: More Story

Using JavaScript to Control the Playback of Audio Tag in HTML5

Image
Download In this post you will learn how to control the audio playback of <audio> tag in HTML5 by using JavaScript logics. HTML5 defines a new element which specifies a standard way to embed an audio file on a web page using the <audio> element. To play an audio file in HTML5, this is all you need:         < audio controls ="controls">             < source src ="http://domain.com/inanhq.mp3" type ="audio/mp3" />             < source src =" http://domain.com/inanhq.mp3" type ="audio/mpeg" />           Your browser does not support the audio tag.         </ audio > Above <audio> element adds audio controls like play, pause and volume automatically on the web page. Here is the output. We can use text content between the <audio> and </audio> tags for browsers that do not support the <audio> element. The <audio> element allows m

Attribute Starts with Selector in jQuery

Image
In this quick post you will learn how to find elements in the DOM that have the specified attribute with a value beginning exactly with a given string. Actually, this problem was asked by my one of the friend Md Ibrahim Rashid, who is from Kolkata at Kolkata Geeks Developer Conference 2012. Let’s look at the HTML Markup and a problem:-     < div >         < a id ="abc" href ="#"> Link 1 </ a >< br />         < a id ="bdc" href ="#"> Link 2 </ a >< br />         < a id ="acd" href ="#"> Link 3 </ a >< br />         < a id ="cca" href ="#"> Link 4 </ a >< br />         < a id ="adc" href ="#"> Link 5 </ a >< br />     </ div > In the above markups, I have 5 links with id attribute. If you look at id attribute’s value, you will find 3 id’s value sta

AssociatedControlID Property in ASP.NET

Image
I can see many websites today having no such feature like when user clicks on label control textbox gets focus. As you can see in animated image given below, in first login set when I clicked on label control text box not getting focus and the same in another login set textbox gets focus and we can start typing. Reason: Such websites not using AssociatedControlID property. Use of AssociatedControlID property We use AssociatedControlID property to associate a Label control with another server control on a Web form. When a Label control is associated with another server control, its attributes can be used to extend the functionality of the associated control. You can use the Label control as a caption for another control, or you can set the tab index or hot key for an associated control. When the AssociatedControlID property is set, the Label control renders as an HTML label element, with the for attribute set to the ID property of the associated control. You can set

Introduction to Visual Basics 6

Visual Basic   (VB) is the   third-generation   event-driven programming language   and   integrated development environment   (IDE) from   Microsoft   for its   COM   programming model. Visual Basic is relatively easy to learn and use. Visual Basic was derived from   BASIC   and enables the   rapid application development (RAD) of   graphical user interface (GUI)   applications, access to   databases   using   Data Access Objects,   Remote Data Objects, or   ActiveX Data Objects, and creation of   ActiveX   controls and objects.   Scripting languages   such as   VBA   and   VBScript   are syntactically similar to Visual Basic, but perform differently. A programmer can put together an application using the   components   provided with Visual Basic itself. Programs written in Visual Basic can also use the   Windows API, but doing so requires external function declarations. The final release was version 6 in 1998. Microsoft's extended support ended in March 2008 and the design

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System