views:

18

answers:

0

sometimes happens ...

When I edit some component on ASP.NET (ObjectDataSource)

Changing function - adding new parameter it's looking like OK on designer, but when I turn to Code Page it hasn't been added. when I reopen the page on IDE or compile there is no my new parameter. So designer fails. So I need to add parameter to code manually <asp:Parameter DefaultValue="0" Name="DateOrMonth" Type="Boolean"/> and then designer will see it and being able to change 0 to 1 for example.

Does someone know this trouble (bug) and have idea why it happens and how to fix it.