TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vikram
1.5k
276
308.9k
Page Load of User Control Not firing inside another User control
Mar 13 2011 12:39 AM
Hi,
In my application, I have one user control say UC 1 inside that I have another User Control say UC2. In UC2 there are few DropdownList which I fill in !Ispostback section. Now when I run my application, This !Ispostback section not fire hence dropdownlist wont get filled. I want to fill all dropdown list on load. While debugging control always goes in else part and DropDown List won't get filled.
Code:
Page_Load of User Control 2
if (!Page.IsPostBack)
{
// This part never get called. Why??????
FillDropDownList();
}
else
{
//Do something...
}
Any help appreciated, Thanks.
Regards,
Vikram
Reply
Answers (
1
)
is Gridview control is use to add runtime data entry? how ?
Asp.net event not go to .cs file rather it goes to design file