ASP.NET and/or AJAX-related question

13 replies
I tried posting this in other forums specializing in web design and never got an answer! I have an ASP.NET classified-ads site with all the categories and sub-categories in a table on the front page. I want to make it so people only see the sub-categories when they select the main category, so they won't have to scroll so much to get to the category they want. I use Visual Web Developer 2008 Express Edition and it doesn't seem to like AJAX controls for some reason. Can someone help me work my way around this problem?
#ajax #ajaxrelated #and or or #asp.net #aspnet #question #visual web developer #web design help
  • Profile picture of the author olivier2371
    Could please put the link to the website you are talking about?
    Signature

    - Do you need scripts for your website. click here
    - For your weight loss needs click here
    -Free softwares, videos and e-books click here

    {{ DiscussionBoard.errors[1229827].message }}
  • Profile picture of the author wirelessgeek
    The forum won't let me post links or screen captures of my website! Aaugh! But seriously, do I just need to put the AJAX in a separate file and link it to my front page or something? Stupid uncooperative website...
    {{ DiscussionBoard.errors[1229917].message }}
    • Profile picture of the author olivier2371
      just put the name like so,

      "your site dot com"

      easy enought.

      But yes you could try putting the ajax in a seperate file then link it.

      Are you using a starter kit?
      Signature

      - Do you need scripts for your website. click here
      - For your weight loss needs click here
      -Free softwares, videos and e-books click here

      {{ DiscussionBoard.errors[1229986].message }}
  • Profile picture of the author wirelessgeek
    Unfortunately yes. I say "unfortunately" because it isn't as brill as I thought it was going to be. Took me a while just to figure out how to add categories. I'm using the Classified Ads starter kit.
    {{ DiscussionBoard.errors[1230025].message }}
    • Profile picture of the author olivier2371
      Something that seems strange to me, I have downloaded the starter kit and I am running it in Visual Web Developer. When I look at the page your are talking about, I only see categories with the number of subcategories in each category. To access the subcategory of a category, you first have to select that categoy, after that it only shows the subcategories.

      So I am not quite sure what you are trying to achieve.

      Or have I miss the point.
      Signature

      - Do you need scripts for your website. click here
      - For your weight loss needs click here
      -Free softwares, videos and e-books click here

      {{ DiscussionBoard.errors[1230097].message }}
      • Profile picture of the author olivier2371
        Soory just realised my mistake. I going to look at it for bit. Let you know as soon as I have something.
        Signature

        - Do you need scripts for your website. click here
        - For your weight loss needs click here
        -Free softwares, videos and e-books click here

        {{ DiscussionBoard.errors[1230180].message }}
      • Profile picture of the author wirelessgeek
        Originally Posted by olivier2371 View Post

        Something that seems strange to me, I have downloaded the starter kit and I am running it in Visual Web Developer. When I look at the page your are talking about, I only see categories with the number of subcategories in each category. To access the subcategory of a category, you first have to select that categoy, after that it only shows the subcategories.

        So I am not quite sure what you are trying to achieve.

        Or have I miss the point.
        They have to have revised it since I downloaded it, then. Maybe I can try re-downloading it and see what they give me.
        {{ DiscussionBoard.errors[1230283].message }}
        • Profile picture of the author olivier2371
          No don't download it again, just look at my last post. You will find your answer there. It is me who have made a mistake.(sorry)
          Signature

          - Do you need scripts for your website. click here
          - For your weight loss needs click here
          -Free softwares, videos and e-books click here

          {{ DiscussionBoard.errors[1230301].message }}
  • Profile picture of the author wirelessgeek
    OK. I appreciate the effort you're putting into this. I haven't made many changes to the version I have, other than to add a more interesting background, play with colors and add categories and sub-categories. When it comes to any kind of programming, I have an "If it works, leave it alone" attitude.
    {{ DiscussionBoard.errors[1230316].message }}
    • Profile picture of the author olivier2371
      Let me know if the link I provided you with it is what you are looking for.

      http://forums.asp.net/t/1106376.aspx
      Signature

      - Do you need scripts for your website. click here
      - For your weight loss needs click here
      -Free softwares, videos and e-books click here

      {{ DiscussionBoard.errors[1230341].message }}
      • Profile picture of the author wirelessgeek
        Hm not really; all that did was take away the number of ads in each category and change the color of my category table. I want to make it so people only see the subcategories when they click on the main category. I'm sure it's an easy fix; I just need to know how.
        {{ DiscussionBoard.errors[1230446].message }}
        • Profile picture of the author olivier2371
          from the starter kit I have, when I click on a category The subcategoies appear in a list under it, that's all.



          If I click on category after that I get a table with the subcategories.



          If from picture1, I click on a subcategory, I get a table with whatever ads there is in it.



          Is it what you get also?

          What I though you meant is that from picture1, stopping the subcategory to show up.
          Signature

          - Do you need scripts for your website. click here
          - For your weight loss needs click here
          -Free softwares, videos and e-books click here

          {{ DiscussionBoard.errors[1230634].message }}

Trending Topics