|
trunghieu07 wrote: Can we create EventReveicer for active and deactive feature?
Yes in Visual Studio you can go to the feature, edit the .cs file and uncomment the activate / deactivate method.
|
|
|
|
|
Hi Ihoecken,
Thank you very much!
Could you please send me code for activate/deactivate method in the .cs file?
Hieu
|
|
|
|
|
I already deleted ListDenifition and create again. it is ok. I thinks that is alread Content Type ID.
|
|
|
|
|
|
Hi Yun,
Thank you for your information.
I already deploy successful.
www.sharepointviet.com
|
|
|
|
|
Hi!
I am just beginner, but
How I can hide part of Person.aspx (MySite) page? I want show part of page if accountname (querystring) is same as current user.
Is it possible?
|
|
|
|
|
Just make
and you can set its visibility --(true/false) from your code
eg: div1.Visible = false;
or div1.Visible = true;
using your condition..
--you can use multiple div tag...

|
|
|
|
|
Thanks, this works fine. I have still problem? How I can hide/unhide if "accounname" is same as current user. I try to use asp code:
if Request.QueryString("accountname") = v_currentuser then
' Visible = true
else
' Visible = false
end if
... as I say I am beginner
|
|
|
|
|
Then what is the problem .??
"your write Visible = true" but with which control...??
please upvote previous answer if you find its helpful for you 
|
|
|
|
|
Yes, Based on condition(User Type) you have to show/hide the elements using the properties[^] at runtime, that's it.
thatrajaNobody remains a virgin, Life screws everyone
|
|
|
|
|
How to deploy webpart in multiple servers?
I want to know advanced ,real time and new sharepoint concepts.
Please provide the best site urls to gain knowledge easily .
|
|
|
|
|
gyanacse wrote: How to deploy webpart in multiple servers?
This question was discussed here[^].
A solution can be deployed automatically to all servers of a farm. You have to deploy it manually to every farm you want to deploy it.
|
|
|
|
|
Good day all,
I'm asked to extend my application to be able to create Publishing Pages using SharePoint 2010 Web services.
i have looked around, I just can find a solution to this, I don't know which web service and which web method i should use to accomplish this, if there is any.
I can use SharePoint APIs, but i need to first check if there is a webservice that can do this.
i'm using C# 4.0, VS 2010, SharePoint 2010
Thank you in advance
Sibusiso
Developer
|
|
|
|
|
|
Just started happening on my front-end server, but when I go to retract a farm solution I'm getting a error stating that "The creation of this directory failed: C:\Windows\Temp\solution-[GUID]. Next to the Deployment status of the wsp package is "Error".
Has anyone seen this before? Is it a permission error? The service account that I have for sharepoint is added as an admin to the box.
|
|
|
|
|
Did you try Powershell?
First uninstall the solution then remove it.
Uninstall-SPSolution –Identity Solution.wsp –WebApplication http://myspwebapp
Remove-SPSolution –Identity Solution.wsp
|
|
|
|
|
i was facing a similar error few days ago. Nothing was working. Finally i had to delete the solution from PowerShell and then re-deployed. it worked then.I used following command on PS. don't know if that works for you.
(Get-SPSolution solutionName.wsp).Delete()
|
|
|
|
|
I have a web part that provides a value for filtering shareopint lists
The problem is when the value contains an ampersand '&' an Bad format exception is thrown
I tried to replace the & with & and "%26" but it doesn't work and the exception is thrown
please tell me what to do about this.
|
|
|
|
|
Member 10300893 wrote: I have a web part that provides a value for filtering shareopint lists
Is that a standard WebPart or did you created it on your own?
Member 10300893 wrote: please tell me what to do about this.
If it's a standard WebPart you could programm it in Visual Studio on your own. That's not a lot work and can be done easily. You can handle the error with try-catch or regular expressions.
There might be another solution, but as I don't know which webpart you are using I'm not able to check that.
|
|
|
|
|
I am a beginner in sharepoint.
I want to know How to create a login page in sharepoint2010.
Please help me.
Is there any other way instead of VisualStudio???
|
|
|
|
|
gyanacse wrote: I want to know How to create a login page in sharepoint2010.
Do you want to disable the normal login and create your own?
Or do you want to have a public startpage from where your users can login?
|
|
|
|
|
i want to create my own login page.
|
|
|
|
|
|
Thanks dear.
I got it. 
|
|
|
|
|
Hello, Everyone , I have a requirement to use cookieless session in SharePoint 2010 Application. I want to know about the Pros & Cons of Cookieless Session regarding SharePoint.
Please if anyone has any information about its behavior in SharePoint.
Do Let me know.
Thank you,
Nishant Sharma
nishant_sharma16@outlook.com
nishant_sharma16@yahoo.com
|
|
|
|