This is a migrated thread and some comments may be shown as answers.

path.combine is working in aspx page and not working in ascx page :

0 Answers 46 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
nagarjun
Top achievements
Rank 1
nagarjun asked on 06 Feb 2009, 11:17 AM
Hi,

   The following statement is well working in aspx page, but not in ascx page. Is there any alternativi for it or any changes can be made to this statement .. so that i can use it in ascx page.

b.Save(Path.Combine(Server.MapPath("Icons"), string.Concat(AssetTypeId, ".jpg")));

Thanks,
Nagarjun S.

No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
nagarjun
Top achievements
Rank 1
Share this question
or