I need to disable the "Edit in browser" and "Edit in Microsoft Office Word" for a certain project.
It's inside the name hover menu.
Any suggestions and ideas will be great.
View Complete Post
Environment: SharePoint 2007
I need to disable/remove the "Edit in Browser" option from menu.
The menu appears under the document name.
Does anybody know how to do this?
I need to disable/remove the option "Open In Browser" from the Document name menu.
How do I do this?
I was trying to change some options in the OWS.js file. I can't find the necessary changes for this.
I can disable other options besides Edit in browser..
I have an application that does LDAP authentication. The authentication is done on the code behind page of my Login.aspx page. Once the user passes LDAP authentication, a cookie is set and I redirect:
I would like to setup membership in my application and keep track of some user information. But due to company security requirements, I cannot store user passwords on my application. That must stay on the LDAP server only.
Is there a way to store users but disable password storage on the aspnet_membership table?
I have a check box in a template field in a gridview.
Based on some condition, I want those check boxs to be enable and disable.
I am trying the below code but does working..
protected void GVstudents_RowDataBound(object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
string studentID = GVstudents.DataKeys.Value.ToString();
int stdID = Convert.ToInt32(studentID);
int schID = profile.getSchoolIDByStudentID(stdID);
int tchrID = profile.getTeacherIDByStudentID(stdID);
if (patti.chkIsTeacherPaid(stdID, schID, tchrID))
CheckBox cb = (CheckBox)e.Row.FindControl("chkTeacherPayment");
cb.Enabled = false;
cb.Checked = true;
I have an entity set of NotificationTemplates, and each one of these has a collection of zero-many SmsTemplate entities. When editing or viewing a NotificationTemplate, I have a link to View SMS Templates. That link takes me to a List view for the SmsTemplates entity set, filtered for the NotificationTemplate I was viewing.How can I prevent the user changing this filter to show SmsTemplates for another NotificationTemplate? That is, I want the filter, but it must be read only. The drop-down just mustn't drop down, it must just display the name of the NotificationTemplate that these SmsTemplates belong to. To view SmsTemplates for another NotificationTemplate, the user must click View SMS Templates from that other template.
This was originally asked by myself on SatckOverflow at: http://stackoverflow.com/questions/3514373/disable-filtering-on-a-dynamic-data-list-view
I have a HTML Table that I use to place the control in so they display nicely on my Web Form. I also use the Disable method to keep unwanted users from editing those controls based on their log in information, however I still want the information to be displayed for their review.
The information is displayed for example in the Text Boxes, however when they hit Enter on the form because the table is disabled for some reason the information is lost when I do my update to the SQL Server (the text box shows "")?
Why is it I can see the information on the screen, but the text box shows empty when hitting enter on the form?
I hope someone can be kind enough to help/advise me with this.
I have a web form with multiple checkboxes on it , with one of the checkboxes as the main (controlling) checkbox. By this I mean that when this main checkbox is checked then all the other checkboxes need to be disable and when its unchecked these other checkboxes need to be enable.
I hope all this makes sense to you.
//This runs the function when the form first loads
//This locks the fields the users should not modify
var theInputTFTitle = getTagFromIdentifierAndTitle("Input","TextField","Title");
theInputTFTitle.readOnly = true;
theInputTFTitle.style.color = 'gray';
//alert(" Value: " + theInputTFTitle.value);//for testing
var theInputDDLReplyStatus = getTagFromIdentifierAndTitle("select","DropDownChoice","Reply Status");
theInputDDLReplyStatus.disabled = true;
//alert(" Value: " + theInputDDLReplyStatus.value);//for testing
Does anyone know if there is a way to disable the Undo feature within VS2005? I searched through the options but nothing jumped out at me.
I've somehow managed to successfully get Membership working on a test site I'm playing with (learning!). I've reached a point where I can redirect users to another page if they do not have the required level of membership - using the allow feature in a web.config within a folder.
What I would like to do now is create a main menu of links (a back office menu visible after the use has logged in), and disable a link if they do not have access to view that page. Is this complex? I'd be grateful for any sample code to get me started.
everytime i debug the application i get the disassembly tab window i tried tools/option & unchecked show disaasembly if not is not avaliable & sourec file to exce;ty open the original file
but still i get after making the chnages i restarted my system but still i get it how do i disable teh disassembly tab
iam using masterpage and sitemap in my project, what i want to is that
if user login is did, based on the user previlage in need to show the sitemap menu page
if user i have the previlage to see the page then i should enable that page otherwise
i need disable that page
looking for the valuable suggestions
Thank you for advance.
I created a widows service for mail schedule with c#.net and sql server 2005 and it is working fine for past one year.
now sometimes i am getting the "System.Data.SqlClient.SqlException:
Login failed for user '<UserName>'. Reason: The account is
then i restarted the windows service manually and working.
what is the problem in my sql server connection and how to fix that issue?
I'm displaying .rdlc report file using Report viewer control on Webform. If I Fix height of viewer control and data is not same as to size of viewer control then it display one scrollbar on viewer control and second vertical scroll bar is coming on webpage.
I want to off viewer vertical scrollbar or in simple word's I don't want to display two scroll bar with my report. Please guide me or send me reference if any.