Saturday 28 March 2015

convert text to uppercase while type in textbox

Description:-

In this example we explain that how to convert text to uppercase while typing or entering text in textbox. Or how to make character uppercase when you enter text in textbox.

We all show that in many websites there is a many field have a this facility like in your First name and Last name you fill up the form this two field automatically get uppercase text . So achieve this type of facility in your application you should follow the following code.

Convert Text to Uppercase While Typing in Textbox

convert text to uppercase while type in textbox

Description:-

In this example we explain that how to convert text to uppercase while typing or entering text in textbox. Or how to make character uppercase when you enter text in textbox.

We all show that in many websites there is a many field have a this facility like in your First name and Last name you fill up the form this two field automatically get uppercase text . So achieve this type of facility in your application you should follow the following code.

Friday 27 March 2015

display map in modal popup


Description:-

In this example we explain that how to display Google maps inside the modal popup using jquery in asp.net. Or display Google maps of any location inside jquery dialog modal popup.
Here we use Google API to display Google maps in a modal popup.

You can display Google maps of your Location by just adding your location Latitude and Longitude in a method.
You can easily find Latitude and Longitude of your location by using this link


display Google maps inside the modal popup using jquery in asp.net.

display map in modal popup


Description:-

In this example we explain that how to display Google maps inside the modal popup using jquery in asp.net. Or display Google maps of any location inside jquery dialog modal popup.
Here we use Google API to display Google maps in a modal popup.

You can display Google maps of your Location by just adding your location Latitude and Longitude in a method.
You can easily find Latitude and Longitude of your location by using this link


Tuesday 24 March 2015

 display multiple images preview


Description:-

In this example we explain that how to display multiple images preview before upload in fileuplaod in asp.net using JavaScript and jquery. Or display preview list of the selected images or browse images before upload in file upload control at client side using JavaScript/jquery.

In many website that provide preview facility before upload the file and that is really useful because user can easily show that which images or file that he/she was uploaded.
Here we provide multiple files preview facility before file upload without any post back using JavaScript and jquery.

display multiple images preview before upload in fileuplaod in asp.net using JavaScript and jquery.

 display multiple images preview


Description:-

In this example we explain that how to display multiple images preview before upload in fileuplaod in asp.net using JavaScript and jquery. Or display preview list of the selected images or browse images before upload in file upload control at client side using JavaScript/jquery.

In many website that provide preview facility before upload the file and that is really useful because user can easily show that which images or file that he/she was uploaded.
Here we provide multiple files preview facility before file upload without any post back using JavaScript and jquery.

how to display child record of the table in a single column as a CSV format in sqlserver


Description:-

In this example we explain that how to display child record of the table in a single column as a CSV format in sqlserver. Or how to display list of state under a country in a single column as a CSV format.

Sometime you have a real this type of requirement in your project in which you have to display data in grid like one column for country name and second column for state. But at that time in a single country there are multiple state under single country so better ways to display state is in single column separated by comma.

how to display child record of the table in a single column as a CSV format in sqlserver

how to display child record of the table in a single column as a CSV format in sqlserver


Description:-

In this example we explain that how to display child record of the table in a single column as a CSV format in sqlserver. Or how to display list of state under a country in a single column as a CSV format.

Sometime you have a real this type of requirement in your project in which you have to display data in grid like one column for country name and second column for state. But at that time in a single country there are multiple state under single country so better ways to display state is in single column separated by comma.

Monday 23 March 2015




Description:-

In this example we explain that how to fetching or gets multiple IDENTITY values after inserting record in sql server table.

Generally we have a situation where we need get IDENTITY of the last inserted record and this is simply achieved by using SCOPE_IDENTITY(), @@IDENTITY and IDENT_CURRENT() functions provide by sql server.
But when we want to capturing multiple IDENTITY values after inserting multiple record at that time this all function will not satisfy our condition.so  how to achieve this follow the below post.

insert into demo(name) values('pavan')

you can easily fetch this last inserted  record id by following query.
SELECT @@IDENTITY
But after inserting multiple record how can you fetch or capture the IDENTITY of the last inserted records.

select * from demo



then fire this query like

DECLARE @DEMOTABLE TABLE ([id] INT,[name] VARCHAR(100));

INSERT INTO [DBO].[Demo]
(
[name]
)
OUTPUT INSERTED.[id],INSERTED.[name]
INTO @DEMOTABLE ([id],[name]) select name from demo



Now if you want to fetch all IDENTITY that inserted at last query then you can easily fetch by using this query.

SELECT [id],[name] FROM @DEMOTABLE

when you fire above query it will return Id 9 and 10 both.



Capturing multiple IDENTITY values after inserting into SQL Server table




Description:-

In this example we explain that how to fetching or gets multiple IDENTITY values after inserting record in sql server table.

Generally we have a situation where we need get IDENTITY of the last inserted record and this is simply achieved by using SCOPE_IDENTITY(), @@IDENTITY and IDENT_CURRENT() functions provide by sql server.
But when we want to capturing multiple IDENTITY values after inserting multiple record at that time this all function will not satisfy our condition.so  how to achieve this follow the below post.

insert into demo(name) values('pavan')

