Ii've made a Listview showing photos from database as thumbnails in a "kind of a film strip", including a pager.
What i need is that when i click on a thumbnail inside the ListView, to show the large photo in a image control outside the listview. this should work using the selectedIndexChanged event, i have no idea what to do in there, i will appreciate any help since i searched a lot online and didnt find anything helpful.
As far as i know,
you can use CSS[^] to get this functionality.
There is some example and tutorial on Google[^].
if ur intention is only want to display what u selected.
u can do that easily with CSS without post back.
give all image control from list view to same CssClass name.
then from css style sheet. change the image of outside frame.
This is a known [issue]. There are benefits and headaches for the session sharing. Let us see one of the benefits. Say your users have to login in order to access your application. Now a user wants to open one of your links in separate tab. If the session is not shared then they have to login in in order to access it, Right? So, sharing the session is not bad in this scenario.
On the other hand, you may have a valid reason for not sharing session. First try a simpler method. In IE click on the File Menu and select Open With New Session. If this is going to solve your problem, then instruct your users to use that technique. If that won't work for you, there first you need to understand this is happening at the client Browser side, so your control becomes very limited. Using Session or Cookie won't help as it will be shared. How about setting a hidden field with some value. Say in the beginning you start it off with a known value, may be a guid then you save it into dictionary or map. Then you can check if it exists and you know whether this is new or already visited page.
guys, i have made a control with a modalpopupextender and several updatepanels.
on OpenDialog method i call
document.getElementById('<%= SomeLinkButtonWithinThePopupControl.ClientID %>');
and this calls __doPostBack('<%= SomeLinkButtonWithinThePopupControl.UniqueID %>','');
but this doesn't call the server to update the panels
i have this control on several pages and it worked properly
I have a gridview showing list of data . When I select one of the row in the gridview, I would like to get panal (say Panel1) to be popup. I used the Ajax ModalPopupExtender but I don't know what should be the value in TargetControlID ?