I had created a web part in Visual Studio 2010 for Sharepoint 2010. I added all the fields, implemented cascading dropdowns, custom panel and bind the data using Sharepoint SPLists
var collection = mysite.Lists; SPListItemCollection valList = mysite.Lists["MyValidationList"].Items; ddlCompanyName.DataSource = valList.GetDataTable(); ddlCompanyName.DataTextField = "Title"; ddlCompanyName.DataBind();
The problem is how to handle the submit buttons.
Like after i click the submit button i want to redirect to the lists page.
Similarly how can i create the edit form like how do i know which record is being modified
Can i use querystring..
Any help is appreciated.
Please note i am not using any third party library