473,624 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing Item Template views.

Hello,

I have a DataList with the results of a search. The ItemTemplate
of the DataList is a Repeated template with all the records.

I have a Link Button with a Command Name called Select that allows me
to show the user extended information about the record. ( This view is
the Selected Item template view ).

Here I have a "Back" Button. ( an HTML "<a>" anchor ).

Either setting a "javascript:his tory.back()" event or
"document.form1 .submit();" I go back to the previous view but once I
am on that view I have only the Selected Item view on each button. It
seems that the server "Remember" that my previous choice was "--go
to Selected Item Template".

Do you know how can I make a "Back" button, and keep on paging normaly
afterwards?.

Thank you.

Miguel.

Jun 27 '08 #1
2 890
Sounds like you are paging through Internet Explorer's page cache and
history file.

Have you tried setting the page content to expire immediately in IIS
for the website?

Jun 27 '08 #2
On 21 abr, 18:02, Andy <ane...@infot ek-consulting.comw rote:
Sounds like you are paging through Internet Explorer's page cache and
history file.

Have you tried setting the page content to expire immediately in IIS
for the website?

Thanx Andy for your answer.

But the problem is not on my Internet Explorer.

The matter is that when I use a linkButton when a CommandName="Se lect"
it goes to the SelectedItem Template, and I don't know how to go back
to the Item Template.

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1383
by: Marina | last post by:
Hi, When right clicking a project in Solution Explorer, and chosing the 'Add' menu, a bunch of choices come up depending on the project type. So there might be 'Add Module', 'Add Class', 'Add Windows Form', etc. Is there a way to modify what is on this menu? I would like to include a custom file type in that menu, that is already defined and appears in the 'Add New Item' dialog box. That way instead of chosing 'Add New Item' and...
2
2502
by: Paolo Pignatelli | last post by:
I am trying to get an output/file like this (below) in an XML file (MyXmlFile.xml) (which I will use for a slide show) -- <gallery timer="3" order="sequential" fadetime="2" looping="yes" xpos="0" ypos="0"> <image path="images2/Test1.jpg" />
1
375
by: Paul | last post by:
There are a number of places in my app where I want the user to work with an item (a real physical item referred to by its stock number) If such an item hasn't been selected, I redirect the user to a page to select one. Then having selected one, want to redirect them back from where they came (passing the stockitemID ). It's this latter part (redirection from where they came) that's bugging me. I'm using a datagrid to display the...
1
2005
by: Mike | last post by:
Hello all, Is there a way to change the ItemTemplate based on the data that is being shown? For instance, I have a dataset, contains two fields (NAME, STATE). I want to show all the records from the dataset using a standard item template, but when STATE="TX", I want that row to show up in a certain color.
1
10385
by: Ben | last post by:
I have a formview with a few dropdownlists (software version, database version, etc). When a software version is selected, the database version dropdownlist updates itself accordingly. When in edit mode, everything works fine - the selected value in each list defaults to the value from the database record (selectedvalue=bind...). However, in insert mode (insertitem), it is not working. I pass in a value on the query string that I would...
1
1558
by: gabe | last post by:
Hi, Is it possible to store the project name in an Item Template? I can use $safeprojectname$ in a Project Template, and the correct name is replaced. However, if I do the same in an Item Template, it is not replaced. I'm using VB.Net in a Web Application Project in VS 2005 SP1.
0
921
by: Joe | last post by:
This is another one of those things which I think isn't going to work the way I want... I have a MultiView on a page with 5 views. The use each view as a page. At the bottom of each page there is a Next button. When the user clicks the Next button it just changes the view. This all works fine. The problem is when the user gets to the last "page" I have a finish button which is supposed to save input from the previous views. All the...
1
6731
by: rogerford | last post by:
I have a grid which i bind with values from Database. I have events to edit and update the grid. I am not using SqlDatasource to connect to DB. Rather i am doing the updating of the grid Programmatically. I have 3 columns, LID(item template column) ,LVal (Edit Item template column) and Edit link My Question: 1) My EditITemTemplate column has a textbox txt_Lval which does not show up on the page load. But if click on edit link that...
4
3059
by: jrod11 | last post by:
I have an RSS reader that I have been using, but the only problem i have is that I want the target to be "_blank" rather than the parent window. Anyone know where I should add the _blank? <html> <link href="rss.css" rel="stylesheet" type="text/css"/> <body> <% Response.Expires = -1
0
8242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8681
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7170
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.