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
Bonnie Smith
NA
9
0
Redirect to specific index in Dropdownlist
Oct 8 2010 5:03 PM
I have a page that contains a drop down list populated with report names of rdl files. This is not an items list, it is dynamically created with the report names that a certain user is able to access after authentication. What I need to do is redirect from one page to a particular item from the ddl. I have tried setting a Session variable & checking for that when reloading the reports page, but it will not load the report I want. here is the code on the reports page:
if(Session["session"] != null) {
for (int i = 0; i < ddl.Item.Count; i++) {
if(ddl.Items[i].Value == "12") {
ddl.SelectedIndex = i;
break;
}
any suggestions are helpful.
thanks
Bonnie
Reply
Answers (
6
)
ServiceController under alternative user login
rsInvalidRepeatOnNewPage propert via drill down process