692 reputation
1942
bio website
location
age
visits member for 2 years, 1 month
seen Mar 22 at 3:17

Mar
29
comment Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part
@Brian I did try following just that in my announcements web part but it would throw me an error. I have appended the details and code to my original post. Thanks
Mar
29
awarded  Teacher
Mar
28
comment Modify an existing item based on ID
Thanks again Mike.
Mar
28
comment Modify an existing item based on ID
Thanks for the code snippet. It was exactly what I wanted to do.
Mar
28
accepted Modify an existing item based on ID
Mar
28
comment Modify an existing item based on ID
@MikeRedden I apologize if the question was not very clear. But what spdevsolutions has posted below is exactly what I was looking for.Thanks
Mar
28
revised Modify an existing item based on ID
deleted 1 characters in body
Mar
28
comment Modify an existing item based on ID
Assuming there are 10 items in the list with column x and y, I would like to add "SampleText" under field y if field x is "test" for that particular item.
Mar
27
accepted Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part
Mar
27
answered Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part
Mar
27
comment Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part
Thanks for the post on how to include recurring events. However for now I have created a web part without it. I have posted the final code.
Mar
27
answered The <today/> tag not working in my CAML Query?
Mar
27
accepted “LinkTitle” column from event list dose not render when added to a repeater control?
Mar
27
comment “LinkTitle” column from event list dose not render when added to a repeater control?
Finally, I figured my way out. Here is what I came up with and it works just fine: void eventRepeater_ItemDataBound(Object Sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { ((HyperLink)e.Item.FindControl("Title")).NavigateUrl = SPContext.Current.Site.RootWeb.Url + "/Lists/Calendar/DispForm.aspx?ID=" + ((HiddenField)e.Item.FindControl("ItemID")).Value; }
Mar
27
asked Modify an existing item based on ID
Mar
27
accepted An example of databinding the repeater control?
Mar
26
comment “LinkTitle” column from event list dose not render when added to a repeater control?
Brian I apologize for the redundant Questions. Its just that I have been caught in this loop of trying different methods in getting it fixed.As of now I found this which gives the URL to edit (foreach (SPListItem item in oSPListItemCollection){ string itemURL =oSPWeb.Url + "/" + oSPList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url + "?ID=" + item.ID;) but now I'm stuck with trying to bind it to the repeater control. All this while I was just specifying Text ='<%# ...%>' directly on the ascx page.
Mar
26
asked “LinkTitle” column from event list dose not render when added to a repeater control?
Mar
26
accepted How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.
Mar
23
comment How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.
Brian Thanks for the links. They are nice and straightforward. I know in my previous question we had discussed about links, but I was wondering if you might know of any good links I could actually understand each and every line/property. I have only partially understood the code relating to the links as the code snippet was posted by a user from this forum. It would be really helpful if you could point me to a link or throw me one liner explanation on the url / link attribute/properties and how to use them. Thanks again