Angular 7 Firebase5 CRUD Operations with Reactive FormsDigamber Singh
Learn to create a student record management system app using Angular 7, Firebase5 Database, Reactive Forms, Form Validation, NGX-Pagination and NGX-Toastr.
A simple tutorial for understanding the basics of angular JS. Very useful for the beginners. Also useful for the quick revision. Very attractive design for the tutorial of angular js.
How to Build ToDo App with Vue 3 + TypeScriptKaty Slemon
Here’s a comprehensive step-by-step tutorial on how to get started with Vue Typescript. Let’s understand building To-do application combining Vue 3 + Typescript.
Angular 7 Firebase5 CRUD Operations with Reactive FormsDigamber Singh
Learn to create a student record management system app using Angular 7, Firebase5 Database, Reactive Forms, Form Validation, NGX-Pagination and NGX-Toastr.
A simple tutorial for understanding the basics of angular JS. Very useful for the beginners. Also useful for the quick revision. Very attractive design for the tutorial of angular js.
How to Build ToDo App with Vue 3 + TypeScriptKaty Slemon
Here’s a comprehensive step-by-step tutorial on how to get started with Vue Typescript. Let’s understand building To-do application combining Vue 3 + Typescript.
The WebView Role in Hybrid ApplicationsHaim Michael
As of Android 4.4, the WebView class is based on the Chromium web browser. As a result of that, many of the difficulties we faced when developing hybrid applications for the android platform no longer exist. The meeting will start with overviewing the fundamental concept of hybrid applications. We will learn how to write code in JavaScript that while running inside the WebView it calls functions we define in Java and vice versa. We will see how we can debug code in JavaScript running inside the WebView and go through the many advanced capabilities we can enjoy when using the WebView class. In addition, we will understand how PhoneGap works and what might be the best practice for using it.
More information about the Java course I deliver can be found at java.course.lifemichael.com
More information about the Android course I deliver can be found at android.course.lifemichael.com
How to build a chat application with react js, nodejs, and socket.ioKaty Slemon
In the tutorial, we will learn about how to build a chat app using ReactJs, NodeJS, and Socket.IO. Clone the Github repository and play around with the code.
We Will learn about:
What is AngularJs?
Key Points
Core Features of AngularJS
How is it works?
AngularJs Terminologies
AngularJs directives
How we start work on AngularJs?
AngularJs Tags
How we use Yeoman?
Advantages and Disadvantages
https://youtu.be/_yLt_abcK2w
Angular is a TypeScript-based open-source front-end platform that makes it easy to build applications with in web/mobile/desktop. The major features of this framework such as declarative templates, dependency injection, end to end tooling, and many more other features are used to ease the development.
Angular 7 is a Javascript framework built around the concept of components, and more precisely, with the Web Components standard in mind. It was rewritten from scratch by the Angular team using Typescript (although we can use it with ES5, ES6, or Dart as well).
Angular 7 is a big change for us compared to 1.x. Because it is a completely different framework than 1.x, and is not backward-compatible. Angular 7 is written entirely in Typescript and meets the ECMAScript 6 specification
angular interview questions and answers, angular 7 interview questions and answers, angular interview question, angular interview questions and answers for experienced, angular 7 interview questions, angular 6 interview questions,
angular interview questions, angular 6 interview questions and answers, angular 2 interview questions, angular7, angular 5 interview questions, angular interview, angular 2 interview questions and answers, angular questions and answers
Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...Luciano Mammino
Since we started to see JS on the server side, the dream of developers has been to reduce the gap and the cost of switch between frontend/backend technologies. Today with Node.js, React and a whole ecosystem of tools, this dream is becoming real! In this talk, I am going to discuss Universal (a.k.a. Isomorphic) JavaScript and present some practical example regarding the significant patterns related to routing, data retrieval and rendering. I will use Node, React, Webpack, Babel and React Router and give you a series of example to get you started easily with this new technology trend.
(interactive slides at http://slides.com/lucianomammino/universal-js-web-applications-with-react-codemotion-rome-2017 )
ArabNet Riyadh 2014; Meteor.js Workshop
by: Mohamed Ibrahim, Technical Director, Dopravo
Meteor.js is an open source platform for building web and mobile apps in pure JavaScript. Meteor.js allows you to build your next app faster than ever before. In this workshop experienced Meteor developers will help you quickly get up to speed & build your first app.
Agenda:
Awesome sample applications built with Meteor.js
Rapidly install Meteor and deploy a test application to the cloud
Practical session on building a real-time chat application
AngularJS, a MVW framework from Google is based on JavaScript, a language globally known to millions of developers worldwide - thus giving it a much lower learning curve even for complete beginners. Integrating AngularJS is simple as it evaluates page once HTML is in the DOM and make easier to bind Angular on top of existing applications. It can run along with Node.js, an asynchronous development platform with lightning speed execution, which makes building Mean Stack applications easier and faster. AngularJS comes with a very good documentation and also have wide range of third party modules making it user-friendly for developers.
jQuery 1.9 and 2.0 - Present and FutureRichard Worth
jQuery has grown over 7 years to become the most widely used JavaScript library ever. This talk will cover how the jQuery project continues to support the browsers of the past, present, and future while also delivering modularity, innovation, and mobile support.
There is too much JavaScript framework, but Angular and React are a most popular JavaScript frame in these days. Let's discuss to Angular vs React to know which JavaScript will suit for developing your web application. Read more here: https://infinijith.com/blog/angular/angular-vs-react
The WebView Role in Hybrid ApplicationsHaim Michael
As of Android 4.4, the WebView class is based on the Chromium web browser. As a result of that, many of the difficulties we faced when developing hybrid applications for the android platform no longer exist. The meeting will start with overviewing the fundamental concept of hybrid applications. We will learn how to write code in JavaScript that while running inside the WebView it calls functions we define in Java and vice versa. We will see how we can debug code in JavaScript running inside the WebView and go through the many advanced capabilities we can enjoy when using the WebView class. In addition, we will understand how PhoneGap works and what might be the best practice for using it.
More information about the Java course I deliver can be found at java.course.lifemichael.com
More information about the Android course I deliver can be found at android.course.lifemichael.com
How to build a chat application with react js, nodejs, and socket.ioKaty Slemon
In the tutorial, we will learn about how to build a chat app using ReactJs, NodeJS, and Socket.IO. Clone the Github repository and play around with the code.
We Will learn about:
What is AngularJs?
Key Points
Core Features of AngularJS
How is it works?
AngularJs Terminologies
AngularJs directives
How we start work on AngularJs?
AngularJs Tags
How we use Yeoman?
Advantages and Disadvantages
https://youtu.be/_yLt_abcK2w
Angular is a TypeScript-based open-source front-end platform that makes it easy to build applications with in web/mobile/desktop. The major features of this framework such as declarative templates, dependency injection, end to end tooling, and many more other features are used to ease the development.
Angular 7 is a Javascript framework built around the concept of components, and more precisely, with the Web Components standard in mind. It was rewritten from scratch by the Angular team using Typescript (although we can use it with ES5, ES6, or Dart as well).
Angular 7 is a big change for us compared to 1.x. Because it is a completely different framework than 1.x, and is not backward-compatible. Angular 7 is written entirely in Typescript and meets the ECMAScript 6 specification
angular interview questions and answers, angular 7 interview questions and answers, angular interview question, angular interview questions and answers for experienced, angular 7 interview questions, angular 6 interview questions,
angular interview questions, angular 6 interview questions and answers, angular 2 interview questions, angular7, angular 5 interview questions, angular interview, angular 2 interview questions and answers, angular questions and answers
Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...Luciano Mammino
Since we started to see JS on the server side, the dream of developers has been to reduce the gap and the cost of switch between frontend/backend technologies. Today with Node.js, React and a whole ecosystem of tools, this dream is becoming real! In this talk, I am going to discuss Universal (a.k.a. Isomorphic) JavaScript and present some practical example regarding the significant patterns related to routing, data retrieval and rendering. I will use Node, React, Webpack, Babel and React Router and give you a series of example to get you started easily with this new technology trend.
(interactive slides at http://slides.com/lucianomammino/universal-js-web-applications-with-react-codemotion-rome-2017 )
ArabNet Riyadh 2014; Meteor.js Workshop
by: Mohamed Ibrahim, Technical Director, Dopravo
Meteor.js is an open source platform for building web and mobile apps in pure JavaScript. Meteor.js allows you to build your next app faster than ever before. In this workshop experienced Meteor developers will help you quickly get up to speed & build your first app.
Agenda:
Awesome sample applications built with Meteor.js
Rapidly install Meteor and deploy a test application to the cloud
Practical session on building a real-time chat application
AngularJS, a MVW framework from Google is based on JavaScript, a language globally known to millions of developers worldwide - thus giving it a much lower learning curve even for complete beginners. Integrating AngularJS is simple as it evaluates page once HTML is in the DOM and make easier to bind Angular on top of existing applications. It can run along with Node.js, an asynchronous development platform with lightning speed execution, which makes building Mean Stack applications easier and faster. AngularJS comes with a very good documentation and also have wide range of third party modules making it user-friendly for developers.
jQuery 1.9 and 2.0 - Present and FutureRichard Worth
jQuery has grown over 7 years to become the most widely used JavaScript library ever. This talk will cover how the jQuery project continues to support the browsers of the past, present, and future while also delivering modularity, innovation, and mobile support.
There is too much JavaScript framework, but Angular and React are a most popular JavaScript frame in these days. Let's discuss to Angular vs React to know which JavaScript will suit for developing your web application. Read more here: https://infinijith.com/blog/angular/angular-vs-react
Using HttpWatch Plug-in with Selenium Automation in JavaSandeep Tol
This article will give the developers and testers to use Java programming for capturing IE browser HTTP logs using HTTP Watch Plug-in (V10) , in Selenium scripts
HTTP Watch comes with inbuilt API support to integrate with selenium scripts written in C# or PHP scripts . Refer http://apihelp.httpwatch.com/#Automation%20Overview.html
But unfortunately they don’t have API written for JAVA. There are no samples or articles available to use Httpwtach with Java interface.
Using this article you would learn how HttpWatch plug-in which component can be easily interfaced with Java code and then executed via selenium script.
The solution is to use Java COM bridge and invoke HTTP Watch plugin API from Java based selenium scripts.
Projects In JavaScript And JQuery | EduonixRakhi Lambha
Master JavaScript and jQuery by building 10 real world projects in this brilliant JavaScript and jQuery online tutorial. Use coupon code sjsqfree for free subscription.
In this Presentation all type of JS frameworks are discussed and by viewing this you can compare that which is the best JS framework in present time for different different purposes.
best angular js book/toturial provided by <a href="https://www.hopeseller.in/">hopeseller </a> this is best book to foer bignners to get knowledge about angular js
Learn reactjs, how to code with example and general understanding thinkwikHetaxi patel
React js for beginners, learn react js with basic code setup and code examples with general understanding. beginners guide for basic react js programming with examples
• Validating Textbox input using ‘Validating’ event
• Using KeyPress event to identify input character in Textbox
• Using various built in methods of ReachTextbox
• Using various dialogboxes
• Using following controls:
o ReachTextBox
o Menustrip
o Toolstrip
o Statusbar
o DialogBoxes: OpenFileDialog,SaveFileDialog, FontDialog, ColorDialog
Demo Project:
• Complex Calculator
What will you learn?
• Adding single event handlers for Multiple Buttons
• Identifying from which button handler is called.
• Using flag variable to write smart code.
For Beginners
Demo Projects:
• Employee Information Form (Using advance controls)
What will you learn?
• Using following controls:
o Masked Textbox
o Multiline Textbox
o ComboBox, ListBox, CheckBoxList
o DateTimePicker
o NumericUpDown
o RadioButton
• Adding Items to ComboBox, ListBox and CheckBoxList Statically and Dynamically
• Enabling Autocomplete feature in ComboBox
• Getting Selected items form ComboBox, ListBox and CheckBoxList
• Clearing or resetting all these controls to default values.
Methods, Passing value types by value and by reference, Passing reference types by value and by reference, Passing variable number of arguments, Named arguments, Optional parameters.
Session covers various flow control statements available in C#. Like if-else, switch-case, for, while, do-while, foreach, goto, break, continue, return, throw.
Session is about how to write first program in C#. Also discusses variables, Data Types, CTS, Value Type, Reference Type, string, object, dynamic, Type Casting, Boxing Unboxing, Console.ReadLine(), Console.WriteLine()
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™UiPathCommunity
In questo evento online gratuito, organizzato dalla Community Italiana di UiPath, potrai esplorare le nuove funzionalità di Autopilot, il tool che integra l'Intelligenza Artificiale nei processi di sviluppo e utilizzo delle Automazioni.
📕 Vedremo insieme alcuni esempi dell'utilizzo di Autopilot in diversi tool della Suite UiPath:
Autopilot per Studio Web
Autopilot per Studio
Autopilot per Apps
Clipboard AI
GenAI applicata alla Document Understanding
👨🏫👨💻 Speakers:
Stefano Negro, UiPath MVPx3, RPA Tech Lead @ BSP Consultant
Flavio Martinelli, UiPath MVP 2023, Technical Account Manager @UiPath
Andrei Tasca, RPA Solutions Team Lead @NTT Data
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
Welcome to the first live UiPath Community Day Dubai! Join us for this unique occasion to meet our local and global UiPath Community and leaders. You will get a full view of the MEA region's automation landscape and the AI Powered automation technology capabilities of UiPath. Also, hosted by our local partners Marc Ellis, you will enjoy a half-day packed with industry insights and automation peers networking.
📕 Curious on our agenda? Wait no more!
10:00 Welcome note - UiPath Community in Dubai
Lovely Sinha, UiPath Community Chapter Leader, UiPath MVPx3, Hyper-automation Consultant, First Abu Dhabi Bank
10:20 A UiPath cross-region MEA overview
Ashraf El Zarka, VP and Managing Director MEA, UiPath
10:35: Customer Success Journey
Deepthi Deepak, Head of Intelligent Automation CoE, First Abu Dhabi Bank
11:15 The UiPath approach to GenAI with our three principles: improve accuracy, supercharge productivity, and automate more
Boris Krumrey, Global VP, Automation Innovation, UiPath
12:15 To discover how Marc Ellis leverages tech-driven solutions in recruitment and managed services.
Brendan Lingam, Director of Sales and Business Development, Marc Ellis
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Leading Change strategies and insights for effective change management pdf 1.pdf
Implementing auto complete using JQuery
1. Implementing Auto
Complete Using JQuery
Implementing Auto-
Complete Using JQuery
bhushan.mulmule@dotnetvideotutorial.com
www.dotnetvideotutorial.com
Bhushan Mulmule
bhushan.mulmule@dotnetvideotutorial.com
www.dotnetvideotutorial.com
2. Contents
Introduction: ................................
Prerequisite:................................
What is jQuery?................................
What is jQuery UI?................................
Walkthrough 1: Autocomplete in its simplest form:
Important Points to Note:................................
Walkthrough 2: Reading suggestion list for auto
Important Points to Note:................................
Important Points to Note:................................
Walkthrough 3: Displaying More Details in Suggestion List.
Important Points to Note:................................
.....................................................................................................................
......................................................................................................................
................................................................................................
................................................................................................
Walkthrough 1: Autocomplete in its simplest form:...........................................................
................................................................................................
ugh 2: Reading suggestion list for auto-complete from database ........................
................................................................................................
................................................................................................
rough 3: Displaying More Details in Suggestion List.................................
................................................................................................
Page 2 of 19
..................... 3
...................... 3
................................................. 3
............................................. 4
........................... 4
.................................. 7
........................ 8
................................ 11
................................ 14
............................................. 15
................................ 19
3. Introduction:
This article will help you to implement auto complete functionality for textbox.
understanding article consists of three walkthroughs
Walkthrough 1: Most basic approach to implement auto complete fun
be useful for real project but good place to start with.
Walkthrough 2: This is a realistic example. Auto complete widget calls web service
asynchronously to get suggestion list of employee names from database.
Walkthrough 3: Extends example created in walkthrough 2 to get detail suggestion list
suggestion list will be comprises of Name and City
get displayed on textbox. Also on submission only EmpNo will get submitted.
Examples are demonstrated using Visual Web Developer 2013 Express
can use IDE of your choice, or simply
Prerequisite:
You should have working knowledge of:
1. HTML
2. Little Java Script
3. Basics of jQuery.
Understanding of following topics will be added advantage:
1. Consuming web service using jquery.ajax()
Before starting let us have look on official definitions of jQuery and jQueryUI.
What is jQuery?
In simple words; jQuery is javascript library. That means it is a set of javascript functions that
developer can use for client side processing like validations or animations. It reduces need
of writing complex java script. jQuery also take care of browser
now code without burden of browser compatibility using jQuery.
Official Definition: jQuery is a fast, small, and feature
like HTML document traversal and manipulation, event handling,
simpler with an easy-to-use API that works across a multitude of browsers. With a
combination of versatility and extensibility, jQuery has changed the way that millions of
people write JavaScript.
to implement auto complete functionality for textbox.
rticle consists of three walkthroughs with gradually increasing complexity.
Most basic approach to implement auto complete functionality
be useful for real project but good place to start with.
ealistic example. Auto complete widget calls web service
suggestion list of employee names from database.
Extends example created in walkthrough 2 to get detail suggestion list
comprises of Name and City; but after selecting item only name will
Also on submission only EmpNo will get submitted.
Examples are demonstrated using Visual Web Developer 2013 Express Edition; however you
can use IDE of your choice, or simply notepad☺.
You should have working knowledge of:
Understanding of following topics will be added advantage:
Consuming web service using jquery.ajax()
Before starting let us have look on official definitions of jQuery and jQueryUI.
In simple words; jQuery is javascript library. That means it is a set of javascript functions that
developer can use for client side processing like validations or animations. It reduces need
of writing complex java script. jQuery also take care of browser differences so developer can
now code without burden of browser compatibility using jQuery.
jQuery is a fast, small, and feature-rich JavaScript library. It makes things
like HTML document traversal and manipulation, event handling, animation, and Ajax much
use API that works across a multitude of browsers. With a
combination of versatility and extensibility, jQuery has changed the way that millions of
Page 3 of 19
to implement auto complete functionality for textbox. For better
with gradually increasing complexity.
ctionality. Might not
ealistic example. Auto complete widget calls web service
Extends example created in walkthrough 2 to get detail suggestion list. Now
ut after selecting item only name will
Edition; however you
In simple words; jQuery is javascript library. That means it is a set of javascript functions that
developer can use for client side processing like validations or animations. It reduces need
differences so developer can
rich JavaScript library. It makes things
animation, and Ajax much
use API that works across a multitude of browsers. With a
combination of versatility and extensibility, jQuery has changed the way that millions of
4. What is jQuery UI?
jQuery UI is build up on built on top of the jQuery library.It
and effects that developer can use on web pages to fasten the development.
date time picker, tab control or auto complete.It is
Ajax controls, as ASP.NET Ajax controls have numerous performance issues.
Official Definition: jQuery UI is a curated set of user interface interactions, effects, widgets,
and themes built on top of the jQuery JavaScript Library. W
interactive web applications or you just need to add a date picker to a form control, jQuery
UI is the perfect choice.
To implement autocomplete we need to include
1. jQuery.js
2. jQuery-UI.js
3. jQuery-UI.css (provides default formatting for jQueryUI widgets)
Walkthrough 1: Autocomplete in its simplest form:
1. Create new empty website using visual studio.
uild up on built on top of the jQuery library.It is a collection of widgets
that developer can use on web pages to fasten the development. For example
auto complete.It is trustworthy replacement for ASP.NET
Ajax controls, as ASP.NET Ajax controls have numerous performance issues.
jQuery UI is a curated set of user interface interactions, effects, widgets,
and themes built on top of the jQuery JavaScript Library. Whether you're building highly
interactive web applications or you just need to add a date picker to a form control, jQuery
To implement autocomplete we need to include following files in our project
(provides default formatting for jQueryUI widgets)
Autocomplete in its simplest form:
Create new empty website using visual studio.
Page 4 of 19
widgets, themes
For example
replacement for ASP.NET
jQuery UI is a curated set of user interface interactions, effects, widgets,
hether you're building highly
interactive web applications or you just need to add a date picker to a form control, jQuery
(provides default formatting for jQueryUI widgets)
5. 2. Add two new folders Style and Script (Right click on AutoCompleteDemo project in
solution explorer Add
3. Download jQuery file from
need to right click on latest version link and click on save link as. It will get saved as
jquery-2.0.3.min.js. Add it inside Script folder of project.
4. Download jQueryUI from
was jquery-ui-1.10.3. In case of jQueryUI zip folder will get downloaded extract it.
Add file jquery-ui-1.10.3
5. Also add readymade autocomplete css file from jquery
1.10.3themesbaseminified
6. Add new web Form. Example1.aspx
Add two new folders Style and Script (Right click on AutoCompleteDemo project in
New Folder)
Download jQuery file from http://jquery.com/download/. (To download you may
click on latest version link and click on save link as. It will get saved as
2.0.3.min.js. Add it inside Script folder of project.
Download jQueryUI from http://jqueryui.com/. At the time of writing stable version
1.10.3. In case of jQueryUI zip folder will get downloaded extract it.
uiminified jquery-ui.min.js to Script folder.
Also add readymade autocomplete css file from jquery-ui-
minifiedjquery-ui.min.css to Style folder of project
Add new web Form. Example1.aspx
Page 5 of 19
Add two new folders Style and Script (Right click on AutoCompleteDemo project in
. (To download you may
click on latest version link and click on save link as. It will get saved as
. At the time of writing stable version
1.10.3. In case of jQueryUI zip folder will get downloaded extract it.
.css to Style folder of project
6. 7. After completion of step 3
following snapshot:
8. Drag and drop jquery.js, jquery
Example1.aspx or type following
9. Insert following HTML in body
10. Finally add jquery code in head sectionto implement
After completion of step 3 to step 6 solution explorer should look as shown in
Drag and drop jquery.js, jquery-ui.js and jquery-ui.css files in head section of
or type following
Insert following HTML in body
Finally add jquery code in head sectionto implement autocomplete
Page 6 of 19
shown in
section of
7. 11. Final code should look as follow:
12. That’s it. You can run your first auto complete example. You should get output as
shown in following snapshot:
Important Points to Note:
• languages is a array of strings. We use it as a source for textbox suggestion.
• $("#txtLanguage").autocomplete({ source: languages });
as follow:
That’s it. You can run your first auto complete example. You should get output as
shown in following snapshot:
is a array of strings. We use it as a source for textbox suggestion.
).autocomplete({ source: languages });
Page 7 of 19
That’s it. You can run your first auto complete example. You should get output as
is a array of strings. We use it as a source for textbox suggestion.
8. o Above line calls autocomplete()
o In this example we are calling autocomplete in its simplest form, where we
are only passing one parameter for
some other variations in next examples. For complete list of you can refer
jQuery-UI API documentation
Walkthrough 2: Reading suggestion list for auto
In the above example we have hardcoded the suggestion list. But in real life we will be
interested in fetching it from database. In
• create database and populate it with some data
• write web Service to fetch data from database
• make use jquery ajax() fuction to call web service asynchronously.
• and use result set as source for autocomplete.
Steps to follow:
1. Add new database “EmpDB”: Right click on project
Server Database
autocomplete() function. This is jquery-ui function
In this example we are calling autocomplete in its simplest form, where we
are only passing one parameter for source flag. i.e languages. We will try
some other variations in next examples. For complete list of you can refer
UI API documentation http://api.jqueryui.com/
Walkthrough 2: Reading suggestion list for auto-complete from database
the above example we have hardcoded the suggestion list. But in real life we will be
interested in fetching it from database. In this walkthrough we will
create database and populate it with some data
write web Service to fetch data from database
jquery ajax() fuction to call web service asynchronously.
and use result set as source for autocomplete.
Add new database “EmpDB”: Right click on project Add New Item
Page 8 of 19
function.
In this example we are calling autocomplete in its simplest form, where we
. We will try
some other variations in next examples. For complete list of you can refer
complete from database
the above example we have hardcoded the suggestion list. But in real life we will be
New Item SQL
9. 2. When you will click on Add button message
App_Data folder for database. Click Yes.
3. EmpDB will be accessible from Server Explorer.
4. Create new table EmpTable
5. Populate it with some records
6. Add connection string to EmpDB database in web.config file.
will be used by web service to connect to database.
(copy and paste connection string property of EmpDB as shown in following
snapshot)
When you will click on Add button message box will pop up asking you to create
App_Data folder for database. Click Yes.
EmpDB will be accessible from Server Explorer.
EmpTable as follow:
Populate it with some records
Add connection string to EmpDB database in web.config file. This connection string
will be used by web service to connect to database.
(copy and paste connection string property of EmpDB as shown in following
Page 9 of 19
box will pop up asking you to create
This connection string
(copy and paste connection string property of EmpDB as shown in following
10. 7. Now let us write web service to fetch suggestion data from database
8. Add new folder “Service”
9. Add web service “SuggestionService” in it
10. After following step 7 and 8 structure should look as follow:
11. To read connection string from web.config file we will need
WebConfigurationManager
will be using ADO.NET to connect to sql server database so add following namespace
import statements in SuggestionService.cs
Using System.Data.SqlClient;
Using System.Web.Configuration;
12. We will be calling this web service from jQuery. By default web service is not
from client script. To make it enable we need to add [ScriptService] attribute on web
service. If you are using visual studio this tag will get inserted when you create web
service but is commented. Just remove comment of following line
[System.Web.Script.Services.
Now let us write web service to fetch suggestion data from database
Add new folder “Service”
Add web service “SuggestionService” in it
After following step 7 and 8 structure should look as follow:
To read connection string from web.config file we will need
ConfigurationManagerclass which resides in System.Web.Configuration
using ADO.NET to connect to sql server database so add following namespace
SuggestionService.cs
System.Data.SqlClient;
System.Web.Configuration;
We will be calling this web service from jQuery. By default web service is not
from client script. To make it enable we need to add [ScriptService] attribute on web
service. If you are using visual studio this tag will get inserted when you create web
service but is commented. Just remove comment of following line
[System.Web.Script.Services.ScriptService]
Page 10 of 19
System.Web.Configuration. Also we
using ADO.NET to connect to sql server database so add following namespace
We will be calling this web service from jQuery. By default web service is not callable
from client script. To make it enable we need to add [ScriptService] attribute on web
service. If you are using visual studio this tag will get inserted when you create web
11. 13. Remove everything inside class SuggestionService. Check
14. Write web method “GetSuggestionList()” as follow:
Important Points to Note:
• GetSuggestionList()
character entered in textbox
Remove everything inside class SuggestionService. Check following snapshot:
Write web method “GetSuggestionList()” as follow:
GetSuggestionList() accepts string pattern. (Which will be sequence of
character entered in textbox on aspx page)
Page 11 of 19
snapshot:
sequence of
12. • GetSuggestionList() returns
pattern. For example if we enter
“Vanessa” etc.
• WebConfigurationMana
file and assigns it to string variable
• SqlConnection class constructor is using conStr to specify connection string
for object con.
• Two parameters are passed to
i. First is parameterized SQL Query
pattern specified in
ii. Second is SqlConnection object
• cmd.Parameters.AddWithValue()
@InputPattern parameter of sql query.
• In while loop SqlDataReader object
putting it in list object
• And in end list object
15. Now add new page – Example2
16. Add textbox and required links as follow:
GetSuggestionList() returns list of employee names which contains specified
pattern. For example if we enter “sa” it will retrun “sachin”, “sarang
WebConfigurationManager class reads connection string from web.config
it to string variable conStr.
class constructor is using conStr to specify connection string
are passed to SqlCommand contructor.
parameterized SQL Query to select all employee names having
pattern specified in @InputPattern parameter.
Second is SqlConnection object con.
cmd.Parameters.AddWithValue() is passing value in pattern variable to
@InputPattern parameter of sql query.
SqlDataReader object rdr is reading records from database and
putting it in list object result.
And in end list object result is returned.
Example2.aspx.
Add textbox and required links as follow:
Page 12 of 19
which contains specified
rang”,
web.config
class constructor is using conStr to specify connection string
to select all employee names having
is passing value in pattern variable to
is reading records from database and
13. 17. Now add following script in head section:
18. Run the application. And type le output should be as follow:
script in head section:
Run the application. And type le output should be as follow:
Page 13 of 19
14. Important Points to Note:
• autocomplete() method have t
o source: as we have seen in previous example source should be collection of
strings. In previous example we have hardcoded that string array but here we
wanted to fetch it from database using web service. That’s why we have set
source to suggestionServiceCaller
web service asynchronously and wi
will be used as source.
We can set source to
array: as done in previous example
string: when a string is used, the Autocomplete plugin expects that
string to point to a URL resource that will return JSON data
callback method
flexibility and can be used to connect any data source to
Autocomplete. The callback gets two arguments
response callback method
note that first argument is object while second is callback method and
not an object.
• request object:
• response callback method:
o minLength: minLength flag is set to 2. So autocomplete will wait till you enter
minimum two characters in textbox. Once you enter two characters then only
it will trigger source f
• ajax() function used in suggestionServiceCaller()
(Ajax) request. Here it is responsible to call webservice
the characters entered in textbox as json
of autocomplete() method it has t
method have two flags source and minLength
as we have seen in previous example source should be collection of
In previous example we have hardcoded that string array but here we
fetch it from database using web service. That’s why we have set
suggestionServiceCaller. It is a method which is responsible to call
asynchronously and will receive list of names. This list of name
will be used as source.
We can set source to
as done in previous example
when a string is used, the Autocomplete plugin expects that
string to point to a URL resource that will return JSON data
callback method: The third variation, a callback, provides the most
flexibility and can be used to connect any data source to
Autocomplete. The callback gets two arguments request object
response callback method (explained below). It’s very important t
note that first argument is object while second is callback method and
not an object.
request object:
o Object with single property term.
o term property refers to current value in textbox
response callback method:
o Method with single argument data.
o data is list that is to be suggested to user. It should
depends on term provided
minLength flag is set to 2. So autocomplete will wait till you enter
minimum two characters in textbox. Once you enter two characters then only
it will trigger source function.
suggestionServiceCaller(), performs an asynchronous HTTP
responsible to call webservice asynchronously and
entered in textbox as json. As it is a callback method for
method it has two arguments request object and response
Page 14 of 19
as we have seen in previous example source should be collection of
In previous example we have hardcoded that string array but here we
fetch it from database using web service. That’s why we have set
responsible to call
. This list of name
when a string is used, the Autocomplete plugin expects that
string to point to a URL resource that will return JSON data
The third variation, a callback, provides the most
request object and
very important to
note that first argument is object while second is callback method and
textbox
. It should
minLength flag is set to 2. So autocomplete will wait till you enter
minimum two characters in textbox. Once you enter two characters then only
an asynchronous HTTP
asynchronously and passes
for source flag
response
15. callback method as mentioned above.
described below:
o url: web service url
o data: data to be post to server
o datatype: specifying that request is passing json data
o type: type is set to post as we are posting data to server. request.term has
data entered in textbox to be posted.
o success: callback method which should get executed if request is successful.
It accepts data from server. this data is the
service. Inside success callback method we call
data to it. Which will be used by autocomplete() widget as a suggestion list
and will get displayed using default css rul
second argument for source callback method of autocomplete.
o error: callback method which will get called if request fails.
Walkthrough 3: Displaying
In this walkthrough let us extend our previous example to see more details in suggestion list
also to specify submission value.
In previous example if we will type
“rajesh”. In this case we would lik
between two items.
as mentioned above. To configure request its using various flags
web service url
data to be post to server in json format.
specifying that request is passing json data
type is set to post as we are posting data to server. request.term has
data entered in textbox to be posted.
callback method which should get executed if request is successful.
from server. this data is the suggestion list return by web
. Inside success callback method we call response() method
data to it. Which will be used by autocomplete() widget as a suggestion list
and will get displayed using default css rules. Remember that response is
second argument for source callback method of autocomplete.
callback method which will get called if request fails.
Displaying Extra Details in Suggestion List.
In this walkthrough let us extend our previous example to see more details in suggestion list
also to specify submission value.
In previous example if we will type “ra” it will give you result as follow as there are two
In this case we would like to see some extra details in suggestion list to distinguish
Page 15 of 19
To configure request its using various flags
type is set to post as we are posting data to server. request.term has
callback method which should get executed if request is successful.
return by web
response() method and pass
data to it. Which will be used by autocomplete() widget as a suggestion list
response is
In this walkthrough let us extend our previous example to see more details in suggestion list
it will give you result as follow as there are two
to distinguish
16. In this walkthrough let us extend our example to
keep in mind that city should be s
particular item only name should get displayed on text box.
This can be achieved as autocomplete
• First one is array of strings
[ "Choice1", "Choice2" ]
• Second is suggestion list with
[ { label: "Choice1", value: "value1" }, ... ]
• label: The label property is displayed in the suggestion menu
• value: The value will be inserted into the input element when a user selects an
item
Also in real world we wanted to submit id of selected item to server. That can be achieved
by specifying id property in suggested item object. Then this property can be used in
callback method specified for select flag
triggered after selecting specific item from suggested list.
Follow the steps to implement it:
1. Add new class SuggestionItem in App_Code folder.
let us extend our example to display name and city in suggestion list. But
keep in mind that city should be shown in suggestion list only and when we will select
particular item only name should get displayed on text box.
autocomplete() supports two formats for suggestion list
array of strings. That we have used in previous examples
[ "Choice1", "Choice2" ]
list with object having two properties viz label and
[ { label: "Choice1", value: "value1" }, ... ]
The label property is displayed in the suggestion menu
The value will be inserted into the input element when a user selects an
Also in real world we wanted to submit id of selected item to server. That can be achieved
by specifying id property in suggested item object. Then this property can be used in
select flag of autocomplete(). Select callback method will get
specific item from suggested list.
Follow the steps to implement it:
SuggestionItem in App_Code folder.
Page 16 of 19
in suggestion list. But
when we will select
suggestion list
label and value.
The value will be inserted into the input element when a user selects an
Also in real world we wanted to submit id of selected item to server. That can be achieved
by specifying id property in suggested item object. Then this property can be used in
method will get
17. 2. Add three automatic properties
3. Modify service as shown in following snapshot
ic properties in SuggestionItem class as shown in snapshot
Modify service as shown in following snapshot
Page 17 of 19
in SuggestionItem class as shown in snapshot
18. 4. Go to Example.aspx. And insert label to display EmpNo of selected item as shown
below:
5. Insert select flag to autocomplete widget to specify
after selecting an item.
6. Execute the application.
7. Now autocomplete should show name and city in suggestion list as follow:
Go to Example.aspx. And insert label to display EmpNo of selected item as shown
Insert select flag to autocomplete widget to specify callback method to be triggered
Now autocomplete should show name and city in suggestion list as follow:
Page 18 of 19
Go to Example.aspx. And insert label to display EmpNo of selected item as shown
callback method to be triggered
Now autocomplete should show name and city in suggestion list as follow:
19. 8. Also after selecting particular item only name should be displayed in textbox and
also select callback should display EmpNo in label.
Important Points to Note:
• Class SuggestionItem is created with three properties:
• Web service is modified to return list of
• result is object of List of SuggestionItem
• SQL Query is modified to read EmpNo, Name and City
• Inside while loop object of
datareader object rdr is assigned to properties of SuggestionItem object. And then
this object is added to list result.
• After completion of loop i.e after reading all the records satisfying
object result is returned.
• In autocomplete widget only one modification is done
item on label. This is done using
• Select callback method has
selected object in textbox. Using this reference we can access
object.
Also after selecting particular item only name should be displayed in textbox and
ct callback should display EmpNo in label.
Class SuggestionItem is created with three properties: id, label and value
Web service is modified to return list of SuggestinItem type.
List of SuggestionItem type
SQL Query is modified to read EmpNo, Name and City
Inside while loop object of SuggestionItem is created and relevant values from
is assigned to properties of SuggestionItem object. And then
list result.
completion of loop i.e after reading all the records satisfying the condition; list
is returned.
In autocomplete widget only one modification is done to display EmpNo
item on label. This is done using select callback method.
method has two arguments i.e event and ui. ui has reference to
selected object in textbox. Using this reference we can access id property
Page 19 of 19
Also after selecting particular item only name should be displayed in textbox and
value.
is created and relevant values from
is assigned to properties of SuggestionItem object. And then
condition; list
to display EmpNo of selected
. ui has reference to
id property of item