.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

Can "Use my local drafts folder" option be entirely disabled?

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
Is there a a way to disable the "Use my local drafts folder" option (upon check-out) entirely?

We have a SharePoint 2007 library with some users running Office 2007 and some running Office 2003.  Check-out is required for editing.  I would prefer users not even be presented with that option regardless of which Office product(s) they have loaded.

Possible?  If so, how?!?!?!

View Complete Post

More Related Resource Links

Save Execution plan option disabled

You cannot vote on your own post



I am using Management studio. I want to save the Execution plan on a stored procedure, but the Save Execution plan option is disabled. Even on the File menu the Save Execution plan option is disabled. Is this some security issue or Is it because of Express addition. Is there any way to get around this problem.

Thanks in advance.


Save Execution plan option disabled




I am using Management studio. I want to save the Execution plan on a stored procedure, but the Save Execution plan option is disabled. Even on the File menu the Save Execution plan option is disabled. Is this some security issue or Is it because of Express addition. Is there any way to get around this problem.

Thanks in advance.


Save Execution plan option disabled




I am using Management studio. I want to save the Execution plan on a stored procedure, but the Save Execution plan option is disabled. Even on the File menu the Save Execution plan option is disabled. Is this some security issue or Is it because of Express addition. Is there any way to get around this problem.

Thanks in advance.


Visual Studio Project Properties Customer Web Server option is Disabled


Hello All,

Can you please help me out to figure out the problem ?

I am not able to debug  ASP.Net applications on my localhost. What could be the reason.

When I checke project properties (for all my asp.net websites) i observered that the "Use Custom Web Server" option is disabled for all websites.

Any guesses what could be the reason. I am using Windows Xp SP 3 and have IIS installed on my computer. The issue was not there couple of days ago, but started creating problem since last night.


Thanks in advance.


Sql Server Database services option in components install is disabled during installation of SQL Ser


OS: Windows Vista

SQL :2005

While selecting components to install during installation of SQL Server 2005 on Windows Vista

1)Sql server database services ,create a sql server failover cluster

2)Analysis services

3)reporting Services are disabled mode.

please tell me how to enabled this  options during installation.

VS 2010 HTML validation "in CSS" option - where the hell is it?


In VS 2008 there is a very useful feature of background HTML validation - it checks if CSS class name is valid i.e. it exists in one of the linked css files. But VS 2010 Express does not do that any more. And the relevant setting in Options->Text Editor->HTML->Validation->in CSS is not there. Ok, maybe they made it paid for option? VS 2010 Professional? Not there. Or maybe VS 2010 Ultimate? Not a trace.

1. am I blind?

2. they decided it is too convenient to use and removed it?

3. they will "introduce" it in SP1?

What is going on? That one thing made me move back to VS 2008 web developer.


RDLC Report Hide Export Option

The article RDLC Report Hide Export Option was added by mandandeo on Sunday, August 15, 2010.

protected void ReportViewer1_PreRender(object sender, EventArgs e) {DisableFormat(ReportViewer1, "Pdf"); }protected void DisableFormat(ReportViewer viewer, string formatName) {const System.Reflection.BindingFlags Flags =System.Reflection.BindingFlags

search option



i've created a gridview and connected to the database programatically. now i want to insert a textbox above the header field of the name field. if i enter the name in the textbox it should display that only.. e.g i have three header name,pwd,sex i want to create the textbox above the name header. now i enter the name jhon in the textbox then the gridview should display

only the jhon information

please can u provide me a code...

Attach Workflow to Task List, don't get option to manually start workflow via dropdown on task item



I am running WSS 3.0 with other workflows which are functioning correctly.  I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.  I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.  I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).  I made sure that the option to manually start the workflow was checked.  When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.  The workflow also will not start automatically when a task is changed.


I attached this same workflow to a different task list in production and get the option to start it.


I have tried creating a small workflow in SPD 2007 and attaching it to the task list.  It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.


I have checked my security and I have fu

Browse Button is disabled


I have created a BDC using Application Definition Editor. The connectivity with the Oracle database worked well when setting it up. I was also able to successfully create the BDC Column

But when I try to add a new record, the Browse Button next to Check Names is disabled. What could be the issue?



