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

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

Disappearing "Exit Edit Mode" and "Welcome User XYZ"

Posted By:      Posted Date: September 30, 2010    Points: 0   Category :SharePoint

Kind of a mystery problem here. I have been building a couple of Sharepoint sites for our teams. Nothing fancy.

The mystery is that the symptoms are slightly different, depending if one uses a generic public logon, or a discrete user logon.

Generic Logon - "Welcome User XYZ" (located at top right) is gone. Site Actions is completely gone.

Discrete User Logon - "Welcome User XYZ" is visible. "Site Actions" (located upper right, below "welcome") is visible, but when clicked on, page goes to edit mode, but "Exit Edit Mode" is not visible.

Viewing the main page (Default.aspx) gives a different page, depending on whether one is logged on as a generic user or a discrete user.

It is almost as though there are two different versions that are running unsynchronised, depending on the logon.

  • Generic Logon renders Version A.
  • Discrete Logon renders version B.

A month or so ago, I was on some Sharepoint forum hunting some code snippet to make the quick launch have collapsible menus. It recommended going through an evolution of making a copy of "default.master" and renaming one of the copies "olddefault.master" as a back-up and inserting the code there. Tried it. Didn't work. Thought I cut the offending code out but a comparison

View Complete Post

More Related Resource Links

Disappearing partial view


I have a view that uses a partital view.  The partial view is invisible when the page loads.  The user then clicks a button and I use Html.RenderPartial to make the view appear.

There is a button in the partial view in which the use will click which should make the partial view disappear.  How do I make the partial view disappear?

Thanks for the help!

Data Bindings are Disappearing and reappearing based on location of other bindings on page

Using Dreamweaver CS3 to design a classic ASP page connected to MSSQL db.  When recordset is tested with a default value, all db fields are returned successfully, but when web page is viewed, random data values won't display.  If bindings are moved around on the page, this can cause other bindings to disappear with no recognizable pattern making troubleshooting the issue next to impossible.  I have never seen this before and wondering why this might be happening.  If anyone can help me, i would sincerely appreciate it!

Progress Bars Disappearing

In Visual C# Express 2010 sometimes when developing applications Menu strips. Progress bars and labels go missing on the status strip both on the .exe and in the designer but are still registered objects and cannot use the names again. please help. thanks in advance.

The case of the disappearing parameter....


Hi community,

This one has me stumped and I welcome your thoughts....

 I am building a table based eCommerce shopping cart.  I have a stored proc that takes two parameters, @SessionID and @ProductID.  As you would expect, it removes the entire quantity of item @ProductID from the table for Session @SessionID.

Upstream, I have a data layer method in which I build a SqlCommand object and programatically set the respective parameters.  I'm getting an exception on the ExecuteScalar method of the command.  The error states that the stored procedure requires a parameter that wasn't supplied, but you can clearly see from the screenshot that it was.  Since a picture is worth a thousand words, here's a screen shot:

Disappearing Parameter Error Screenshot

Note the watch window showing values in both required params. 

For good measure, here is my code in plain text:

Public Function RemoveItemFromCart(ByVal SessionID As String, ByVal ProductID As Integer) As Integer
            Dim cmd As New SqlCommand("RemoveItemFromCart", cn)

Part of the text is disappearing when sent from ASP.NET page



I have created an ASP.NET page to access Sharepoint List (Win 2003, WSS 3.0). I am accessing connecting to the Sharepoint site through Sharepoint webservices.

ASP.NET site has a form with text boxes and when we press OK, we send this information to the richtext columns in the sharepoint list.


It works fine as long as we write simple text but as soon as we add some markup, for example " Hi,<b> there </b>", it the list is updated with only Hi, and the part in the markup and the text that follows disappears.

Probably the problem is with the XmlElement that we send. Can any one help me?


myList.UpdateListItems(ListName, xBatch)

Web parts disappearing when inserting audiences

