Issue with ASP.Net user control.

mryogi76

Newcomer
Joined
Dec 30, 2008
Messages
2
I have a page say catalog.aspx. There are links on the left side say "Category" and "Books".
When user clicks on a link corresponding usercontrol is loaded which shows Categories/Books depending on selection.
To Show Categories/Books UserControls as - Category.ascx and Books.acsx have been used.

Now the problem is -
In Category.ascx I am hiding one of the grid columns.
If user clicks categories.ascx and then clicks books.ascx, the books.ascx hides the particular column, even though it is not meants to. i.e. the code written in categories.ascx like "GridView1.Columns[1].Visible = false;" fires for books.ascx.
I have no clue why. Please help.

Regards
Yogi
 

Attachments

Last edited:
There are 2 grids in 2 different user controls. Read the document I have attached. (Error Description.doc)
 
Back
Top