Below is the ADF XML. Hope it can help locate a clue


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<LobSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.xsd" Type="Database" Version="" Name="TESTLOB" xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
    <LobSystemInstance Name="TESTLOB_Instance">
        <Property Name="rdbconnectionData Source" Type="System.String">(DES

Fix: LinkButton Doesn't Looked Disabled in ASP.NET 4

I couldn't figure out why the LinkButtons in my former ASP.NET 3.5 site suddenly wouldn't look disabled even though I was setting lnkbtn.Enabled = False   The quick fix was to check the web.config file to ensure a new ASP.NET 4 setting: <pages  controlRenderingCompatibilityVersion ="3.5"       clientIDMode="AutoID"> I'm not sure how controlRenderingCompatibilityVersion disappeared from the web.config, but, as you know, *&$% happens...(read more)

Posting back a disabled button


Folks, I have a control which inherits from LinkButton and I'm trying to make sure that the user cannot cause mayhem by performing multiple postbacks.  That seemed an easy enough challenge, so I have this code [snippet] on the client:

ButtonClicked: function () {
    if (this._DisableOnClick == true) {
        this.get_element().disabled = 1;
        this.get_element().style.cursor = 'wait';
    else {
        alert('Posting back');

The alert is of course only there for debugging.  If the DisableOnClick value is false, then I see the "Posting Back" alert and, when I click ok, the postback occurs - all good.

If the DisableOnClick value is true, then the "button" gets disabled and the cursor turns into an hourglass - again good.  But the postback doesn't happen - not good.  I assume that the ASP client code is trying to help by preventing the postback when it sees that the link is disabled.

So, how can I either:

  • Persuade the LinkButton to postback even though it has just been disabled; or
  • [probably better] Get my client code to execute immediately after the postback code rather than before.



Multiline Option does not work

Hi,Below is the sample piece of code(The code is in VB.NET), where I am expecting an answer of "true" with my basic knowledge of Regular Expressions.---------------------------------------------------'VB   Dim r As New Regex("^def$", RegexOptions.Multiline)   Dim d As String = String.Format("{0}{1}{2}{3}{4}{5}", "abc", System.Environment.NewLine, "def", System.Environment.NewLine, "def", System.Environment.NewLine) MsgBox(r.Match(d).Success)-----------------------------------------------------------The answer I get is false, but there are two "def" in 2nd  and 3rd line of the data and Multiline option is enabled, I have checked it with VS 2005 and VS 2008, both give me answer as false.  What is the mistake I have done? Please help.Thanks and Best Regards,Bennz Benz

With Anonymous access disabled, is there any way to use an AJAX-enabled WCF Service?

I have a website where anonymous access is disabled but I want to user an ajax-enabled WCF service. Configuring the service's binding security to use "TransportCredentialOnly" with clientCredentialType="Windows" seems like the obvious thing to do; indeed, many posts in various places suggest this approach. Unfortunately, however, it doesn't work. I always get the error "Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service." How can I configure the service to function correctly. I'm running IIS 7.5 with .Net framework 4.0. Thanks.

A FocusScope Nightmare (Bug?): Commands Are Disabled

I've got a simple menu with some simple commands:   Code Snippet <Menu> <MenuItem Header="Edit"> <MenuItem Command="ApplicationCommands.Cut" /> <MenuItem Command="ApplicationCommands.Copy" /> </MenuItem> </Menu>     I've got a simple control:   Code Snippet <UserControl x:Class="WpfApplication2.UserControlRed" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid /> </UserControl>     The code-behind for this control enables handling the 'Cut' command: Code Snippet   public partial class UserControlRed : UserControl { public UserControlRed() { InitializeComponent(); this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Cut, this.OnCut, this.OnAlwaysExecute)); } public void OnCut(object sender, RoutedEventArgs routedEventArgs) { Console.WriteLine("Cut"); } private void OnAlwaysExecute(object sender, CanExecuteRoutedEventArgs e) { e.CanExecute = true; } }     This control is added to a simple page so it can be navigated to using a Frame:   Code Snippet <!-- The Menu Commands are enabed with this code. --> <Page x:Class="WpfApplication2.PageRed" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x=&

Right click script alter table disabled

Does anyone know how to enable the "Script Table As" -> "Alter To" option in SQL Server 2008 SSMS? John M. Couch Insight Enterprises Inc. 6820 S. Harl Ave, Tempe, Az 85283 Email: john.couch@insight.com

What does Error Output option "Redirect Row" do?

I'm reading this http://technet.microsoft.com/en-us/library/ms141679(SQL.90).aspx but I don't quite understand about the Error Output option "Redirect Row", the error or the truncation data row is directed to the error output of the source, transformation, or destination. It sounds to me that the error will be output to somewhere but how I know where.  In the Advance Editor for Destination, I find the Input and Output Properties and it has Output Columns under OLE DB Destination Error Output. For example, if I set the Error Output option to "Redirect Row" for a Destination component, what does it mean?  Is there any article which shows an example of "Redirect Row"?    
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