This is a migrated thread and some comments may be shown as answers.

[Solved] Getting error in your sample example

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Azeheruddin khan
Top achievements
Rank 1
Azeheruddin khan asked on 23 Jul 2010, 12:25 PM
Dear all,

I am following your demo to learn mvc. Now i am working on server editing grid.I added same file as u mentioned in demo,but that code is not working my side....

 public void OnResultExecuting(ResultExecutingContext filterContext)
        {
            ViewDataDictionary viewData = filterContext.Controller.ViewData;

            var codeFiles = viewData.Get<Dictionary<string, string>>("codeFiles");----------- Error  giving a null.

            codeFiles[caption] = filename;
        }


best rgds
Azeheruddin khan

1 Answer, 1 is accepted

Sort by
0
Rafael
Top achievements
Rank 1
answered on 12 Aug 2010, 12:08 PM
I faced with the same problem
Please help
Tags
General Discussions
Asked by
Azeheruddin khan
Top achievements
Rank 1
Answers by
Rafael
Top achievements
Rank 1
Share this question
or