Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

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

Error Description.doc

Edited by mryogi76

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...