Click here to Skip to main content
16,020,626 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
aspx page and aspx.cs page but it still gives me above error


1. aspx page


<!--Search Start-->


Search










2. aspx.cs page

// user_branch_acess_list = "'" + SessionHandle.Current.BranchId; +"'," + user_branch_acess_list; // COMMENTED...
}
}
}

SearchImageBtn.Attributes["onClick"] = "return Go_OnClick();";
Search_query1.Attributes["onChange"] = "search_query1_onchange();";

//All_Controlfile_Values();
// for generating a search query

if (!IsPostBack)
{
PAGE_NO.Value = "1";
dgBrows.DataSource = "";
dgBrows.DataBind();
}
Posted

1 solution

I dono if you pasted the whole code or not for the aspx.. but if this is the whole code all the closing tags are missing.

XML
<asp:DropDownList ID="Search_query1" CssClass="search_drdown" Width="162px" runat="server">
<asp:ListItem Value="BRANCH.SHORTNAME">Short Name
<asp:ListItem Value="BRANCH.LONGNAME">Long Name
<asp:ListItem Value="BRANCH.CONTACT_PERSON1">Contact Person 1



Change the aspx to this. and try if the error persists.

Regards,
Ibrahim Karakira
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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