Methods | Description |
---|---|
Page_Init | Page Initialization |
LoadViewState | View State Loading |
LoadPostData | Postback Data Processing |
Page_Load | Page Loading |
RaisePostDataChangedEvent | PostBack Change Notification |
RaisePostBackEvent | PostBack Event Handling |
Page_PreRender | Page Pre Rendering Phase |
SaveViewState | View State Saving |
Page_Render | Page Rendering |
Page_Unload | Page Unloading |
When you have images in your GridView , you would most likely show them as thumbnails so as to not distort the whole layout. However user would want to look at the full image by clicking on the image or just hovering his mouse over it. In today’s applications, this is a basic requirement and there are just so many third party controls or plugins which would support this functionality. I am going do this conventional way using javascript way in this article. On top of it, I am also going to explain how to get images from database using HttpHandlers . Example: I am using Adventure Works as datasource. We fetch handful of products and bind them to the grid. When page is initially loaded, we retrieve products from Production . Product table and bind them to the grid. We display some product attributes such as Product ID, Product Number, Product Name, List Price and product’s thumbnail. When user hover his mouse on the page, we fetch the f...
Comments
Post a Comment