Connecting Tech Pros Worldwide Forums | Help | Site Map

Data Grid Issue

C
Guest
 
Posts: n/a
#1: Nov 22 '05
I am creating a Data Grid using the Property Builder and I want a link to
pass two variables in a Hyperlink Column.
How can I accomplish this? How can I add two data columns under the
HyperLink Column section of the Property Builder? So they can be listed as
part of the URL and pass the variables.
When try to fill the URL field with :category, date
and the URL format string to: category={0}&date={1}

It returns and error. Is there a way to trick the Property Buider?

Greg Burns
Guest
 
Posts: n/a
#2: Nov 22 '05

re: Data Grid Issue


You need to use Templates. I think this feature has been added to ASP.NET
2.0

http://www.devx.com/vb2themax/Tip/18857

Greg

"C" <C@discussions.microsoft.com> wrote in message
news:98F3BA03-06C6-4E3A-B58B-62BA16FC8680@microsoft.com...[color=blue]
> I am creating a Data Grid using the Property Builder and I want a link to
> pass two variables in a Hyperlink Column.
> How can I accomplish this? How can I add two data columns under the
> HyperLink Column section of the Property Builder? So they can be listed as
> part of the URL and pass the variables.
> When try to fill the URL field with :category, date
> and the URL format string to: category={0}&date={1}
>
> It returns and error. Is there a way to trick the Property Buider?[/color]


C
Guest
 
Posts: n/a
#3: Nov 22 '05

re: Data Grid Issue


Will this work in the Design sid Datagrid Property Builder?

Sorry I'm new to .net

"Greg Burns" wrote:
[color=blue]
> You need to use Templates. I think this feature has been added to ASP.NET
> 2.0
>
> http://www.devx.com/vb2themax/Tip/18857
>
> Greg
>
> "C" <C@discussions.microsoft.com> wrote in message
> news:98F3BA03-06C6-4E3A-B58B-62BA16FC8680@microsoft.com...[color=green]
> > I am creating a Data Grid using the Property Builder and I want a link to
> > pass two variables in a Hyperlink Column.
> > How can I accomplish this? How can I add two data columns under the
> > HyperLink Column section of the Property Builder? So they can be listed as
> > part of the URL and pass the variables.
> > When try to fill the URL field with :category, date
> > and the URL format string to: category={0}&date={1}
> >
> > It returns and error. Is there a way to trick the Property Buider?[/color]
>
>
>[/color]
Greg Burns
Guest
 
Posts: n/a
#4: Nov 22 '05

re: Data Grid Issue


We are talking about a webform datagrid correct?

There is probably someway to use templates with the designer, but I don't
know it. (and probably would never use it).

The VS designer and webforms do not mix well IMHO.

Greg

"C" <C@discussions.microsoft.com> wrote in message
news:FA7474E3-1C66-454F-B869-F7DD37715EFE@microsoft.com...[color=blue]
> Will this work in the Design sid Datagrid Property Builder?
>
> Sorry I'm new to .net
>
> "Greg Burns" wrote:
>[color=green]
>> You need to use Templates. I think this feature has been added to
>> ASP.NET
>> 2.0
>>
>> http://www.devx.com/vb2themax/Tip/18857
>>
>> Greg
>>
>> "C" <C@discussions.microsoft.com> wrote in message
>> news:98F3BA03-06C6-4E3A-B58B-62BA16FC8680@microsoft.com...[color=darkred]
>> > I am creating a Data Grid using the Property Builder and I want a link
>> > to
>> > pass two variables in a Hyperlink Column.
>> > How can I accomplish this? How can I add two data columns under the
>> > HyperLink Column section of the Property Builder? So they can be listed
>> > as
>> > part of the URL and pass the variables.
>> > When try to fill the URL field with :category, date
>> > and the URL format string to: category={0}&date={1}
>> >
>> > It returns and error. Is there a way to trick the Property Buider?[/color]
>>
>>
>>[/color][/color]


Closed Thread


Similar .NET Framework bytes