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:
Hello.

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.
Posted

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

Regard
Puneet Banthia
 
Share this answer
 
Comments
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