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
What is asp.net web application?
How to do state management in ASP.NET?
Explain repository pattern in asp.net mvc? : asp.net mvc
What is the purpose of session management?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
What is the main difference between Asp.net and Vb.net?
Explain the function of new view engine in asp.net? : asp.net mvc
Can we use MSSql as backend in asp.net...if yes then How.?
What is the current version of asp.net?
What is syntax code to send email from an asp.net application?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
Explain client-side scripting?
How is it possible for .NET to support many languages?
What is a session in asp.net?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.