473,382 Members | 1,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

updating the parent page after modifying data on a child page prob

ads
hi guys,
Here's the scenario:
i have a gridview on a parent page. Then i open another (child) page where i
can modify the data on the dridview.
How do i update the gridview soon as i do modification and close the child
window ?
I just need a triger event to rebind the gridview but how can i do that from
the child page?

Thanks in advance,

Ads
Feb 11 '06 #1
2 1643
Hi,

something like this?
http://aspadvice.com/blogs/joteke/ar...6/15/2340.aspx

It works similarly for ASP.NET 2.0. Just note that
Page.GetPostBackEventReference should be
Page.ClientScript.GetPostBackEventReference in v2.0.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU

http://blogs.aspadvice.com/joteke
"ads" <ad*@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
hi guys,
Here's the scenario:
i have a gridview on a parent page. Then i open another (child) page where
i
can modify the data on the dridview.
How do i update the gridview soon as i do modification and close the child
window ?
I just need a triger event to rebind the gridview but how can i do that
from
the child page?

Thanks in advance,

Ads

Feb 11 '06 #2
ads
Thanks. The link is very helpful..Hmm i need to use a server button to do the
task not html button.is there a way i can do this?
In the child page, i need to update the changes to the database on server
button click and refresh the parent page. Is there a trick i can accomplish
the 2 tasl using a server button?

Ads

"Teemu Keiski" wrote:
Hi,

something like this?
http://aspadvice.com/blogs/joteke/ar...6/15/2340.aspx

It works similarly for ASP.NET 2.0. Just note that
Page.GetPostBackEventReference should be
Page.ClientScript.GetPostBackEventReference in v2.0.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU

http://blogs.aspadvice.com/joteke
"ads" <ad*@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
hi guys,
Here's the scenario:
i have a gridview on a parent page. Then i open another (child) page where
i
can modify the data on the dridview.
How do i update the gridview soon as i do modification and close the child
window ?
I just need a triger event to rebind the gridview but how can i do that
from
the child page?

Thanks in advance,

Ads


Feb 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tobias | last post by:
Hi! I had Apache 2.0.47 and PHP 4.3.0 DEV running successfully on a W2k Server. For some reason, I couldn't get PHP to read XML-Attributes with the DOM XML -functions. So I thought, it would be...
13
by: Stuart McGraw | last post by:
I haven't been able to figure this out and would appreciate some help... I have two tables, both with autonumber primary keys, and linked in a conventional master-child relationship. I've...
2
by: Kenny | last post by:
Hello all, I've made a dataset by using the xsd tool in C#. In the xsd schema, there are a few tables, each has its own primary key. And, I've made relation between them. After all things are...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
10
by: jaYPee | last post by:
does anyone experienced slowness when updating a dataset using AcceptChanges? when calling this code it takes many seconds to update the database SqlDataAdapter1.Update(DsStudentCourse1)...
10
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the...
14
by: Lars Netzel | last post by:
A little background: I use three Datagrids that are in a child parent relation. I Use Negative Autoincrement on the the DataTables and that's workning nice. My problem is when I Update these...
0
by: kolalakitty | last post by:
Hopefully someone here can help me/point me in the right direction. I've found tons of references towards making relations, creating rows, saving said rows, using datagrids, databinding objects,...
3
by: querry | last post by:
Hi there, I have a problem. I am devloping a C# ASP.NET User Control (a .ascx file). I want to display a table on the user control. This table is generated on the fly. First the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.