Click here to Skip to main content
15,936,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am facing a problem in my task. I am working on trial version of Office 365.I am
using Visual web part (Sand boxed) and want to fetch Item ID from URL. I have used Request.Querystring but it is not working. Is it the limitation of office 365 sandbox solution?
Is there any other way of getting ListItem ID from URL?

Hoping for a quick reply.

Here is your Solution :
string sourceID = Convert.ToString(Page.Request.QueryString["ID"]);
Share this answer
Thanks Vikalp. It helped a lot..:)

Puneet Banthia
Share this answer
Vikalp Kapadiya 31-Aug-12 9:39am    
Its OK. Your are Welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900