473,405 Members | 2,338 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,405 software developers and data experts.

BulletedList - building the url using a field from the datasourcecontrol

I have a bulletedlist that I have databound to a sqldatasource. I am
using it with displaymode=hyperlink. I set the datatextfield to be one
of the fields returned by the sqldatasource. However, with the url
field, i would like to build the url from one of the fields returned.
Specifically, the url is formed by setting a querystring value to the
id returned in the field:

http://localhost/news.aspx?nwId=533

So the datasource returns 533. How do i set the url field correctly?
I can't use the datavaluefield property since the url is not 533...

Is it not possible? Should i perhaps use an objectdatasource instead
so that i can have full control of what the datasource returns?

Thanks...

Aug 22 '06 #1
0 1150

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

Similar topics

2
by: WT | last post by:
Hello, I am trying to implement a DataSourceControl and I need to simulate the same functionality as the SqlDataSourceControl : being able to set declaratively the select parameters to use when...
6
by: craptiger | last post by:
Is it possible to nest bulleted lists? I'm not overly competent at c# yet but have been given a project by my boss and it involves making a menu type control from a 3 level xml file. I've managed...
2
by: Stan SR | last post by:
Hi, I need to add (dynamically) sub bulletedList to a bulletedList Ex : <ul> <li>store A <ul> <li>Europe</li> <li>Africa</li>
0
by: Tony | last post by:
I want to display the text of items in a bulletedlist on multiple lines, but I can't get it working. Here is a sample version of my code below: protected void blStaff_DataBound(object sender,...
1
by: Bill Sexton | last post by:
I have created a custom DataSourceControl to interface to a search engine. The DataSourceControl exposes multiple views of the same data. The first is the actual search results. The other views...
6
by: Nathan Sokalski | last post by:
I am creating a BulletedList and would like to use a - as the bullet. However, I could not find a way to do this using the properties for the BulletedList control. Is there a way to use a specific...
0
by: Nathan Sokalski | last post by:
I am trying to create a BulletedList with multiple levels. However, I am having trouble creating the nested lists (lists other than the top level). Could somebody please help me figure out how to...
1
by: Håkan | last post by:
Hi! How do you format the href field of the <a>-tag when you use a databound BulletedList in Hyperlink mode? The field in the database contains an ID that I want to use as a parameter in the...
0
by: ngchaitra | last post by:
hi, I am using bulletedlist control and have set displaymode as linkbuttons. And binding data to that. Till here it is working fine. Now when i select some link on that it has to move to some...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.