Answered by:
ASP.NET MVC Spanish forum

Question
-
Hi everybody,
When I was moving threads to Spanish SQL forum I noticed that there is ASP.NET MVC forum in Spanish forums. I am wondering why there is no similar English forum?
I've tried asking questions in ASP.NET forums that several years ago I used with success and answered some questions there too. But practically none of my latest questions received a good answer. I am struggling with trying to incorporate nice add-on flexigrid into MVC application. My latest problem on which I spent few days already with no resolution is to make double click on the row to perform the same action as Edit. Before I upgraded to the latest version of jQuery and flexigrid, I had the following working:
$("#flexClients").flexigrid({ url: '/Client/Client/', dataType: 'json', colModel: [ { display: 'Client Id', name: 'Id', width: 100, sortable: true, align: 'center', hide: true }, { display: 'Client #', name: 'Number', width: 100, sortable: true, align: 'center' }, { display: 'Name', name: 'Name', width: 350, sortable: true, align: 'center' }, { display: 'Contact 1', name: 'Contact1', width: 350, sortable: true, align: 'center' }, ], buttons: [ { name: 'Add', bclass: 'add', bimage: '../Content/Themes/FlexiGrid/Images/add.png', tooltip: 'Add new client', onpress: add }, { name: 'Edit', bclass: 'edit', bimage: '../Content/Themes/FlexiGrid/Images/edit.png', tooltip: 'Edit selected client', onpress: edit }, { name: 'Delete', bclass: 'delete', bimage: '../Content/Themes/FlexiGrid/Images/delete.png', tooltip: 'Delete selected client', onpress: del }, { separator: true } ], searchitems: [ { display: 'Client Name', name: 'Name' }, { display: 'Contact 1', name: 'Contact1' } ], sortname: "Name", sortorder: "asc", usepager: true, title: 'Clients', useRp: true, rp: 15, rpOptions: [5, 10, 15, 20, 25, 40], showTableToggleBtn: true, width: 900, onSubmit: addFormData, //onDoubleClick: edit('Edit', this), onSuccess: bindDblClick, addTitleToCell: true, hideOnSubmit: false, height: 'auto', singleSelect: true }); //This function adds parameters to the post of flexigrid. You can add a verification as well by return to false if you don't want flexigrid to submit function addFormData() { //passing a form object to serializeArray will get the valid data from all the objects, but, if the you pass a non-form object, you have to specify the input elements that the data will come from var dt = $("#add-edit-form").serializeArray(); dt = dt.concat($('#frmClientsSearch').serializeArray()); $("#flexClients").flexOptions({ params: dt }); return true; } function bindDblClick() { $('#flexClients tr').dblclick(function () { edit('Edit', $('#flexClients')); }); } function edit(com, grid) { $('.trSelected', grid).each(function () { var id = $(this).attr('id'); alert('Id is: ' + id); id = id.substring(id.lastIndexOf('row') + 3); currentId = id; $('#fntype').val('Edit'); var ClientName; ClientName = $('.trSelected td:eq(2)').text(); var url = '/Client/Edit/' + id; $.get(url, function (html) { $($dlg).html(html); }); RunModalDialog("Edit Client: " + ClientName); }); }
Now the function inside the edit
$('.trSelected', grid).each(function () {
is not firing.
I am not sure where to ask for help and how exactly debug this problem.
Thanks in advance.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
Answers
-
Okay. I talked with the ASP.NET team.
Currently about 15% of questions in the MVC forum slide by without replies. The idea is that if there were more Community Moderators marking answers, then the moderators would be answering more (because they're looking) and more people would answer in general because they were would earn points, ranks, and titles by getting their answers marked. So simply adding more moderators who mark answers will likely reduce the 15% unresponse rate down more and more. I've used a similar method to reduce unresponse rates down to zero, so I know it works.
My suggested solution is to make requests over on their site that are similar to the requests I'm making.... for them to add more moderators and to get the new/existing moderators to mark more answers.
You can make that request here:
http://forums.asp.net/188.aspx/1?Feedback+on+this+website
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!- Edited by Ed Price - MSFTMicrosoft employee Thursday, April 11, 2013 11:41 PM
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, April 11, 2013 11:42 PM
- Marked as answer by Richard MuellerMVP, Banned Saturday, April 20, 2013 4:31 PM
All replies
-
We've had this discussion before.
Here's the forum: http://forums.asp.net/1146.aspx
I'm sending a request to check out the problem.
You might not get the solution you're asking for (spinning up a new forum over here).
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
- Edited by Ed Price - MSFTMicrosoft employee Thursday, April 11, 2013 10:39 PM
-
Oh and the direct answer about why the Spanish version exists... got a link?
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it! -
Here is that forum I found
http://social.msdn.microsoft.com/Forums/es-es/aspnetmvces/threads
BTW, I found (with help by Paul Mrozowski in UT, he helped me with the original code) that the behavior seems to change now to this:
I have to click on the row first, then double click will work. Before the upgrade of jQuery and flexigrid (I suppose it's the latter what is responsible for behavior change) I can double click right away without initial click first.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog -
-
-
Here is that forum I found
http://social.msdn.microsoft.com/Forums/es-es/aspnetmvces/threads
BTW, I found (with help by Paul Mrozowski in UT, he helped me with the original code) that the behavior seems to change now to this:
I have to click on the row first, then double click will work. Before the upgrade of jQuery and flexigrid (I suppose it's the latter what is responsible for behavior change) I can double click right away without initial click first.
For every expert, there is an equal and opposite expert. - Becker's Law
My blogSo did Paul help you solve your original issue?
I gave Jundan the URL. They're following up. Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it! -
See my answer to Ed. BTW, right now I'm seeing some stuff below the forums. Looks like something got broken.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
I saw that too. But just on the Spanish forum?Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it! -
He helped me with the original code. After I upgraded to latest jquery and flexigrid, that code stopped working. Today he was helping me again and with his help I figured what is happening - the initial click is now required.
I posted a new issue on flexigrid support forum, but I don't hold my breath for a quick fix.
https://github.com/paulopmx/Flexigrid/issues?state=open
See issue #90 (I posted a few more issues as well and also on that google group forum):
https://groups.google.com/forum/?fromgroups=#!forum/flexigrid
For every expert, there is an equal and opposite expert. - Becker's Law
My blog -
Okay. I talked with the ASP.NET team.
Currently about 15% of questions in the MVC forum slide by without replies. The idea is that if there were more Community Moderators marking answers, then the moderators would be answering more (because they're looking) and more people would answer in general because they were would earn points, ranks, and titles by getting their answers marked. So simply adding more moderators who mark answers will likely reduce the 15% unresponse rate down more and more. I've used a similar method to reduce unresponse rates down to zero, so I know it works.
My suggested solution is to make requests over on their site that are similar to the requests I'm making.... for them to add more moderators and to get the new/existing moderators to mark more answers.
You can make that request here:
http://forums.asp.net/188.aspx/1?Feedback+on+this+website
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!- Edited by Ed Price - MSFTMicrosoft employee Thursday, April 11, 2013 11:41 PM
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, April 11, 2013 11:42 PM
- Marked as answer by Richard MuellerMVP, Banned Saturday, April 20, 2013 4:31 PM
-
I posted both - a new question and a complain.
New question
http://forums.asp.net/t/1897470.aspx/1?Client+validations+are+no+longer+working
My experience with answers
http://forums.asp.net/t/1897471.aspx/1?Poor+experience+in+regards+to+my+questions
For every expert, there is an equal and opposite expert. - Becker's Law
My blog