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

[Solved] Filter grid bug on popup edit mode!

4 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jekin
Top achievements
Rank 1
Jekin asked on 13 Dec 2011, 07:12 AM
Hi Telerik support team,

I have upgraded Telerik MVC extenstion used in my project from 2011.2.712.340 to 2011.3.1115.340 sucessfully.
But there is a new issue comes out with the latest version.

We are using the grid as following. When you filtered the grid and then you try to add a new entry (or edit an existing one), there will "
A Runtime error has occured. Error: Expected ';' " error message displayed! The error does not exist in preview version.

Could you give me some suggestioin to fix this??? Thanks very much in advance!!
You can reprodue this by the attached demo project.
  1. launch the demo project
  2. Click filter icon of the 'Name' column, and input 'Name1' in the first textbox to complete one 'Is equal to' criteria. so we got the only one entry with name='Name1'
  3. Now click 'Add new record' button (or the 'edit' button)
  4. You'll see the error occured. (make sure you have enabled script debugging on your IE browser)

@(Html.Telerik().Grid(Model).Name("Grid")                  
        //.DataKeys(keys => keys.Add(p => p.Id))
        .DataKeys(keys => keys.Add(p => p.Id).RouteKey("Id"))
        .ToolBar(commands => commands.Insert())
        .Editable(edit => edit.Mode(GridEditMode.PopUp))
        .DataBinding(binding => binding.Server()
                .Select("Index", "Home")
                .Insert("InsertEditing", "Home")
                .Update("SaveEditing", "Home")
                .Delete("DeleteEditing", "Home"))
            .Columns(columns =>
            {
                columns.Bound(p => p.Name);
                columns.Bound(p => p.Surname);
                columns.Command(commands =>
                {
                    commands.Edit();
                    commands.Delete();
                }).Title("Commands");
            })
            .Pageable()
            .Scrollable()
            .Sortable()
            .Filterable()
              
)

4 Answers, 1 is accepted

Sort by
0
Jekin
Top achievements
Rank 1
answered on 13 Dec 2011, 11:35 AM
Is there anyone can help me?? This is very urgent. Very appreciated of anyone who would give any workaround!!!
0
Accepted
Rosen
Telerik team
answered on 13 Dec 2011, 12:16 PM
Hello Jekin,

This is a known issue which has been already addressed. I have attached an internal build which should address the issue in question.

Kind regards,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Jekin
Top achievements
Rank 1
answered on 15 Dec 2011, 04:05 AM
Rosen,

Thank you very very much for your so quick reply!!! And I switched to use your hotfix, it works fine now!

Could you let me know where to look up all the known issues to a particular version (e.g. Q3) which have been addressed by you guys? Thus, I'm able to know it is a known issue or something wrong with my code ahead of time.
Appreciated of you indeed!
0
Rosen
Telerik team
answered on 15 Dec 2011, 10:23 AM
Hi Jekin,

Usually such issues are mentioned in the release notes of the internal builds available for download from our commercial license holders accounts. However, note that there is no strict schedule when those builds are published or updated. 

Greetings,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Jekin
Top achievements
Rank 1
Answers by
Jekin
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or