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

datagrid property builder

hey all,

using the Hyperlink Column in the datagrid property builder is there a way
to pass a value from the code-behind to the next aspx page?

thanks,
rodchar
Nov 19 '05 #1
2 1259
Is the value you want to pass coming from the datagrid's datasource? Try:

<asp:hyperlinkcolumn
headertext="The Link"
datanavigateurlfield="yourDataColumnName"
datanavigateurlformatstring="otherpage.asp?id={0}"
text="Click me" />

Ray at work

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
hey all,

using the Hyperlink Column in the datagrid property builder is there a way
to pass a value from the code-behind to the next aspx page?

thanks,
rodchar

Nov 19 '05 #2
Most of it is coming from properties in the code-behind.

"Ray Costanzo [MVP]" wrote:
Is the value you want to pass coming from the datagrid's datasource? Try:

<asp:hyperlinkcolumn
headertext="The Link"
datanavigateurlfield="yourDataColumnName"
datanavigateurlformatstring="otherpage.asp?id={0}"
text="Click me" />

Ray at work

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
hey all,

using the Hyperlink Column in the datagrid property builder is there a way
to pass a value from the code-behind to the next aspx page?

thanks,
rodchar


Nov 19 '05 #3

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

Similar topics

1
by: The_Rave | last post by:
Hi everyone, I'm trying to add my own template columns to the property builder of ..NET. E.g. a checkbox column, or an image column. But I can't find the sources of the wizard, or a way to add...
7
by: Matthew Wieder | last post by:
Hi - I have a datagrid that has a black header and the rows alternate white and gray. The problem is that until items are added to the grid, the grid appears as a large black rectangle, which is...
0
by: Jennifer | last post by:
I had this beautiful datagrid on an ASP page (VB.Net as the code behind). When I clicked on a Select Button, the row was selected and the background color changed the way it was supposed to. The...
6
by: cr113 | last post by:
I'm trying to set the column widths for a datagrid. You'd think it would be easy. I looked it up in google and the first thing I found looked promising: datagrid1.columns(0).width = 2000...
3
by: serge calderara | last post by:
Dear all, I have a datagrid erver control which is bind to a dataset. How to display as column name custom text instead of database fields name ? Ex : Started At instead of START_TIME_COL ...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
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...

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.