Click here to Skip to main content
15,922,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

i am working in web application.
I have LinkButton in Gridview Control.. On Click of LinkButton It open the popwindow and i do some database operation in popwindow and close the popwindow.. then the linkbutton should be disable and second step the linkbutton should be disable while doing paging also....

GridView control(LinkButton) -->Parent Control
(Popwindow) --> Child Control.

How to handle this....

Please help me.. if any example is there...
Posted

You have to write javascript to disable your control. Use the ClientID of the control to get the client side id if needed.
 
Share this answer
 
Have a look at this: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
In it, after the new window is closed a partial update is executed on parent page. Instead, you just disable the link button there in Javascript itself and carry on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900