Click here to Skip to main content
Sign Up to vote bad
good
See more: C#asp.net4
i hav a form which have 2 gridviews.on clicking the insert button on the grid the insert record form opens.now without filling anything in that form if i click the add button of other grid the insert record form of previous grid is not getting closed.i want to close that form.pls suggest some method.
Posted 8-Nov-12 18:59pm


1 solution

create object for that form which you need to close and use close() to close the form. Do this in add button's click event
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 544
1 Ron Beyer 296
2 OriginalGriff 258
3 samadhan_kshirsagar 229
4 Tadit Dash 193
0 Sergey Alexandrovich Kryukov 7,007
1 Prasad_Kulkarni 3,815
2 OriginalGriff 3,557
3 _Amy 3,372
4 CPallini 2,975


Advertise | Privacy | Mobile
Web02 | 2.6.130617.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid