hi every body i have popup window un master page which open in button click i want to load dropdownlist in that window but it doesnt load in pageload or in buttonlink click i test the window using button in it it works fine my code is
if (!IsPostBack)
{
DDlSchool.Attributes["style"] = "background-color:#63B79C;height: 52px;border - radius: 0px;width:175px;";
DDlSchool.Items.Insert(0, new ListItem("-- hello", "0"));
Binddatadropdown();
}
or
public void LBcallus_Click(object sender, EventArgs e)
{
DDlSchool.Attributes["style"] = "background-color:#63B79C;height: 52px;border - radius: 0px;width:175px;";
DDlSchool.Items.Insert(0, new ListItem("-- hello", "0"));
Binddatadropdown();
}
but it doesnt work where is the problem ??
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Shakti Singh DulawatRank #668 · 3.6K reputationPosted Apr 4, 2016, 6:24 AM EDT
1) Either you load it by default by data source
MR alaaRank #2,683 · 519 reputationPosted Apr 5, 2016, 3:56 AM EDT