key does not exist in dictionary error for pagination

Tips submitted by ASP.NET Maker users
Post Reply
cheemingyong
User
Posts: 37

key does not exist in dictionary error for pagination

Post by cheemingyong »

hi if anyone has tried pagination for a table and forgot to set the page name,
there might be a weird error after the code is generated.

example normally the page names are page1,page2,page3 when you create
a new page number in the field tab for a table.

if you actually forget to set a caption for the newly created page number,
you will get a key does not exist in dictionary error after you try to
access the table with the new page name.

a trace in visual studio will show an unassigned string.


Post Reply