When I insert web parts and apply different audiences to them, this works perfect untill....
a user who wasn't compiled in the audience tries to edit the page. He only sees the web parts where he is member of the audience applied to the web part.
This means that if he saves the page, the other web part isn't saved. But when I check http://<yoursite>/?contents=1 I can see that all of the web parts remain on the page! (using SPS 2010 Beta)
So I am wondering if it is normal behaviour that a page editor cannot edit web part related to other audiences. (It just doesn't make sense, but I'm not sure if this even worked in MOSS).

Maybe I need to add permissions somewhere or activate something but I'm lost.
Anybody has the same problem and/or found a solution for this problem?

Any hints are more than welcome!
Thanks in advance
Joke V.

How can I prevent the pop up window from disappearing? (HoverMenuExtender AJAX control)


Hi all,

I have a GridView (insde a UpdatePanel with a Timer control) which is refreshed every 3 seconds and one of its fields (a TextBox) is "linked" to a HoverMenuExtender. It works great to display the Multline Textbox results but when the next refresh timer interval comes the TextBox control is re-populated with the new data and the user does not have the time to read its content.

I am not sure if there is a way to maintain the content after each refresh (as long as I don't move the mouse of course).
Here is part of my code:

                         <asp:TemplateField HeaderText="Last Output" >

                              <asp:TextBox ID="txtBoxComments" runat="server" MaxLength="1000" ReadOnly="true" Rows="1"
			 Text='<%# Eval("LastOutput") %>' TextMode="MultiLine" style="OVERFLOW:hidden" />
                                <ajax:HoverMenuExtender ID="HoverMenuExtender1" runat="server"

Jquery validate message disappearing in update panel



I am having an issue where i have fields on a form that contains an update panel that i want to do Jquery validation on. The issue is when i click  the OK button, the validation error message appears then goes away. Looks like some post back type of issue but was wondering if someone could help. THe code is below:


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Project Management System</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.js"></script>
<script type="text/javascript" src="

WPF popup + windows disappearing


Hello all,

We have a bug in our software that is driving us crazy. We think we finally found some clues, and hope someone can help us out.

We have a workflow that the user must complete. During this workflow, the user can upload some documents (either PDF or XPS). The documents are previewed by using the WebBrowser control.

Sometimes, the combination of uploading a PDF file (and thus previewing it) causes WPF popups to behave very strangly. Today, I finally got it again, and I have created a video of it:


As you can see in the video, the model window looks good. Then, as soon as I hover a control that shows a popup (whether this is a combobox, button with popup, a custom control that shows a popup with all errors, etc), the owner window disappears to nothing.

Does anyone else have this problem or is this a known bug?


Thanks in advance!


Geert van Horrik - CatenaLogic
Visit my blog: http://blog.catenalogic.com

Looking for a way to deploy your updates to all your clients? Try

Disappearing drive space


I've got a virtual Server 2008 R2 server that keeps running out of disk space on the system drive.  Oringianlly there were several dozen sql database on the drive so i moved them (several gigs worth), however, after moving them all to another drive (ussing sp_dettach/attach and physcially moving the file) the system drive is still showing 0 bytes free!  The recycle bin is empty and i've verified that all of the files are physically gone from the system drive.  Also when I do a search for Huge files I don't see anything new, but i didn't actually note every single file before and after.

Anyone know why moving sql databases would not free any space?

Curiosity or bug? - WPF 3D Disappearing Triangles


Hi, I've just been experimenting with a simple 3d Geometry within WPF and I'm very curious about a bit of behaviour I'm seeing.

I have a simple triangle defined:

<MeshGeometry3D Positions="0,0,0 1,0,0 0,0,1" />

When the camera is config

Disappearing Email when email is sent to list


I have my SP2010 setup to recieve inbound email.  I have several sites whereas they have lists/libraires setup and those are setup properly to recieve inbound emal.

On some lists, when I email to the list, the email arrives and no problem.

Some lists though - the email never shows in the list.  Even changing the view to ALL on the list yields no email I sent.  I send the email, no bounced email.  I see it arrive in the drop folder.  I see the SharePoint timer pickup the email.  Then it just vanishes.

So, some lists, the email actually arrives and shows up. Other lists, the email just vanishes.

What log files can I review to help me track down this mystery?  Does anyone have any suggestions on where I should begin looking?

Thank you.

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