I have been trying to add media files such as audios and vedios to my web pages in visual studio (asp.net) but i seem to be lost about the whole thing. can i have a helping hand on this??????
Thanks 2 you all
View Complete Post
Edited by Nancy Michell
MSDN Magazine October 2001
I need a control that display a PDF file from MOSS library so that user can't get a copy of it. I perfectlly understand that's not possible to completely save document from copying, I just want to make it as hard for user
So far I embedded a PDF file into user control as described there:
But I still have 2 major propblems:
1) displayed PDF file's saved at Temporary Internet Files after each page download
(Response.Cache.SetCacheability (HttpCacheability.NoCache) doesn't help)
2)if page is opened as a Source file then a link to a PDF is clearly visible inside UserControl code.
Is there a chance to avoid any of these issues? Or may be you have any other ideas?
If I develop a 2010 Application page using VS2010 and an Empty Sharepoint Project to which I add an Application Page item, the aspx page oes under the 14 hive \Layouts folder in a subfolder of my naming. The code behind goes into the resulting
assembly which I choose to deploy to the GAC.
But say my aspx page has accompanying XSLT files - what is the correct location for those files?
Basically I need multiple code-behind files each containing different functions for a page. Different classes do not do this because they are not connected to the page so their methods require parameters I want direct control of the page without the need for parameters.
I can only seem to crete one code-behind file and I need many. I've tried putting the aspx page in the App_Code folder but this causes an error.
Is there a way to do this?. Any help would be appreciated.
I have successfully added a branding feature to my 2010 environment that activates on install. Just as expected, it does not work for subsite creation. I have seen a number of articles/blog posts on how to create a feature stapler for SP2007. However, I
am having a hard time finding a working solution for SP2010 using VS2010.
I have a couple of questions that I hope someone can point me in the right direction on:
1. In my project I have a branding feature, this contains the EventReceiver that applies the change. Can I have a second feature here that does the stapling or does it need to be in a completely seperate project?
2. Everything I read points to two files feature.xml and elements.xml, are both of those supposed to be under Features in Solution Explorer or are they located somewhere else or do they need to be create. If they need to be created, where do they belong?
3. In the EventReceiver.cs file there is a GUID that was automatically generated. Is this the GUID referenced in the feature.xml?
Hopefully with these questions answered I can move forward and find a solution to getting the stapler working.