CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> IDE/GUI

 Problem with link in a grid

Print topic Send  topic

Author Message
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
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.