Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reporting Services: Rename Folder(Item) during Run-Time

Status
Not open for further replies.

Spent

Programmer
Mar 20, 2003
100
BG
I am writing Reporting Services with VS 2003 and SQL Server 2005. When I try to Rename a Folder, exception is raised that Name property is read-only.
But with the Build-In Report Manager this is possible.

Here is the problem part of my code:
Code:
.....
if (Page.IsValid) 
			{
				try
				{
					Property[] props = new Property[1];
					Property setProp = new Property();

					setProp.Name = "Name";
					setProp.Value = txtName.Text;
					props[0] = setProp;


					rs.SetProperties( itemID, props);
....

Is there a way to rename an item( in my case Folder ) through code ?

Thanks
Spent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top