Sorry Danny - .net is not something I've ever mucked around with.
You'd be better off asking a .net forum about that - just tell them
that it's an iframe, rather than call it greybox, as that's all that
greybox actually is.  I'm sure it's a common problem, as inline frames
are very common.

Tyler

On Oct 30, 3:22 pm, Danny <[EMAIL PROTECTED]> wrote:
> Hello again Tyler,
>
> Yet another question -- if you would:
>
> The form that I open in the greybox (DrawerQuoter.aspx) has in it a couple
> of controls that have the AutoPostBack turned on.  When one of these
> triggers a postback, I get this error:
>
> *The resource cannot be found.*  * Description: *HTTP 404. The resource you
> are looking for (or one of its dependencies) could have been removed, had
> its name changed, or is temporarily unavailable.  Please review the
> following URL and make sure that it is spelled correctly.
>
> * Requested URL: */DrawerQuoter.aspx/DrawerQuoter.aspx
>
> ------------------------------
> *Version Information:* Microsoft .NET Framework Version:2.0.50727.3053;
> ASP.NET Version:2.0.50727.3053
>
> This makes sense, as the greyboxed form doesn't "know" about the mechanism
> that opened it, but I'm thinking that there may be a way to "educate" my
> form to know how to come back.
>
> Is there?
>
> Thanks again,
> Danny
>
> On Thu, Oct 30, 2008 at 2:57 PM, Danny <[EMAIL PROTECTED]> wrote:
>
> > Dear Tyler,
>
> > Thank you very much for your advice.
> > You were RIGHT ON THE MONEY!
> > I did what you said and lo and behold, greybox worked as prescribed!
>
> > Again, thank you very much!
>
> > Danny
>
> > On Oct 30, 7:48 am, Logos <[EMAIL PROTECTED]> wrote:
> > > My guess would be that your pathing to your files is wrong...  I've
> > > never tried to write a .net app, but your gb_root_dir looks most odd.
> > > Are you sure that's a valid path?  I'm pretty sure it should at least
> > > have 'file://' in front of it.  I would try using a localhost URL
> > > instead of a filesystem path if I was you.
>
> > > And an easy way to test your included script paths is to type the path
> > > to the AJS.js into your address bar as an URL similar to the address
> > > you're using to pull up your page; if it pulls up the js file, then
> > > your path is correct.
>
> > > That's all I gots for ya for now man...
> > > Tyler
>
> > > On Oct 29, 11:36 am, Danny <[EMAIL PROTECTED]> wrote:
>
> > > > Did I understand correctly that GreyBox will not work when called from
> > > > withing a .net project?
>
> > > > If it can work, I would like some help.
>
> > > > When I try to fire it, all I get is the linked page opens up.  The
> > > > script, is not fired in the on-click event.  Here's the code I'm
> > > > testing this with:
>
> > > > <html xmlns="http://www.w3.org/1999/xhtml"; >
> > > > <head runat="server">
> > > >     <title>Order Place Holder</title>
> > > >     <script type="text/javascript">
> > > >         var GB_ROOT_DIR = "C:\...\greybox\"
> > > >     </script>
> > > >     <script type="text/javascript" src="greybox/AJS.js"></script>
> > > >     <script type="text/javascript" src="greybox/AJS_fx.js"></script>
> > > >     <script type="text/javascript" src="greybox/gb_scripts.js"></
> > > > script>
> > > >     <link href="greybox/gb_styles.css" rel="stylesheet" type="text/
> > > > css" />
> > > > </head>
> > > > <body>
> > > >     <form id="form1" runat="server">
> > > >     <div>
> > > >         <ul>
> > > >             <li>
> > > >                 <a href="http://google.com/"; onclick="return
> > > > GB_show('Google', this.href)">Visit Google</a>
>
> > > >             </li>
> > > >         </ul>
> > > >     </div>
> > > >     </form>
> > > > </body>
> > > > </html>
>
> > > > Ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to