Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Need help in HTML code

Need help in HTML code

Scheduled Pinned Locked Moved ASP.NET
questioncsharphtmlasp-nethelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sajjadlashari
    wrote on last edited by
    #1

    I am displaying text and image data through repeater on home page of a website in asp.net but i want to check first if any image data is attached with text data then image should display on left site and the text should display on right site I have also image class. how can i write this code in HTML? how i should write IF statements in HTML? Kindly do replay Sajjad

    N 1 Reply Last reply
    0
    • S sajjadlashari

      I am displaying text and image data through repeater on home page of a website in asp.net but i want to check first if any image data is attached with text data then image should display on left site and the text should display on right site I have also image class. how can i write this code in HTML? how i should write IF statements in HTML? Kindly do replay Sajjad

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      sajjadlashari wrote:

      how i should write IF statements in HTML?

      You don't need to write IF conditions in HTML. Work with the events provided by repeater control. You can handle the template and it's contents from those events. Check your condition there.

      Navaneeth How to use google | Ask smart questions

      S 1 Reply Last reply
      0
      • N N a v a n e e t h

        sajjadlashari wrote:

        how i should write IF statements in HTML?

        You don't need to write IF conditions in HTML. Work with the events provided by repeater control. You can handle the template and it's contents from those events. Check your condition there.

        Navaneeth How to use google | Ask smart questions

        S Offline
        S Offline
        sajjadlashari
        wrote on last edited by
        #3

        Dear I am asking how to writ code in repeater item tag for check the image if image is with the txt data can u send me some code matching of this problem

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups