Pontus
|
Posted: 02/02/2004, 4:48 AM |
|
Hi,
Im new to Code Charge Studio.
I have an included page that contains a grid with data from mysql. I want to mark the current row by making the font bold. To do so I want to compare the value in the column with the value of corresponding parameter in the url. If the match I make the font bold. All this is don in the before show event for the label in the row.
Two questions,
1. How do I get the parametervalue from the URL?
2. When I set the font bold the <b> My text </b> is converted into <b>My Text</b in the Html source. Why?
Thanks
|
|
|
DonB
|
Posted: 02/02/2004, 8:20 AM |
|
You can retrieve the parameters with the CCGetParam() function. The reason
you see the codes in the output is that you have the field set to "text" -
change it to "html" and the translation will be bypassed.
--
DonB
http://www.gotodon.com/ccbth
<Pontus @forum.codecharge (Pontus )> wrote in message
news:5401e471dcd950@news.codecharge.com...
> Hi,
>
> Im new to Code Charge Studio.
>
> I have an included page that contains a grid with data from mysql. I want
to mark the current row by making the font bold. To do so I want to compare
the value in the column with the value of corresponding parameter in the
url. If the match I make the font bold. All this is don in the before show
event for the label in the row.
>
> Two questions,
>
> 1. How do I get the parametervalue from the URL?
> 2. When I set the font bold the <b> My text </b> is converted into
<b>My Text</b in the Html source. Why?
>
> Thanks
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
|