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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
MR alaaPosted Apr 5, 2016, 7:56 AM
Shakti Singh DulawatPosted Apr 4, 2016, 10:24 AM
1) Either you load it by default by data source