Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7059405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:13:42+00:00 2026-05-28T04:13:42+00:00

I have a dropdown, that contains some list of StudentCode… when user select any

  • 0

I have a dropdown, that contains some list of StudentCode…
when user select any studentcode student data should be displayed in form with student’s Image…

for displaying Student Image, Im putting student image in cache memory… and I have one Iframe that gets the byte data from cache memory and render that image on my page… problem is… this thing need at least 1 postback…

can I make some partial postback to render this image?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:13:43+00:00Added an answer on May 28, 2026 at 4:13 am

    I see couple problems with the implementation.

    1) You should avoid using IFrames in general as there are better ways of handling rendering parts of the webpage.

    2) Storing images in cache means that you actually downloaded all of them for each Student in the dropdown list and placed them in the cache. What if there are 100 students? Getting images for all of them and storing them might take a lot of resources.

    I suggest you to do the autopostback on dropdown selected value change (via ajax call) which calls a method that will return a partial view with all the information you need for the particular student, including the image.

    I found using Ajaxify library (http://max.jsrhost.com/ajaxify/) very easy and convenient for ajax calls.

    You can do the same thing without ajax at all in which case the whole page will reload with the same result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dropdown list that contains a series of options: <select id=SomeDropdown> <option
I am running into a strange issue. I have a dropdown list that contains
I have a page that contains dynamically generated Dropdown List controls and I want
I have some columns that may contain data that is if the user wants
I have a dropdown list that stores name/value pairs. The dropdown appears in each
i have a time dropdown that shows hour in one select, minutes in another
Is there any way to have a dropdown in excel that will show a
I have a dropdown list with a piece of code that is run when
i have table called type which contains data family,individual i want in some pages
I have a select dropdown that could possibly contain over 1000 items for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.