Controls Available in Asp.net
A number of ASP.NET controls, some of which is to explain the bellows.
? HTML server controls: - HTML elements server helps for us so that we can use in your programming. HTML server controls expose an object model that maps very closely to do with the HTML elements that we can get it for HTML server control in the programming.
? Web server controls: - The control features than HTML server controls the name, because these proposals are on the Internet that can help a lot. Web server controls do not contain the only form of this type of control
such as buttons and text fields, but also contains some specific purposes, such as a calendar control. Web server controls are more abstract than HTML server controls that are in their object model does not necessarily HTML.
? Validation Controls:- These collectlogic or we can say conditional controls that allow us to test a user input. We can simply attach a validation control to an input control and test what the user input in the input control. Validation controls are provided to allow you to check for a required field, to test against a specific value or pattern of characters, to verify that a value lies within a range, or we can also compare and also take a validation summary.
? user control: - Here we are in many places, it is useful to use these controls to a particular control. We have another Web Forms page can include a Web Fomuyuzakontororu, menus, help to create the toolbar, and other reusable elements.
? Other control: - control of mobile devices like these. Create mobile applications, we use the same framework, we use the Web application, but we are creating mobile Internet, rather than the form of Web Forms
pages and use the controls that are designed specifically for mobile devices.
Learn Interview Questions Answers and face interview confidently
ASP.NET 3.5 Hosting - Guides on ASP.NET 3.5 Hosting Tools and Developments
ASP.NET 2.0 and ASP.NET 1.1 offers a number of quality characteristics, too, but ASP.NET 3.5 has made use of such applications has increased the popularity of ASP.NET as a development platform.
The ASP.NET Merge tool is one of the new features added to this platform. Web hosters are able to combine such meetings that have already been collected before. Other important features and enhancements that were added are:
*New Data Controls
*Integrated AJAX Support
*The LinqDataSource Control
*IntelliSense for ASP.NET Ajax and Java
*Support for LINQ
*Improved Design time experience
The fact that the integrated AJAX support has been included in ASP.NET 3,5 hosting means that users are now able to use these benefits:
1-Round trips or unnecessary web server hits have been lessened
2-The user interface has been developed in such a way that it is more responsive and ultimately richer.
3-Web page updates are based on Real-time
4-Language neutrality has been introduced
5-Web pages get delivered at a faster rate
6-It makes sure that the memory of the user’s system is not put into over-load.
ASP.NET AJAX Control Toolkit is another have been incorporated into the hosted solution, including applications. This application is to make the code samples, and a software development tools. Its basic advantage is that it allows Web hosting providers, so that their websites or web pages at any time, more intuitive appeal. The tool ensures that users can add beauty without difficulty on his website.
Web services such as membership, authentication, profiles, management, etc. are also supported by ASP.NET 3.5 hosting. These services are primarily ASP.NET application.
ASP.NET 3.5 hosting web hosting provider also makes the establishment of such sites, enabled ASP.NET AJAX. Users also have the opportunity to create such a website, so that helps with the Microsoft AJAX Library of WCF and ASMX.
The new data controls, ASP.NET 3.5 hosting is provided includes the ListView and DataPager. User ListView using C (create) (read) U (update) in the D (delete) functionality, ie, CRUD operations can be studies. ListView also sort the user can page data. This is a flexible control and say DataGrid, GridView control, use a list control such as a repeater.
To make sure that paging features integrated controls no date no difficulty, DataPager included in ASP.NET 3,5 hospitality.
Asp.net Accordion Control With Sql Server Connectivity
The Accordion is a web control that you bid on multiple disks and displays them one at a time allows. It's like several CollapsiblePanel where only one can be expanded at a time.
How to populate a database from the SQL Server data, combined with the accordion control
?
I tried the internet but only found something good that is so friendly.
I decided to make a code for this.
?
First create tables in the database?
CREATE TABLE [dbo].[Category](
[CategoryID] [int] IDENTITY (1,1) NOT NULL,
????? [CatName] [nvarchar](50) NULL,
????? [CatDesc] [nvarchar](255) NULL
)
?
CREATE TABLE [dbo].[SubCategory](
[SubCategoryID] [int] IDENTITY (1,1) NOT NULL,
????? [CategoryID] [int] NOT NULL,
????? [SubCategoryName] [varchar](30) NULL
)
Inserting values for Main Category Table
?
Introduction to class (CatName, CatDesc) Values ( "Hospital", "Hospital")
Go
Insert Into Category (CatName,CatDesc) Values (‘School’,‘School’)
Go
Insert Into Category (CatName,CatDesc) Values (‘Hotel’,‘Hotel’)
?
Select * from Category
?
Result:?
?
?
For complete article Please visit http://blog.joggee.com/?p=162 Posted in: asp.net| Tags: Control time web sql asp server connectivity accordionCommonly Used Control Panels in Web Hosting
A control panel is the ultimate solution for any web hosting account for managing the domains required E-mail accounts, templates, marketing tools, database, design, and much more. Web hosting companies offer different types of cabinets for the easy management of web hosting accounts to their customers for an enriching experience hosting. Following are the most commonly used control panels:
cPanel: The cPanel is considered as a complete web hosting control panel and features no intricacies. Just a simple interface featuring all the basic functionalities. This control is the most commonly used by most hosting providers today. Most of the providers offer video tutorials and wizards so that the customer gets a feel of the interface and familiarizes himself with the basic tools and functions. The panel allows the user to create and manage email accounts, prevent spam through spam assassin as well as access email though webmail function and much more. Other features include accessing of files with a web based FTP, set security settings, control, add and redirect domains, blog and CMS installation and much more.
Supreme Control Panel: This control is best suited and designed for both new and experienced web host clients alike. The panel features an easy navigational interface and other wide variety of features and utilizable tools and add-ons. It also offers live stats for bandwidth, traffic, error log and databases. Furthermore, the control panel is available in more than 13 languages including Ukrainian. Almost every conceivable aspect related to your web hosting can be managed through the supreme control panel including searching domain names, setting up new accounts, renewing your web host plan, getting news feeds and much more.
Helm: The new Helm control has a close resemblance to the Plesk control panel with the Windows operating system interface. Users can mange domains, account settings and use wizards to help with great ease. The users need to familiarize themselves with the interface, as it can be a bit complicated. The control panels comes equipped with all essential tools including email accounts, stats, databases, backup functions, domain setting, Ftp accounts etc as well as additional add-ons like CGI scripts. With just a simple click users can also create blogs, JavaScript applications and much more.
SiteWorx: SiteWorx can be best described as a control panel designed for beginner web host clients. The main page features all essential tools and management tools including email, databases, domains, stats and files. It features a user-friendly interface coupled with easy to read stats as well as in-depth logs. The control panel however does not offer any kind of FAQs or wizards directly.
Plesk: The Plesk is yet another commonly used control panels used by web host clients and facilitates easy management of various web hosting aspects like email account, domain names, file uploads or website statistics and features tutorials and wizards as well. The control panel features the following tools:
Create A Domain. Management of domain names.
Create Mailname. Management of email accounts.
Create a Web User Account. Here user can create accounts for website users.
Create a Database. Create or remove a Microsoft SQL or MySQL database.
Install on-site applications. 55 installed applications select the user domains, network management tools for libraries, for business entities.
The management of the domain file. Users can access and manage network-based files, file manager.
Edit Client's Preferences. Users can choose color schemes for control panel.
Ajax-based Login Control Without Any Standard Database
Introduction: In this tutorial, I will present a simple Login control based on AJAX. Any login control requires a database which stores all the user profiles like passwords. Server-sided script uses that database to compare against user given strings and matches, shows errors or redirects to appropriate pages, etc. However, the proposed technique does not require any standard database like access, sql, etc. It just requires a native xml flat/text database which has the minimal complexity to implement in practice.
I was looking for this type of simple login approach and finally came up this idea while going though the asynchronous javascript and xml technique (in short AJAX). In many occasions, setting up an external database is cumbersome and not worthy in terms of minimal usages. ?The proposed login control however will help you to remove all the burden, compatibility issues and time. To make it clear, conventional and standard database implementation requires a database server, authentication and authorization before creating a database, database-string to be used in your script which is platform specific and to me always clumsy. To get rid of all the cost and efforts, the proposed approach uses a simple flat database and read the database using (AJAX) to make a nice-looking login control.
Keep reading!
Big Picture: The following figure shows the AJAX-based login to see control. The user can enter his password into the text field. For simplicity, I have all the states on behalf of the United States as passwords. If the user specified string matches with one of the passwords
In this case, string user input does not match any of the pre-fix password, the color of the text box will automatically be yellow. He says the user does not try to do so and to delete some of the characters to try again.
Necessary files: We need 4 files for this login control:
i)??????????????????? script.html
ii)?????????????????? script.css
iii)???????????????? script.js
iv)???????????????? script.xml
The html and CSS file represents the contents and design mainly to show different components. Note that the ‘submit query’ button is kept hidden from visibility. It will only appear when the user-string matches with any of the passwords stored in the xml file.
The javascript file controls the AJAX connectivity and read the password on the fly. As soon as user presses a letter on the textbox, the corresponding function works to check for any match or mismatch and behave accordingly.
While pressing a single character, the function populates all the passwords in a hidden ‘popoups’ (which actually does not popup!) ?html component. The function then matches those strings with the user-given string. If, the popups component is empty, it indicates the user-string is not a prefix of any of the passwords and makes the text box yellow.
However, in case of matching between those two strings, the submit button appears. User now can click and go directly to his desired page.
// ---------------------------- script.html ----------------------------------------
<html>
<head>
??????????? <title>Auto-fill states</title>
??????????? <link rel="stylesheet" rev="stylesheet" onClick="javascript:pageTracker._trackPageview('/outgoing/article_exit_link');" href="script.css" />
??????????? <script src="script.js" type="text/javascript">
??????????? </script>
</head>
<body>
??????????? <form action="#">
??????????????????????? Please enter your Password:
??????????????????????? <input type="text" id="searchField" autocomplete="off" /><br />
??????????????????????? <div id="popups"> </div>
??????????? <input type="submit" id="submitme" style="visibility:hidden">
??????????? </form>
</body>
</html>
// ---------------------------- script.css ----------------------------------------
#popups {
??????????? position: absolute;
??????????? visibility:hidden;
}
#searchField.error {
??????????? background-color: #FC0;
}
// ---------------------------- script.js ----------------------------------------
window.onload = initAll;
var xhr = false;
var statesArray = new Array();
var passArray = new Array();
function initAll() {
??????????? document.getElementById("searchField").onkeyup = searchSuggest;
??????????? if (window.XMLHttpRequest) {
??????????????????????? xhr = new XMLHttpRequest();
??????????? }
??????????? else {
??????????????????????? if (window.ActiveXObject) {
??????????????????????????????????? try {
??????????????????????????????????????????????? xhr = new ActiveXObject("Microsoft.XMLHTTP");
??????????????????????????????????? }
??????????????????????????????????? catch (e) { }
??????????????????????? }
??????????? }
??????????? if (xhr) {
??????????????????????? xhr.onreadystatechange = setStatesArray;
??????????????????????? xhr.open("GET", "us-states.xml", true);
??????????????????????? xhr.send(null);
??????????? }
??????????? else {
??????????????????????? alert("Sorry, but I couldn't create an XMLHttpRequest");
??????????? }
}
function setStatesArray() {
??????????? if (xhr.readyState == 4) {
??????????????????????? if (xhr.status == 200) {
??????????????????????????????????? if (xhr.responseXML) {
??????????????????????????????????????????????? var allStates = xhr.responseXML.getElementsByTagName("item");
??????????????????????????????????????????????? for (var i=0; i<allStates.length; i++) {
??????????????????????????????????????????????????????????? statesArray[i] = allStates[i].getElementsByTagName("label")[0].firstChild;
??????????????????????????????????????????????? }
??????????????????????????????????? }
??????????????????????? }
??????????????????????? else {
??????????????????????????????????? alert("There was a problem with the request " + xhr.status);
??????????????????????? }
??????????? }
}
function searchSuggest() {
??????????? var str = document.getElementById("searchField").value;
??????????? document.getElementById("searchField").className = "";
??????????? if (str != "") {
??????????????????????? document.getElementById("popups").innerHTML = "";
??????????? var flag = 0;
??????????? for (var i=0; i<statesArray.length; i++) {
??????????????????????????????????? var thisState = statesArray[i].nodeValue;
???????????
??????????? if (str == thisState) {
??????????? ?flag = 1;
??????????? }
??????????????????????????????????? if (thisState.toLowerCase().indexOf(str.toLowerCase()) == 0) {
??????????????????????????????????????????????? var tempDiv = document.createElement("div");
??????????????????????????????????????????????? tempDiv.innerHTML = thisState;
??????????????????????????????????????????????? //tempDiv.onclick = makeChoice;
??????????????????????????????????????????????? tempDiv.className = "suggestions";
??????????????????????????????????????????????? document.getElementById("popups").appendChild(tempDiv);
??????????????????????????????????? }
??????????????????????? }
??????????????????????? var foundCt = document.getElementById("popups").childNodes.length;
??????????????????????? if (foundCt == 0) {
??????????????????????????????????? document.getElementById("searchField").className = "error";
??????????????????????????????????? document.getElementById("submitme").style.visibility="hidden";
??????????????????????? }
??????????????????????? if (foundCt > 0) {
???????????????????????????????????
??????????????????????????????????????????????? if ???????? (flag == 1) {?
???????????????????????????????????????????????
??????????????????????? document.getElementById("submitme").style.visibility="visible";
???????????????????????
??????????????????????? }
??????????????????????? }
??????????? }
}
Javascript: Using window.XMLHttpRequest object, the AJAX connectivity starts. The client reads from an XML file, parse required data from it and use that information in the client end.
Then the value is compared against the given string. If it matches with the stored passwords, the ‘submit button’ appears (case B in the figure). However, any mismatch of both strings will keep the submit button hidden from viewing. Also the mismatch is shown by the yellow colour (case C in the figure). Note that case C indicates that the user-given string cannot be prefix of any stored passwords. Therefore user should delete and enter again.
// ---------------------------- states.xml (passwords) ----------------------------------------
<?xml version="1.0"?>
<choices xml:lang="EN">
??????????? <item>
??????????????????????? <label>Alabama</label>
??????????????????????? <value>AL</value>
??????????? </item>
??????????? <item>
??????????????????????? <label>Alaska</label>
??????????????????????? <value>AK</value>
??????????? </item>
??????????? <item>
??????????????????????? <label>Arizona</label>
??????????????????????? <value>AZ</value>
??????????? </item>
………………………………….
…………………………………..
</choices>
Conclusion: The advantage of this code that you do not need any kind of standard database (Access, SQL database, etc.). Make these four simple to update files on your server, or fill in the XML script with your passwords (customers) and run the html. Now, from the server (eg call with http://localhost/path ..). Its not work, right? You see all the complexity in terms of standard database connection in the server-side scripting is not required. In many cases this simple script to setup your load and external databases and SQL programming to remove in your script.
Happy simpler coding!
Manzur Ashraf
www.sacars.com.au
Posted in: javascript tutorial| Tags: Database XML Script ajax Control technique text user ajax-based loginFinally End All ActiveX Errors For Good
If you have an ActiveX error, then read to take the following measures and today. What exactly are ActiveX Controls? They are the software components that can be reused, regardless of the programming language, its implementation and perform a specific function. They are used to enable them to create a distributed application that works over the Internet using the Web browser. The concept was introduced by Microsoft for its various applications like Microsoft Office, Internet Explorer, Windows Media Player and Microsoft Visual Studio.
Several updates are introduced from time to time by the Microsoft to the procedure for handling ActiveX controls, by integrating, applet, or object, such as items that change will be summoned by the Internet. These updates allow users to use and interact with the controls unless the controls are activated by the user interface. ActiveX controls can be activated
Activation of the interactive ActiveX control can by simply clicking the check be carried out or by pressing the Tab key is used to set the focus. Thereafter, final step, press Enter or press the space bar. There may be some cases which may appear in a message box with the message
If it does not activate the ActiveX control, then there blocking the DHTML events (user interaction in the context), can be as onblur and onclick. Moreover, there is no reaction from the inactive control to the news, as WM_KEYPRESS and WM_CLICK forwarded to them using a keyboard and a mouse.
After the update is old, he, ActiveX may cause many problems facing the user is manipulating the controls. To correct the problem, many security updates from Microsoft have been released. Order is to take control of the problem, as well as many updates have been developing new versions of software patches. The following are some problems and their solutions:
? If there is, Internet Explorer and use the Google toolbar, if it occurs, many access violation error, one window each time an interactive one may try to close the ActiveX control. The solution to this problem, the PC will automatically install the service mechanism for installing the Google Toolbar update.
? Problems can occur when Standard Edition (J2SE), Java platform, is used to load interactive controls. The problem is, whenever it is running, click on an ActiveX control, an applet control by using Java runtime environment, the applet control, may not get the focus and the focus of seconds you set click on the control is required. This problem can by simply downloading and installing J2SE 1.5 is set to the PC.
? The problems in the management of external scripts can even script debugging option is disabled. On sheets can be site not display correctly and it can access violation issues in the Java Abstract Window Toolkit. To solve the problem, security updates must be installed.
It is very important that you make sure your computer is updated but more importantly make sure your computer is free of computer errors. Run a free scan at activex error The software will not only help clean up your computer and fix all activeX errors but help speed up your computer and how it operates.
Posted in: dhtml| Tags: Internet Microsoft Control Message time error user end activex errorsDesigning a Secured Activex Control: Some Guidelines
An ActiveX control is a simple OLE object that was developed to unleash the power of Object Linking and Embedding. It empowers web browsers, particularly the IE, to display such objects. In the field of custom software application development, ActiveX controls have become the primary architecture. They are used in a variety of different containers including software development tools and end-user productivity tools.
Today, most regular Web pages, ActiveX components are built. At times, the download page, these components are downloaded, you start the computer operating system. Most ActiveX controls, including the animation, by the operating system to display rich multimedia content, streaming video is used, human resources, images, 3D video and many other rich content.
If you want to start to outsource software development to an offshore software development company, you must ensure that reliable checks based developer of components for creating solutions to create.Custom software application development experts design an ActiveX control with security in mind. This is because ActiveX controls tend to be extremely insecure in providing a feature. It will be important to note that such controls are COM (Component Object Model) objects. This means it can have access to the local file system and can read from the registry. If it gets downloaded, the chances of getting vulnerable to malicious attacks are more. This is because it can be used by any web application for its own benefits, whether malicious or for honest purposes.
Offshore software development company designed to take into account the safety of ActiveX controls. In the implementation of ActiveX controls, the experts to determine whether they can by other means similar functions. Some experts are more willing to write a DHTML behavior (dynamic HTML behavior) control.
An ActiveX control is a Win32 component and so it runs without any restrictions. Custom software application development experts find possible ways to limit the functionality of the control. Restricting the functionality can be the best way to prevent others from reusing the control, particularly for malicious purposes.
Posted in: dhtml| Tags: Software Application Control system web custom development object content activexDifference between SCJP 5.0 CX-310-055 and SCJP 6.0 (CX-310-066)
The Sun Certified Developer for Java 2 Platform (SCJP 5.0, CX-310-055) certification validates Developers
Sun Certified Programmer for Java Platform, Standard Edition 6 certification exam 』, Sun Microsystems in the latest exam is for programmers experienced in using the Java programming language. Evidence to achieve this certificate, the basic syntax and the programmer, Java and understand the structure of programming language, Java is available can create an application of technology, the Java server and desktop systems run using the platform.
Welcome from the SCJP 5.0 or SCJP 6.0 There are some changes. Very purpose of the SCJP 6.0 to SCJP 5.0 except for some minor updates, similar to the test.
SCJP 5.0
Number of questions_72
Time: 175 minutes
Passing score: 59% (43 of 72 questions)
Test Objective: SCJP 5.0 exam is based on the following objectives: Declarations, Initialization and Scoping
Flow Control
API Contents
Concurrency
OO Concepts
Collections/Generics
Fundamentals
Cost: USD 150 (or locally priced)
SCJP 6.0
Number of questions_72
Time:210 minutes
Passing score: 65% (47 of 72 questions)
Format of questions: Minor change from SCJP 5.0. Were in SCJP 6.0 Navigable collections and java.io.Console class was added to the targets. Explicit garbage collector calls has been removed (ie System.gc ()), be retained as well as other questions about garbage collection and finalize () method.
Exam Objectives: The SCJP 5.0 test themselves on the following objectives: declaration, initialization and ScopingFlow Control
API Contents
Concurrency
the exam are as follows:
Declarations, initialization, and scoping
Flow control
API contents
Concurrency
Object-oriented concepts
Collections/generics
Fundamentals
Cost: US$ 300 * (or locally priced)
Authored By
Sudeepa Basu
CEO Whizlabs
21st March 2008
Posted in: java training| Tags: API Control java sun platform nbsp exam scjp initialization test