Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

How to pre fill fields when opening NewForm in Sharepoint 2010 custom list

$
0
0

Hello, 

I followed this tutorial [http://blog.karstein-consulting.com/2010/12/29/walkthrough-create-custom-sharepoint-2010-list-form-for-deployment-in-a-visual-studio-2010-project/] to customize the new form of a custom list.

Now, I have a new2.aspx file which is load when I do "Add new item" in my custom list.

How can I do in Visual Studio 2010 to assign a value for the fields defined in the custom list when I open the new form? Do you think it's possible to use the Page_Load event of my new2.aspx file ?

Alexis.



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>