Thursday 21 May 2015


how to access .aspx page in User Control (.ascx) page



Description:-

In this example we explain that how to access .aspx page in UserControl (.acsx) page. Or how to pass .aspx page value to UserControl (.ascx) page in asp.net.

There is a live requirement that we need sometime and at that time we confused that how to use this all value that is in ASPX page to UserControl. So there are two way to use aspx page value in usercontrol page.by using public properties and second is page item collection.

Using Page Item Collection

There is new item collection packed with Page object from 2.0 framework. We can also use this collection to pass objects to usercontrols.

Note:
We can also use HttpContext objects item collection for this.

How to Access Parent Page (.aspx) control (IDs) from its child User Control (.ascx) in asp.net


how to access .aspx page in User Control (.ascx) page



Description:-

In this example we explain that how to access .aspx page in UserControl (.acsx) page. Or how to pass .aspx page value to UserControl (.ascx) page in asp.net.

There is a live requirement that we need sometime and at that time we confused that how to use this all value that is in ASPX page to UserControl. So there are two way to use aspx page value in usercontrol page.by using public properties and second is page item collection.

Using Page Item Collection

There is new item collection packed with Page object from 2.0 framework. We can also use this collection to pass objects to usercontrols.

Note:
We can also use HttpContext objects item collection for this.

Monday 4 May 2015

dynamically add rows to grid view using jquery



Description:-
In this example we explain that how to add dynamically add rows to grid view using jquery in asp.net. Or dynamically add rows to grid view when click on add button in asp.net.

Here we use explain dynamically add rows to grid view at client side without post back using jquery in asp.net.

Here we take three textbox in which you enter data and click on submit button then this data will be added as a row in a grid view using jquery without post back at client side.

how to add dynamically add rows to grid view using jquery in asp.net

dynamically add rows to grid view using jquery



Description:-
In this example we explain that how to add dynamically add rows to grid view using jquery in asp.net. Or dynamically add rows to grid view when click on add button in asp.net.

Here we use explain dynamically add rows to grid view at client side without post back using jquery in asp.net.

Here we take three textbox in which you enter data and click on submit button then this data will be added as a row in a grid view using jquery without post back at client side.