473,396 Members | 1,797 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,396 software developers and data experts.

Repeater DataNavigateURLFields

I know what to do if I want to use HyperLinkField, but ItemTemplate in the
Repeater control only allows Hyperlink which does not contain a definition
for DataNavigateUrlFields. So how would I load a link to reflect multiple
parameters without using the DataNavigateUrlFields? I tried the
DataBinder.Container ordeal but that only allows one variable. Any help
out?

This is the wrong code I have, but this is at least what I am trying to do.

Thanks,

Luke

<asp:Repeater ID="rptTable" runat="server" DataSourceID="SqlDataSource1">

<HeaderTemplate>

<table>

States:

</HeaderTemplate>

<ItemTemplate>

<asp:HyperLinkField DataNavigateUrlFields="City,State,ZipCode,MedianSa les"
DataNavigateUrlFormatString="template.aspx?city={0 }&ampstate={1}&ampzipcode={2}&ampMedianSales={3} "
DataTextField="State" />

</ItemTemplate>

<FooterTemplate>

</table>

</FooterTemplate>
<SeparatorTemplate>

&nbsp;|

</SeparatorTemplate>

</asp:Repeater>
Oct 25 '07 #1
0 943

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

Similar topics

0
by: Ed Allan | last post by:
http://ejaconsulting.com/nestedrepeater/NestedRepeater.txt >-----Original Message----- >Doh! The HTML has all been rendered . . . > >Right click on this link and select 'Save target as ..' >to...
8
by: Invalidlastname | last post by:
Hi, We are developing an asp.net application, and we dynamically created certain literal controls to represent some read-only text for certain editable controls. However, recently we found an issue...
8
by: I am Sam | last post by:
Hi everyone, This problem is making me old. I don't want to get any older. I have a multi-nested repeater control as follows: <asp:Repeater ID="clubRep1" Runat="server">...
2
by: GD | last post by:
I'd like to use a Repeater to display data coming back from a cross-tab report. Because it's a cross-tab, I generally don't know how many columns are coming back. They do follow a certain format: ...
0
by: cgambino | last post by:
Hello, In Beta 2, something to this effect once worked: <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="javascript:OpenNewWin('mypage.asp?id={0}'" Text="view"/> ...
0
by: j.t.w | last post by:
Hello, I'm using VWD 2005 EE and had a question about the DataGrid control and DataNavigateUrlFields property. In my toolbox, there is no DataGrid control listed, but if I type in...
2
by: Newish | last post by:
Hello everyone Is it possible to encode DataNavigateUrlFields in HyperLinkField of a gridview in asp 2 so that the url is properly formatted for "&" and other special characters. thanks ...
0
by: uncensored | last post by:
Hello everyone, I'm fairly new at .Net and I have a repeater inside a repeater problem. I will attach my code to this message but basically what I am able to tell when I run my page it tells me...
2
by: Luke Davis | last post by:
I'm trying to put this in a Repeater and it's not working it says HyperLinkField does not exist, if it really doesn't exist then what do I use that can do basically this: <asp:HyperLinkField...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.