.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Start MOSS AssetPicker Dialog over different button

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :C#


I've got the following problem. I am using an thirdparty ascx file which includes several controls, fields and a asp:button too, which I can edit. I want to have the behaviour that the browse button of the LinkManager of MOSS is starting if I click this button.

So I want to have:

A button that starts the functionality of the browse button of the Link Manager. If you want to insert a Link in a RichHtmlField there is a dialog with a browse button. You can search in several sites, libraries and so on. I want to have this functionality of this button on another button.

The best way would be if I am able to call the function.

Another solution could be to set the Control of this function. I already found it:

<CMS:AssetUrlSelector id="assetSelectedUrl" CssTextBox="ms-input ms-assethyperlinkdialog-longtextbox" MaxLength=

View Complete Post

More Related Resource Links

how to start and stop thread with button


hi all,

i am new to threading.

im trying to write a simple application which will update a textbox (on other thread) when button clicked.

and stops when clicking on "stop".


when i click on the "start" it  starts but for some reason the app freezes, when i debug the prog i can see it  is running  but the main window stays frozen.


please help.

VS Studio WorkFlow Failed on Start in MOSS 2007 ON Windows Server 2008 64 Bit


I have created a sequential sharepoint workflow in WSP Builder in my Sharepoint Server and Deployed it.

But the workflows says Failed on start and retrying ans stops there forever says couldn't start the workflow.

I repaired .NET Framework 3.5sp1 installed

 tried this

 1. I tried again, in C Prompt:  Lodctr "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"  it says initiation file cannot be found

2   i again tried this C prompt Lodctr /R "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"

it says reloaded  from the system restored

i am still getting the same error.

When i manually go to my  C:\Windows\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation i can see a folder for SQL that's it nothing more than that..

I dont know what is happening i am trying it from 2 days and still no solution.

any ideas would be real great help for me.

My system is 64 bit , Window server 2008, MOSS SP2, Visual Studio 2008 Version 9.0.30729.

.Net Framework 3.5 sp1

and WSP builder the one from Codeplex for 64 bit machines

Cannot start wss search in MOSS farm




MOSS farm: 1 index, 1 WFE,  SQL cluster


When we try to start the wss search service from the web UI we gat a 'system policies must have full control' message. I can start it manually but the app log is full of event ID's 6482:


Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (da839862-de1b-4d3e-9015-3f23999ad32a).

Reason: System policies must have Full Control.

Techinal Support Details:
Microsoft.SharePoint.SPException: System policies must have Full Control.
   at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.SynchronizeDefaultContentSource(IDictionary applications)
   at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
   at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)


There is an additional similar event (event ID 6483) that we also see regularly in the event log concerning Excel services:


Application synchronization failed for Microsoft.Office.Excel.Server.ExcelServe

MOSS 2007 - Error Code 500 after click on Ok button on a post reply with an accent charactere in the



I have this strange behavior in my test and prod environment but not in my Dev.

The case is as following:

  1. Someone create in a discssion list a topic with an accent charactere in the title.
  2. Someone else click on the reply button. then he write the post.
  3. Then he click on the Ok button and a code error 500 page is loaded.

In the same discussion list If the title of the topic does'nt contain any accent charactere it works well !

Regional settings of the site collection are strictly identical on Dev, test and pro environment.

Does someone have any Idea ?

Thanks in advance for your answers



Hide Modal Dialog Close Button when dialog is already shown


Hey everyone,


Was wondering, how do you hide the close button of a modal dialog, when it's already shown, i.e. the page that's being loaded into the dialog, in there is a web part, and i want to trigger a script call to hide the close button of the current modal container.

I know you could give options to the modal dialog when you shot it to hide the close button, but not sure if you can do it after it has shown. I have no control of adding the option when it's showing the dialog, as this is done by the Add new item link in a list.




Remove the Modal Dialog 'Page' Button


Hello ...

Throughout my SP 2010 / InfoPath2010 site, I have a number of Modal Dialogs that were developed with InfoPath2010.  Everything is working fine apart from one nagging problem ... each Modal Dialog appears with the 'PAGE' button at the top.  Clicking it opens up the toolbar with various options available. 

How do I get rid of this?  Or is it only appearing because I've got admin access?




Start Workflow from ribbon button


I am running sharepoint 2010. I am currently building some stuff in it. I have a ribbon button in the list item ribbon that starts a workflow. 

when you click it, it brings up the "workflow initialization form". (Click start to start the workflow)

but there is no data to be entered. and its not like the worflow launches all the nukes pointed at Russia so I don't really need this level of confirmation.

is there a way to stop the form from displaying?

moss 2007 workflow error failed on start(retrying)


i am getting this error "failed on start(retrying)" on a custom workflows.

The error does not occur very frequently, once a week (the workflow is triggered roughly 50 times a day).

Any ideas? Or where can I get more details on this error (some log files elsewhere?)



A Generic Dialog ViewModel

I worked on a wpf viewmodel for dialogs, because it seemed strange to me that you needed for instance windows forms dialogs to open or save files in wpf. So I set about creating my own wpf dialogs. After creating the dialog viewmodels there still remained a small issue with the library and also I didn't have much time to write an article about it. I however published the library containing the viewmodels for dialogs with another article on my blog

Problem to group radio button across gridview rows

In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:

Maintain HTML Radio Button Selection Inside GridView After Postback

Long time ago I wrote an article about getting the value of the selected RadioButtons inside the GridView control. The code did not addresssed the postback issue which means that the selected radio button was cleared after the postback occurs.

A Simple and Extensible Radio Button Style GridView

The GridView is one of the significant controls in ASP.NET 2.0 and later versions. No doubt it reduces a lot of work time. However, customizing the GridView control is not an easy task. For example, it's hard to add a radio button column to the GridView. This article demonstrates the reason why a radio button column cannot act as normal and how to create a simple and extensible radio button GridView.

ASP.NET GridView - edit records using JQuery Dialog

There are many ways in which you could modify modular data in Grid View:
1. Inline by making rows editable when u click on Edit
2. By using separate pages for Edit
3. By using popups/dialogs for adding/editing

MOSS 2007 Tutorials video

This link about how create sharepoint website ,blogs,team site,document lib etc

AJAX in MOSS 2007

These days implementing AJAX in sharepoint has become a important request for share point applications.

Here i'm explaining how to create and deploy a AJnAX webpart in step by step manner

Master Pages in MOSS 2007

'MasterPages' feature in sharepoint 2007 makes the entire customization job easy.In 2003 we used to face lot of issues to get the same look and feel and the standard behaviour for overall site. In 2007, customizing the look and feel for the entire site can be done in a simple way by using 'MasterPage' feature.

Content Types in MOSS 2007

In this article I will try to describe the one of the best feature in Microsoft office Share Point 2007 called Content Types.

Content types are simply collection of contents.Each content in a Content type can have different settings.Basically it is a reusable collection of settings which you want to apply to a particular category of contents.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend