470,569 Members | 2,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,569 developers. It's quick & easy.


Hi all,

how to detect existing .ascx control in Net 2.0?

I try to use method in VirtualPathProvider:
HostingEnvironment.VirtualPathProvider.FileExists( "~/App_UserControls/ucDataPager.ascx");

it return true if file ucDataPager.ascx control exists, but if I publish web
site (no editable) and .ascx files not available on the disc, this method
return false, its bug?

Thanks Pavel
May 10 '06 #1
0 1126

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by mdufour | last post: by
1 post views Thread by VV | last post: by
reply views Thread by Shane | last post: by
5 posts views Thread by Charles Zhang | last post: by
4 posts views Thread by Robert Dunlop | last post: by
1 post views Thread by Sriram Srivatsan | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.