you can easily fetch this last inserted  record id by following query.
SELECT @@IDENTITY
But after inserting multiple record how can you fetch or capture the IDENTITY of the last inserted records.

select * from demo



then fire this query like

DECLARE @DEMOTABLE TABLE ([id] INT,[name] VARCHAR(100));

INSERT INTO [DBO].[Demo]
(
[name]
)
OUTPUT INSERTED.[id],INSERTED.[name]
INTO @DEMOTABLE ([id],[name]) select name from demo



Now if you want to fetch all IDENTITY that inserted at last query then you can easily fetch by using this query.

SELECT [id],[name] FROM @DEMOTABLE

when you fire above query it will return Id 9 and 10 both.



Sunday 15 March 2015

validate date at client side



Description:-

In this example we explain that how to validate end date should be greater than start date and allow user to select only dates within range of dates using jquery date picker in asp.net. Or how to validate End date should be greater than Start date when using two query Date Pickers

Here we explain that how to disable all previous dates from the date picker based on the start date selected by the user from the date picker. Here we disable the dates that is lower than the start date when user is select the end date from the jquery date picker.
Sometime you have requirement like you have two date pickers for select the start date and end date. Once you pick a start date, then you want to grey out or disable all previous dates on the date picker for the end date field.so how to achieve this thing.

How to validate end date greater than start date in asp.net using jquery.

validate date at client side



Description:-

In this example we explain that how to validate end date should be greater than start date and allow user to select only dates within range of dates using jquery date picker in asp.net. Or how to validate End date should be greater than Start date when using two query Date Pickers

Here we explain that how to disable all previous dates from the date picker based on the start date selected by the user from the date picker. Here we disable the dates that is lower than the start date when user is select the end date from the jquery date picker.
Sometime you have requirement like you have two date pickers for select the start date and end date. Once you pick a start date, then you want to grey out or disable all previous dates on the date picker for the end date field.so how to achieve this thing.

Add Item to Listbox using jquery


Description:-

In this example we explain that how to Add or Insert Items in List box using JavaScript or query in asp.net. Or how to add or Insert Items in list box at client side without postbox.
Here we have one tax box and one add button. When any item enter in textbox and click on add button then this items are inserted to the list box at client side without post back using JavaScript/query.
How to add /insert Items to ASP.Net List Box at client side using JavaScript and query. The value from the Textbox will be added to the ASP.Net List Box control using JavaScript and query.


Add /nsert Items to ASP.Net ListBox using JavaScript and jQuery

Add Item to Listbox using jquery


Description:-

In this example we explain that how to Add or Insert Items in List box using JavaScript or query in asp.net. Or how to add or Insert Items in list box at client side without postbox.
Here we have one tax box and one add button. When any item enter in textbox and click on add button then this items are inserted to the list box at client side without post back using JavaScript/query.
How to add /insert Items to ASP.Net List Box at client side using JavaScript and query. The value from the Textbox will be added to the ASP.Net List Box control using JavaScript and query.


Sunday 8 March 2015


autocomplete textbox using jquery


Description:-


In this example we explain that how to create autocomplete textbox using jquery in asp.net. or how to populate JQuery UI Autocomplete TextBox.

Here we create autocomplete for textbox not from the database but create when user enter any value or words in textbox and click on save button then it will automatically bind this value to the textbox as an autocomplete item.

We also maintain autocomplete different from each browser means mozila’s autocomplete value not show in chrome and chrome autocomplete value not show in mozila.

We also explain that how to push or insert autocomplete item to the textbox and retrieve it.
Here below is code to create autocomplete textbox using jquery.

How to create JQuery Auto Complete textbox in asp.net


autocomplete textbox using jquery


Description:-


In this example we explain that how to create autocomplete textbox using jquery in asp.net. or how to populate JQuery UI Autocomplete TextBox.

Here we create autocomplete for textbox not from the database but create when user enter any value or words in textbox and click on save button then it will automatically bind this value to the textbox as an autocomplete item.

We also maintain autocomplete different from each browser means mozila’s autocomplete value not show in chrome and chrome autocomplete value not show in mozila.

We also explain that how to push or insert autocomplete item to the textbox and retrieve it.
Here below is code to create autocomplete textbox using jquery.

Wednesday 4 March 2015


send email with read receipt and delivery notification



Description:-

            In this example we explain that how to send email with read notification and delivery receipt or sending mail using read notification and delivery receipt in asp.net using c#.

What is Read Notification in email:-

            Read notification means when you send the mail anyone one and then it received but we cannot judge that our sent mail is read by receiver or not so when you send mail with mail Read Notification checked then it will direct ally resend mail to you that user is reading your mail.


What is Delivery Receipt in email:-

            Delivery receipt are used to know that our mail is send to the user successfully or not.


send email with read receipt and delivery notification in asp.net


send email with read receipt and delivery notification



Description:-

            In this example we explain that how to send email with read notification and delivery receipt or sending mail using read notification and delivery receipt in asp.net using c#.

What is Read Notification in email:-

            Read notification means when you send the mail anyone one and then it received but we cannot judge that our sent mail is read by receiver or not so when you send mail with mail Read Notification checked then it will direct ally resend mail to you that user is reading your mail.


What is Delivery Receipt in email:-

            Delivery receipt are used to know that our mail is send to the user successfully or not.