tagen
Posts: 19
|
Posted: 12/12/2005, 11:54 AM |
|
I have created a link in a grid cell, but when display the page in the browser I get this error Fatal error: Call to a member function ToString() on a non-object in myweb/htdocs/tyskland/tbl_person_list.php on line 170.
The link is created with static text and static address, setting parameters to DataSource Column - the preview show this ?PersonNr={PersonNr}&.
The HTML source shows this
<td><a href="{Link1_Src}">Regning</a></td>
But this gives the above mentioned error message.
I have compared the code with another link in the same grid without finding any difference except for the href source.
I have tried to put into another page (maintenance page) and here the link works ok.
Any idea what I'm doing wrong.
Tage
|
|
|
DonB
|
Posted: 12/12/2005, 3:52 PM |
|
Have a quote or apostrophe in the data, perchance?
--
DonB
http://www.gotodon.com/ccbth
"tagen" <tagen@forum.codecharge> wrote in message
news:4439dd580910c1@news.codecharge.com...
> I have created a link in a grid cell, but when display the page in the
browser I
> get this error Fatal error: Call to a member function ToString() on a
> non-object in myweb/htdocs/tyskland/tbl_person_list.php on line 170.
>
> The link is created with static text and static address, setting
parameters to
> DataSource Column - the preview show this ?PersonNr={PersonNr}&.
> The HTML source shows this
> <td><a href="{Link1_Src}">Regning</a></td>
>
> But this gives the above mentioned error message.
>
> I have compared the code with another link in the same grid without
finding any
> difference except for the href source.
>
> I have tried to put into another page (maintenance page) and here the link
> works ok.
>
> Any idea what I'm doing wrong.
>
> Tage
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
tagen
Posts: 19
|
Posted: 12/13/2005, 1:43 PM |
|
No quote or apostrophe in the data.
I solved the problem by creating a new page - grid builder - put in 3 labels - converted two of the labels to hyperlinks and then it worked correctly.
The hyperlink data for the the one that I couldn't get to work in the first page is exactly the same as in the new page, so I don't know why ccs didn't do it correctly in the first page.
|
|
|
|