Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I M working in 1.1 .net framework.
In a page I have 5 text box & 2 data grid.
In PageLoad()
All text box will populate with blank value & 1st dataGrid
with some value.
When I click on EDIT button Of the 1st dataGrid,The Relevent
data Of the particular row will populate in first 3 textboxs
& corresponding relevent data Will populate in the 2nd DataGrid.
Now when I click 2nd datagrid's EDIT button of a perticular
Row,relevent data will populate on last 2 textboxs &
1st 3 textbox's value will be same as per as it was........

........My Problem Is ...........
When I click on edit button Of 2nd DataGrid, 1st 3 text
boxes values goes Off & 2nd DataGrid Is goes off Due to
Postback.but The relevent value is populated In last 2
textboxes.So How I stoped this postback??So that all the
data in 1st 3 textboxes will be same.So that I can edit the
values of 2nd Grid with 1st 3 textBoxes value..
plz dirctly mail me 1 copy of post to...
maloy.adhikari@in.com

Answer Posted / nabin

hi,
you can use this code to check IsPostBack or not using
IsPostBack property


if((!IspostBack))
{
//your form logic goes here
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

910


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

1081


In which event of the page viewstate is available?

838


What is __ requestverificationtoken?

943


What are app services?

891


Describe the events in the life cycle of a web application.

1037


What is asp.net globalization?

938


How do you design a website with multilingual support in ASP.NET ?

936


How can you pass multiple complex types in Web API?

1007


Distinguish between Server-side and Client-side code?

1021


How to implement role based security in asp.net mvc? : Asp.Net MVC

990


Who creates jsessionid?

979


How Session use Cookies in State Management?

1019


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1622


What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?

968