| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 8 months |
| seen | Jan 25 at 18:41 | |
| stats | profile views | 3 |
|
Jun 11 |
awarded | Popular Question |
|
Dec 2 |
comment |
set fixed witdh on WebPartZone in custom page layout? I think your right, feels that i have tried the most. Big thanks for your response Arsalan! :) |
|
Dec 2 |
comment |
set fixed witdh on WebPartZone in custom page layout? Thanks for the good explanation! but thats where my problem is, that these zones will not contain just one webpart from the begining. the person that are going to use this site, should have the possibilty to choose any webpart that they like, both custom made and thoose that that comes out of the box. My goal was that any webpart that would be added to that area, should be sized according to the size of the zone. But after you explanation, i assume that it isnt possible..? |
|
Dec 2 |
asked | set fixed witdh on WebPartZone in custom page layout? |
|
Oct 12 |
comment |
add value to text field in list with ItemAdded event receiver now i know what the problem is. After i added the first item and refresh the browser, then the number is there. i dont need to add the second item. But why doesnt the code default refresh the browser when i add the first item, how can i do it in code, so that the browser refresh? |
|
Oct 12 |
comment |
add value to text field in list with ItemAdded event receiver Yes exactly when i add the second item both gets updated! |
|
Oct 11 |
comment |
add value to text field in list with ItemAdded event receiver Hi Diptarag! Iam having small problems with my ItemAdded method event receiver. Here is the Code: SPListItem item = properties.ListItem;
item["casenumber"] = "support-case-"+item["ID"];
item.Update();
When i Add my first item to the list. The value is not set to the field. The first item should get the value
support-case-1. But when i add my second item to the list, then i can see the first items value. do you have any clue why it does like that? |
|
Oct 11 |
awarded | Editor |
|
Oct 11 |
comment |
lookup between two lists programmatically I have tried the method now. Read my updated question, where i have posted my code. |
|
Oct 11 |
revised |
lookup between two lists programmatically added 1568 characters in body |
|
Oct 11 |
comment |
lookup between two lists programmatically yes now i have seen many articles about that, so i will create my lookup thorugh code. thanks for the links to the articles, so my "dependlist" should be the issues list, where the lookup column will be added? And which one of the articles shoud i follow? Thanks for all your help Per! |
|
Oct 11 |
comment |
lookup between two lists programmatically i tried to set the property in the lookup column to List="Lists/cases" thats the url of my cases list. But it doesnt work?? |
|
Oct 11 |
comment |
lookup between two lists programmatically i have already generated the fields succesfully. so thats solved. i have just crated the formula succesfully for the calculated field, and it works fine it gets the values. But now idont know how to "connect" the lookup field in the issues list to the cases list? i dont know which xml properties are required to this connection. i should mention that my lists are not list definitions that are created through xml, they are created through csharp code. The properties that i have so far in my lookup column is: ID, DisplayName, Type, Group, Name. which more are required to do the "connection"? |
|
Oct 11 |
awarded | Commentator |
|
Oct 11 |
comment |
lookup between two lists programmatically thanks that is a really good point from you! but the reason i want to this in code, is that i work with a team site that is deployed using a feature, and all of the sites content is packaged into the feature. This was the requirment from my project leader. Do as much minimal manually sharepoint configuration as possible. |
|
Oct 11 |
comment |
lookup between two lists programmatically all my fields are defined in XML from visual studio, shouldnt it be possible to create the calculated field and the formula there and also create the lookup field there? i have also created my custom views for the lists in visual studio, then i could define which columns i want to show in the views? |
|
Oct 11 |
comment |
lookup between two lists programmatically Hey Per! Thanks for your suggestion it works fine doing this manually in sharepoint. But i dont understand, why cant i do this with code? i can se you mentioned "Regarding limiting selection to only non-closed item" but i dont really understand. isnt it possible to this with code?? Thanks so much to for your help! iam a beginner sharepoint developer, so many things are new to me. |
|
Oct 10 |
comment |
lookup between two lists programmatically Yes iam running SharePoint 2010. thats nice to hear, that only one query is neded. But after i have retrieved the information, how do i handle this when people will add items to both of the list. Should it be in some listEvent or? Thanks for your reply! |
|
Oct 10 |
awarded | Student |
|
Oct 10 |
comment |
lookup between two lists programmatically i know about how to get list, and i have also read about that you can use CAML querys for a problem like that i described. So i should write a CAML query against the cases list and then retrieve all case numbers and filter thoose against thoose that have the status of closed? It would be nice with some examples querys, because i find it hard to query against many columns and many lists. Thansk for your reply! |