I am trying to set the property of the custom web part on page load. MOSS 2007
while accessing the custom property i am getting error. But can add the inbuilt property like ID , Border and other.
View Complete Post
I am not able to set the custom property of the web part on page load.
It gives me exception if i try to get or set that property but i can still access other inbuilt property of the web part and can display them on the page.
I am using sharepoint designer and MOSS 2007.
I had a strange issue in testing my package, after it was deployed to a Test server.
The details of the server
Sql 2005 is installed, in the D:\ drive
I have used a package, where i use a custom DLL to read values. Hence, i added that DLL to the GAC. I was in the assumption that this should complete my proceess of deploying this package.
However once i executed the package, i got an error - Could not load the Helper object.
Unable to CAST "system.object" to namaspace.class.Helper.
I reviewed the setting on my macihine, since as part of development inorder to reference the dll i added this to the C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies location so that i can reference this from BIDS. I checked that location in my test
server, i was not present. This location was present in the D: drive ( i assume this was present since i installed my complete SQL Server in the D:\ ). I copied the dLL in that location and added it to GAC from that location. My package still failed with the
To resolve this issue, i created the same path in the C:\ folder as C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies
assemblies was newly created in C: and i added the dll to GAC from there. Now my package worked.
I am trying to restore site backup to another server using following powershell cmdlet:
Before starting restore I have created the site with template same as present on source server. After executing the command it did not displayed any error in the Management shell window. When I checked the log file it displayed 127 warnings and 1 error as
When I am trying to access the page of the page library it is navigating to error page. This page contains Data form web part which is
the lists in the site. In the ULS logs I found following error:
I tried follwoing resolution steps:
Still I am not able to fix the issues. Can anybody please guide me what would be the cause of these errors and what could be the resolution.
I've created a basic Web Part in a .wsp and defined two custom web properties.
However, whatever value I place in these text values when in the edit mode show up on the Page beneath the Web Part name. Why? How do I not show the value of Properties outside of the Modify Property window?
I have created a simple custom page layout in SharePoint Designer, added a couple of web part zones, and a custom web part on each zone.
These web parts have a custom provider-consumer set of interfaces. I configured the connection between the web parts in SharePoint Designer (using Add Connection wizard), and saved the page layout.
After that, I checked in the layout and approved it in SP's web interface.
Finally, I created a Publishing Page based on my layout, but the connection between the web parts was not set. I can set the connection manually and it works fine, but I would like the connection to be automatically set on each page I create based
on the layout.
Is this the expected behavior? If so, is there a way to configure the connection automatically either programmatically or declaratively?
Is there a step I'm missing?
i have few custom controls that take some time to load,how can i make the page render all is buttons and in background the controls will do there job?
Once in a while i get following error on the home page, How to resolve this ?
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.
" usually i do edit page & publish then error goes away"
I am trying to build a custom page layout which should have the following web parts:
2. Doc Library
3. custom list items
And the data in these web parts should be from the site in which we create this page. For example, if we try to create a page in site A, then the announcements displayed should be from site-A, doc lib that is in site-A...
And I am trying to insert a content query web part in the page layout using sharepoint designer, and modify the query to insert the announcements list in the site. But how can I query to pull the data from corresponding site.
Thanks for the help.
Is there a way to make a modal popup panel active on page load so that the user can't do anything until they deal with the popup dialog?
I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.
But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.
Thanks in advance.
Building on his article published in the June issue, which demonstrated several ways to get process and DLL-related information from APIs such as PSAPI, NTDLL, and TOOLHELP32, the author presents some unusual ways to get system-oriented info that you can easily integrate in your own toolkit. There are three tools included as samples: LoadLibrarySpy, which monitors an application and detects which DLLs are really loaded; WindowDump, which retrieves the content and a detailed description of any window; and FileUsage, which redirects console-mode applications to tell you which process is using any opened file.
MSDN Magazine August 2002
I have created a feature that generates a page and adds a content editor web part, links web part (using elements.xml). Everything works fine but I would like to replace content editor web part with a wiki page that I am going to create.
For example, I copied an excerpt from elements.xml file that adds a content editor web part for the page.
<Module Path="Dependencies/Pages" Url="">
<File Url="default.aspx" Type="Ghostable">
<!-- Add the Rich Content Text Editor web part -->
<AllUsersWebPart WebPartZoneID="Right" WebPartOrder="1">
<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2" xmlns:iwp="http://schemas.microsoft.com/WebPart/v2/ContentEditor">
<Assembly>Microsoft.SharePoint, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
Can someone tell me how I can add a wiki page using manifest (elements.xml) file or some other way?