Solved

a href querystring error

Posted on 2011-03-01
3
459 Views
Last Modified: 2012-05-11
by putting the relevant a href,

it is getting invalid url in the popup.aspx,,
aspx.cs
-------
litMedia.Text = "<li><a id='inline' href=""popup.aspx?strapp=" & NewDS1.Tables(0).Rows(i)("ID") & ">" & NewDS1.Tables(0).Rows(i)("Subject").ToString() & "</a></li>"

browser
-------
http://localhost/GTSEClaims/popup.aspx?strapp=1>THIS IS IGTSDEV!!!!!</a></li><li><div id ='1' class=

Open in new window

0
Comment
Question by:doramail05
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35013692
What do you expect it to be?
0
 
LVL 5

Expert Comment

by:Kelmen
ID: 35013695
popup.aspx?strapp=" & HtmlUtil.HtmlEncode(NewDS1.Tables(0).Rows(i)("ID")) ...
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 35013739
need double closing quotes after the href
litMedia.Text = "<li><a id='inline' href=""popup.aspx?strapp=" & NewDS1.Tables(0).Rows(i)("ID") & "">" & NewDS1.Tables(0).Rows(i)("Subject").ToString() & "</a></li>"
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question