Tuesday, June 23, 2015

Google Map with its control in C# and vb.net

No comments:


Introduction:
In my previous article, I explained Edit a nested or inner Grid and Show inner grid on expand/collapse on outer Grid . This article will describe Google Map with its control in C# and vb.net.
You always show Google Map with their default controls set. You can set these Google map control set value at run time also.
Description:
Here I will show you how we can control Google map control set. I will also show marker with animation. I will display three controls:
Zoom: It is slider containing ‘+’ and ‘-’ buttons.
Navigation Control: It is a pan control to move on map.
Street View Control: It is an icon that can be dragged and dropped.
Now first of all do some task in your aspx page as shown below.


Friday, June 19, 2015

Edit a nested or inner Grid and Show inner grid on expand/collapse on outer Grid

No comments:


Introduction:
In my previous article, I explained Change dropdownlist value on selection of another dropdownlist in gridview. This article will describe Edit a nested or inner Grid and Show inner grid on expand/collapse on outer Grid.
Sometimes you need two dropdownlist in gridview and one must be rebind on selection of another.i.e. Employee-Department,State-City, Subject-faculty etc.
Description:
As we all know GridView is used to show data in tabular format. This comes with many inbuilt features.
In this article, I will explain how we use a grid inside another grid. I will also explain how we can edit inner grid content. I hope this article will help you to understand the functionalities and event bubbling of inner grid.
Before you continue, first of all we will create two tables, tblState and tblCity, in database and fill some data into respective tables as shown below.
State_Id
StateName

City_Id
City_name
State_id
1
Andhra Pradesh

1
Hyderabad
1
2
Assam

2
Tirupati
1
3
Bihar

3
Visakhapatnam
1
4
Chhattisgarh

4
Dispur
2
5
Goa

5
Patna
3
6
Gujarat

6
Nalanda
3
7
Haryana

7
Raipur
4
8
Himachal Pradesh

8
Panaji
5



9
Ahmedabad
6



Friday, June 12, 2015

Change dropdownlist value on selection of another dropdownlist in gridview

No comments:


Introduction:
In my previous article, I explained DropDown With Checkboxlist
This article will describe Change dropdownlist value on selection of another dropdownlist in gridview.
Sometime you need two dropdownlist in gridview and one must be rebind on selection of another. I.e. Employee-Department, State-City, Subject-faculty etc.
Description:
In this article, I will show two dropdown one for state and another is for city. Once we select state, other dropdown will rebind again.
Before you continue, first of all we will create two tables, tblState and tblCity, in database and fill some data into respective tables as shown below.
State_Id
StateName

City_Id
City_name
State_id
1
Andhra Pradesh

1
Hyderabad
1
2
Assam

2
Tirupati
1
3
Bihar

3
Visakhapatnam
1
4
Chhattisgarh

4
Dispur
2
5
Goa

5
Patna
3
6
Gujarat

6
Nalanda
3
7
Haryana

7
Raipur
4
8
Himachal Pradesh

8
Panaji
5



9
Ahmedabad
6



Wednesday, June 10, 2015

Dropdown with checkboxlist and Display selected Item in Div

2 comments:


Introduction:
Sometimes you want to select multiple items in Dropdownlist. There are different ways to resolve this. Here I will describe how can we use Checkboxlist for Dropdown, with the help of Jquery and AjaxControlToolkit .

Description:
First of all you have to add AjaxControlToolkit.dll to your bin folder and write following structure in your aspx page.
Also add jquery.min.js in header section.