Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Carl Howarth #1
Hyperlink Template Column w Query String
Hi,
I need to bind data to a datagrid and have a custom hyperlink column that
has multiple elements in the querystring:
Page.aspx?1=Hello&2=Goodbye...
The query string needs to be populated from different values in the
database. How can I therefore allow for this in the template rather than
having to create a custom field in my stored procedure as the following will
not work!:
NavigateUrl='SelectCriteria.aspx?Database=<%# DataBinder.Eval(Container,
"DataItem.lsID") %>&Table=<%# DataBinder.Eval(Container, "DataItem.tblID")
%>&QueryID=<%# DataBinder.Eval(Container, "DataItem.QueryID") %>'
Many thanks in anticipation,
Carl
[email]carl.howarth@m-s-solutions.co.uk[/email]
Carl Howarth Guest
-
Hyperlink template column and change link text based on Condition
How do I create a Hyperlink column in a Datagrid which launches a pop-up window, and have the text in the hyperlink change based on a condition? I'm... -
template column containing user control & paging query
Hello all... I have a TemplateColumn containing a UserControl tc = new TemplateColumn(); tc.HeaderText = "Select"; tc.ItemTemplate =... -
hyperlink vs. template column
I want to do something very simple and can't find the answer. I want to include the FirstName and LastName in one column in my datagrid... -
Multi-parameter query string in hyperlink column...
I have found some postings on multi-parameter hyperlinks. But none of them involve calling a javascript function. I have almost got the NavigateUrl... -
Bound Column or Template Column (w dAdapater?) in DataGrid
I am able to get the data using DataAdapter and the DataReader. I am more inclined to use DataAdapter because I want to update the data on the SQL...



Reply With Quote

