kamagra how much to take

SPListItem.URL Funky Return Fiesta

Man, I have never seen this before, but doing a simple SPListItem.URL and returning the URL returns a funky ass value. It looks like hex or some crap, like this:


What the hell is that? Shouldn’t the SPListItem.Url property return the actual URL to the item?

To get around this, you have to tailor your code a little bit differently.

  1. SPList list = site.Lists.GetList("MyList");
  3. SPListItem item = list.Items[id];
  5. list.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url + "?ID=" + item.ID

Now you will actual retrieve the correct path to the DispForm.aspx page.

Wierd, eh? :)


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>