i need to fill dropdownlist and use its selected value in inline code to fill href of menu items .
example : i have DropCountry and fill it from DB then i get the location of client and set the selectedindex with this value , so i want to set href of menuitem with Query string of CountryID taken from dropCountry.selectedValue.
but he compile the inline Code before Codebehind :S
"Details.aspx?AdID=<%# DataBinder.Eval(Container.DataItem, "AdID")%>&CatID=<% Response.Write(GetIDCatFromQueryString()); %>&Country=<% i need to get value here %>"