473,382 Members | 1,252 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

click on filename(anchertag) then ralted files are open.

I have one Datalist and I have took Anchertag with filename in datalist

and i want when i will click on filename(anchertag) then ralted files are open.
datalist is also not populate on runtime.

as below i wrote there :
Expand|Select|Wrap|Line Numbers
  1. <asp:DataList ID="DlFile" runat="server" RepeatColumns="1">                
  2.                     <ItemTemplate>
  3.                             <a id="A1" runat="server" href="~/login/lenstar/utilities/lenstar/downloads.aspx?DownloadID={0}" target="_blank" title="filena" onclick='<%# Eval("FileName") %>'>FileName</a>
  4.                             <a href='<%# String.Format("~/login/lenstar/utilities/lenstar/downloads.aspx?DownloadID={0}", Eval("DownloadID")) %>' target="_blank">fsdfsf </a>                        
  5.                     </ItemTemplate>
  6.                 </asp:DataList>
Nov 25 '11 #1
1 1242
Frinavale
9,735 Expert Mod 8TB
Did you supply the items source to this DataList and call the DataBind method on the DataList to bind it to the source?

-Frinny
Nov 25 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: crispy | last post by:
I just upgraded to Office 2003 and none of my .mdb files open! Double-clicking an mdb file opens Access, but the database never opens. No error messages. No hourglass This happens to any mdb file I...
6
by: mscir | last post by:
I just installed ASP after a couple of years of not using it, PWS Win 98 SE. A couple of things are throwing me, and I can't remember whether these worked in the past. One is I can't...
0
by: Philippe Trottier | last post by:
Hi! I want to publish with click once an application that uses Enterprise Library, but since we use Enterprise Library, we need to deploy config files like dataConfiguration.config. So if I try...
2
by: google.groups.tr | last post by:
I have an Access 97 database that has a routine to generate a unique report as a PDF file and email it to one person, and loops about 300 times. Each instance through the loop uses a registry...
5
by: Miguel Dias Moura | last post by:
Hello, i have an image with the following code: <img src="image/panel.gif" width="20" height="80" onClick="fnLoadNewWindow('http://www.google.com');"> When i click the image the Javascript...
7
by: Tyrone Showers | last post by:
I have a problem of getting the error "too many files open" and would like to trace my application. However, I have found nothing about how to display the current number of open files. Does...
8
by: someone | last post by:
I'm making an program that encodes text, and then writes it into another text file. The problem is that I can't seem to get the "file exists" checking right. If I use the command (coder is the...
8
exoskeleton
by: exoskeleton | last post by:
hi dear experts.. i know you are aware of video once clicked it will open in media player...but how about gif files? im developing a site in php...when gif files were clicked, it will open in media...
3
by: 2myle | last post by:
Hello experts, Sorry, this is probably a newbie-question... I have a form for customer details, which includes a subform (datasheet, multiple columns) that lists the orders that correspond to...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.