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:
Is there a way to rename an item( in my case Folder ) through code ?
Thanks
Spent
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