Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Syntax to use Image as background for grid container?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Syntax to use Image as background for grid container?

    I'm trying to use an image as the background for a grid container. A solid color works in that field (by specifying the color, not a solid colored image) - but anything I've tried to use an image file doesn't, I just get blank white. Does anybody have any tips?

    why.png

    syntax_needed.png
    Wendy Welton
    Architect
    past & future Alphaholic - deliberately falling off the wagon!

    http://www.artformhomeplans.com/

    #2
    Re: Syntax to use Image as background for grid container?

    It appears that your image is not in the webroot. If you browse to http://www.artformhomeplans.com/LeftNavBox.png I get your error page.
    Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

    Comment


      #3
      Re: Syntax to use Image as background for grid container?

      Yeah - I'm testing it on my localhost first. It's in that web root. And my application is currently on afhp.co, not yet switched over to artformhomeplans.com - it's in that webroot also.
      Wendy Welton
      Architect
      past & future Alphaholic - deliberately falling off the wagon!

      http://www.artformhomeplans.com/

      Comment


        #4
        Re: Syntax to use Image as background for grid container?

        Are you sitting down? Guess what.... somethings wrong. You should be able to browse to the image and display it in the browser. Spelling? Case is critical?
        Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

        Comment


          #5
          Re: Syntax to use Image as background for grid container?

          Frank

          Nope - that's not the problem. The image is in it's correct spot.

          Here it is displaying on my localhost:

          nope.png

          And here you can see it on my live site:

          http://www.afhp.co/images/LeftNavBox.png
          Wendy Welton
          Architect
          past & future Alphaholic - deliberately falling off the wagon!

          http://www.artformhomeplans.com/

          Comment


            #6
            Re: Syntax to use Image as background for grid container?

            And - it works if I put the full path in. But, I don't want a full path. I need to do this in many places and I'm migrating the application from afhp.co to it's final spot at artformhomeplans.com soon - want and need to use PathAlias.

            So - I'm looking for the correct syntax to do this with Path Alias, not a "fully qualified" path.

            work_with_hard_path.png
            Wendy Welton
            Architect
            past & future Alphaholic - deliberately falling off the wagon!

            http://www.artformhomeplans.com/

            Comment


              #7
              Re: Syntax to use Image as background for grid container?

              The image file is not in your root. It is in the images sub directory. so the correct file name to use would be '\images\LeftNavBox.png'
              Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

              Comment


                #8
                Re: Syntax to use Image as background for grid container?

                Aha! That does it. I was trying to actually put the [PathAlias.ADB.... in. I guess it just knows to look wherever the main PathAlias says. Cool.

                Sanku berry much!!!!!
                Wendy Welton
                Architect
                past & future Alphaholic - deliberately falling off the wagon!

                http://www.artformhomeplans.com/

                Comment


                  #9
                  Re: Syntax to use Image as background for grid container?

                  Oops - spoke too soon. It appears to work in the grid preview. It does not work when published.

                  Nothing to do with images and Path Aliases could possibly be that simple! ;-) Big Sigh. I may have to put hard paths and just redo them all when I switch. That just feels so wrong.

                  spoke_too_soon.png
                  Wendy Welton
                  Architect
                  past & future Alphaholic - deliberately falling off the wagon!

                  http://www.artformhomeplans.com/

                  Comment


                    #10
                    Re: Syntax to use Image as background for grid container?

                    Try './images/LeftNavBox.png'

                    update

                    I just created a grid using a container with a background image using /images/Background.png and the grid displayed the background properly. Are you sure you have a sub directory named images that contains the image file under the web root to which you are publishing?

                    All paths are relative from the root in which your application opens (web root).

                    It feels wrong because it is. You don't have to hard code the file paths.
                    Last edited by frankbicknell; 08-25-2011, 05:19 PM.
                    Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

                    Comment


                      #11
                      Re: Syntax to use Image as background for grid container?

                      Aha! Do I see a little red dot in there? I thought I'd tried everything. I didn't try that - and that does indeed work. Well, either that or the dot isn't necessary and I didn't type it right when I tried it before. I really really really did try it with just the /images/LeftNavBox.png. Or maybe my slashes went the wrong way... Oh I don't know, I tried so many things I forget what I tried!

                      Thank you thank you thank you. Even though I COULD get the task done with a hard path, and the world would not have ended, it was really buggin' me that I couldn't make this simple thing work.

                      http://www.afhp.co/HomeownersGuide.a5w - Wahoo! Pay no attention to the way it's all squished too tight to the left margin, I still need to tweak some settings.
                      Wendy Welton
                      Architect
                      past & future Alphaholic - deliberately falling off the wagon!

                      http://www.artformhomeplans.com/

                      Comment


                        #12
                        Re: Syntax to use Image as background for grid container?

                        Aha again.

                        I am not dreaming. On localhost - it only works with that dot added! I have two grids, one has more detail - put the dot in that one, used it on my inner pages. On the one for my home page, no dot. Inner pages display correctly everywhere. Home page - incorrect on localhost, correct on hosting server.

                        So, I can type, I can read.... Whew! Get those men with the funny white jackets away from me! No wait, that one on the left is kinda cute.... ;-)

                        localhost no.JPG
                        Wendy Welton
                        Architect
                        past & future Alphaholic - deliberately falling off the wagon!

                        http://www.artformhomeplans.com/

                        Comment


                          #13
                          Re: Syntax to use Image as background for grid container?

                          Hey Wendy,
                          If nothing else your posts sure are entertaining.

                          Oh, and I also am learning through them.
                          Tim Kiebert
                          Eagle Creek Citrus
                          A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                          Comment


                            #14
                            Re: Syntax to use Image as background for grid container?

                            Tim, You're welcome. I'm here all week, 2 shows a night. ;-)
                            Wendy Welton
                            Architect
                            past & future Alphaholic - deliberately falling off the wagon!

                            http://www.artformhomeplans.com/

                            Comment

                            Working...
                            X