Open Prasadambulkar3 opened 8 years ago
Create new dataform. name it "Test" and call /Home/Dynamic/Test it will work.
I have tested with /Home/Dynamic/Test then i am getting "Object reference not set to an instance of an object." in this line of code "if (!string.IsNullOrEmpty(dataForm.SubmitUrl))"
It throws : Sequence contains no elements when try http://localhost:[myurl]/Home/Dynamic/BlogPost while visiting this url.
public void Render(ViewContext viewContext, TextWriter writer) { DataForm dataForm = dbContext.DataForms.Include("Fields").First(f => f.Name == _viewName);
Am I missing something?