View Complete Post
I am trying to find a solution to manage permissions on a document, while uploading it into a document library. This event has to be fired if a custom field is populated (it's a check box field).
How to write an event for this, i tried writing ItemAdded event, but this is getting fired as soon as a document is uploaded, before coming to the page, where we populate all the fields and hit check in.
can i capture Check-in event.
I have a list that contains a number field that I am using to capture a numeric value, however I do not want the values displayed with commas (I am using the number column type to keep the user from entering text) I am displaying the number field
in a dataview on which I have enabled the Insert/Edit options. When the user is inserting a new record the field does not display commas. When the dataview is in display mode I am able to change the formatting of the value to remove the commas.
Unfortunately, I can not figure out how to remove the commas from the text box when the user is editing an existing entry.
MOSS 2007, SPD 2007
I am working with a custom edit form in SharePoint designer and I notice that when the form is displayed it shows the form field title
in the column on the left and also in a tab directly above each field in the column on the right. My question is how do I remove those tabs? IOW I just want to show the form field title on the left and the form field on the right; I don't want those
grey tabs above the form field.
I am showing the below values in pie chart
but i want to hide the r3 value in Pie Chart axis
I have created a custom list in sharepoint 2007.
In dispform.aspx I get to see the "approval status", which I want to hide. I can not find it if I open the SharePoint designer, or in the site columns.
How can this field be hidden?
New users can register on my site by completing a basic form that has the create user
wizard control with some additional information i am collecting using a CheckBox List.
They can then log in to the site and and view "MypProfilePage.aspx" where I
display the information with the CheckBoxList boxes already ticked based
their selections which they can update.
My problem is I have two levels of User and each one has a different registration form.
Registration Form A
Has 20 Items in the CheckBox List
Registration Form B
Has 10 items in the CheckBox List
On the Profile Page, I just want to show the CheckBox which is relevant to the Registration form A or B and with selections by the registered user.
So therefore the User who registered on B will not be able to see the selections checkbox list for A.
I hope this makes sense and appreciate any solutiosn in c sharp ideally.
var DateOfwin=document.getElementById(getTagFromIdentifier('input','DateTimeFieldDate','Date of Win').id);
(above code only hide the calander field i want to hide the entire row)
Hi,I have grid view control that includes a dropdown control in a template field.I wish to execute some code when the value is changed in the dropdown list. Can't figure out how to capture this event though?Any suggestions?
How to take
value of bound field of grid in a variable or in a textbox.
I m using
this code in .aspx page for grid.
<RowStyle CssClass="odd" />
DataField="DOC_TYPE_PK" Visible="true" >
<asp:TemplateField HeaderText="DOC TYPE ID" Visible="true"> &nbs
how can specified nvarchar data type without N''?
I have a vb.net Sub that is successfully adding 'records' to my XML file:
Private Sub btnSubmit_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnSubmit.Click 'for adding an XML 'record' Using ds As New DataSet() ds.ReadXml(Server.MapPath("History1.xml")) Dim dr As DataRow = ds.Tables(0).NewRow() dr("subject") = txtNewEvent.Text dr("year") = DateTime.Now.ToString("MM/dd/yy") ds.Tables(0).Rows.Add(dr) ds.WriteXml(Server.MapPath("history1.xml")) bind() txtNewEvent.Text = "" E
Am reading an XML from web service and storing in a dataset.
then in write to a DataTable as follows
DataTable dtResult1 = dsSearch.Tables["RESULTSET"];
DataTable dtHIT = dsSearch.Tables["HIT"];
DataTable dtField = dsSearch.Tables["FIELD"];
The issue is in the DataTable dtField i can only see 3 columns FieldID,Name,HIT_ID
The corresponding values in the dataTable looks like this for the corresponding fileds
I am unable to get the Field Name values 1,8799f4646b6ed9acde142581a84f75a6 ,234B5F5F-F247-4EB6-9E39-A7B64C7FE1BD,Yes...etc
What would be the cause for this...Any Help
Below is the structure of the XML-
- <RESULTSET FIRSTHIT="1" LASTHIT="10" HITS="10" TOTALHITS="46" MAXRANK="3159" TIME="0.0040">
- <HIT NO="1" RANK="2955" SITEID="0" MOREHITS="0" FCOCOUNT="0">
<FIELD NAME="internalid">8799f4646b6ed9acde142581a84f75a6 </FIELD>
<FIELD NAME="contentids" />