Author: craigmacca24 | Posted on: 9/4/2009 11:54:28 PM | Views : 253

 Hi i am using a usercontrol to hold my navigation, in the codebehind file the !ispostback is firing everytime even if a linkbutton is being clicked.. i am dynamically added my navigation add linkbuttons with command events, but the command event is not firing at all??
public int TopLinkSelected { get { if (ViewState["TopLinkSelected"] != null) { return int.Parse(ViewState["TopLinkSelected"].ToString()); } else { return 0; } } set { ViewState["TopLinkSelected"] = value; } } public int SubLinkSelected { get { if (ViewState["SubLinkSelected"] != null) { re ...

Go to the complete details ...