One more clue.  I should have mentioned that I am
using some DHTML tabs on
the page in question.  The CFFORM/CFGRID is in an
iFrame on one of the tabs.
Normally this tab is not the default displayed.  If I
click on the tab in
question when the page is still loading, then the
cfgrid loads.  If I set
the tab in question to be the visible tab when the
page loads, then it works
every time on the first load.  

So it seems that if the cfgrid appears on a tab that
isn't visible as the
CFGRID is loading, then the cfgrid is hidden until the
correct tab is chosen
and the iframe contents refreshed.

-----Original Message-----
From: E C list [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 8:29 AM
To: CF-Talk
Subject: RE: CFGrid does not appear...

Thanks again Mike.  I think the problem has to be
something to do with other
non-cfform code. Perhaps some other javascript issue
in my code.  I have no
idea what or where to look, but here is why I think
this:

What I am finding is that if I directly open the
contents of my iFrame from
a regular web browser everything works fine--the
cfgrid displays immediately
with no problems again and again... and when I try to
display the grid in an
iFrame it only works when the page is reloaded--the
first time it loads, no
go. If I right click and choose refresh, there is my
grid.  The data and
everything is exactly the same.  Using CFDEBUG when it
loads or does not
load, I can't see any difference in the data.  Things
are where I expect
them to be and I can see the results of my query.  I
have also tried
reducing my cfgrid to just one column where the query
result is just an
integer value, and I still get the same results.




-----Original Message-----
From: Mike Chabot [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 9:32 PM
To: CF-Talk
Subject: Re: CFGrid does not appear...

When I wrote "empty grid," I was referring to the
symptom you described. A
grid that isn't visible because there are no cells,
leaving you with just a
collapsed outline of a table.

Make sure you view the rendered HTML to see what the
code looks like.

-Mike Chabot

On 9/17/07, Eron Cohen <[EMAIL PROTECTED]> wrote:
> Unfortunately, my issue is that the grid doesn't
appear at all.  Just a
gray line.  In doing more troubleshooting, I have
found that it doesn't
matter if it is in an i-frame or not, just making it
part of the page on my
site where the iframe was still shows the same issue. 
If I just refresh the
page, it appears just fine.
>
> >The grid would get populated from an Ajax call.
Make sure the 
> >JavaScript in the Web page is correctly calling the
CFC on the server.
> >The ?cfdebug URL parameter helps identify what is
going on. If the 
> >Ajax call fails, the result is an empty grid. Make
sure you can 
> >access your CFC by entering the URL into the Web
browser and that the 
> >CFC is set up to allow for remote access.
> >
> >-Mike Chabot
> >
> >
> >>
>
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288693
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to