ASP.NET MVC Spanish forum RRS feed

  • 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:

       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;
          var ClientName;
          ClientName = $('.trSelected td:eq(2)').text();
          var url = '/Client/Edit/' + id;
          $.get(url, function (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

    Wednesday, April 10, 2013 6:51 PM


  • 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:


    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!

    Thursday, April 11, 2013 11:41 PM

All replies