locked
Question about StackOverflow RRS feed

  • Question

  • Hi everybody,

    When I google, I often find good questions and answers on StackOverflow and often I want to join the discussion and ask some extra questions related to the original question. However, I can not figure out how to ask a question there or add a comment. I only see a way to add the actual answer.

    Say, this is an interesting thread http://stackoverflow.com/questions/9323896/anyone-used-jquery-flexigrid-with-asp-net-mvc3 and I want to ask how can I implement the flexigrid from another main view. I spent several days trying to solve this problem on my own without a result. I also asked this question in ASP.NET forum or universalthread.com forum, but haven't gotten some real help.

    So, first question in regards to StackOverflow website and the second question about the flexigrid implementation from another view.

    Thanks a lot in advance.


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Friday, October 12, 2012 3:51 AM

Answers

All replies

  • Can you link to the ASP thread?

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)

    Friday, October 12, 2012 6:31 PM
  • Stack Overflow's FAQ is actually a forum about Stack Overflow:

    http://meta.stackoverflow.com/questions/tagged/faq

    It looks like you can ask Stack Overflow questions there (and include an FAQ).


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)

    Friday, October 12, 2012 6:37 PM
  • Ed,

    I just noticed the small 'Add comment' link at the bottom of the question. I haven't seen this link before - may be I was blind.

    I posted a couple of threads on ASP.NET forum and this is also my latest question on StackOverflow

    http://stackoverflow.com/questions/12864199/how-to-use-flexigrid-as-a-partial-view-in-asp-net-mvc-application

    For ASP.NET here are my threads

    http://forums.asp.net/t/1847317.aspx/1?MVC+Grid+not+third+party+

    http://forums.asp.net/t/1849611.aspx/1?Regular+view+partial+view

    http://forums.asp.net/t/1849582.aspx/1?FlexGrid+

    http://forums.asp.net/t/1848758.aspx/1?Implementing+FlexGrid+and+also+using+an+Ajax+form+is+it+possible+

    So, as you see I asked quite a number of questions, but didn't get too many answers.

    Yesterday I even started to look into another grid control, but having spent that much time and liking the grid's look, I really wish to complete what I started.

    I made another attempt right now, but still not working. Not sure if I need to post my latest index view here - the not working part now that I never get the typed into in the searchClientName parameter.

    Ok, here is my latest view - I decided to simplify for now and put everything inside that view:

    @model CardNumbers.Objects.Client
    
    @{
        ViewBag.Title = "Clients";
    }
    
    <h2>Clients</h2>
    
    <br />
       
        <fieldset>
            <legend>Search</legend>
            <label for="clientNo">Client No: </label>
            <input type="number" name="searchClientNo" class="numericOnly" /><br />
            <label for="clientName">Client Name: </label>
            <input type =  "text" size =25 data-autocomplete="@Url.Action("QuickSearch", "Client")"  name ="searchClientName" />
            <div> 
    
                  
              @*  <input type="button" value="Find / Refresh" id="ClientsSearch" data-url="@Url.Action("Client", "Client")" />*@
              <input type="button" value="Find / Refresh" id="ClientsSearch" onclick="location.href=@Url.Action("Client", "Client")" />  
                @*<input type="submit" value="Find / Refresh" />
           @*     @Ajax.ActionLink("Find / Refresh", "Client", new AjaxOptions {UpdateTargetId = "ClientResults",
               InsertionMode = InsertionMode.Replace, HttpMethod = "POST"}) *@
              @*}*@
                
            </div>
        </fieldset>
    <br />
              <div style="padding-left:50px; padding-top:10px; padding-bottom:50px;" id="ClientsResults">
                  <table id="flexClients" style="display:none"/>
    </div>
    <br />
    
    <div style="display:none">
    <form id="sform">
    <input type="hidden" id="fntype" name="fntype">
    <input type="hidden" id="Id" name="Id">
    <label for="Number">Client No: </label>
    <input type="number" id="Number" name="Number" class="numericOnly" />
    <label for="Name">Client Name: </label>
    <input type =  "text" size =25 id="Name" name ="Name" /><br />
    <label for="Contact11">Contact 1: </label>
    <input type =  "text" size =25 id="Contact1" name ="Contact1" /><br />
    <div class="float-right">
    <input type="button" value="Submit" onclick="addFormData();$('#flexClients').flexOptions({ url: '/Client/Client/'}).flexReload();clearAll();$('#sform').dialog('close');">
    <input type="button" value="Cancel" onclick="clearAll();$('#sform').dialog('close');" /></div>
    </form>
    </div>
    

    So, now when I press the Search button and go to my Client method, the searchClientName parameter is not passed :(


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Friday, October 12, 2012 7:03 PM
  • I don't see the 'Add Comment' again in that link http://stackoverflow.com/questions/3280366/html-actionlink-new-route-value-is-acting-strangely-i-dont-know-where-l

    I am now trying to figure out how to pass the entered values properly to the Controller's method. Do I have to use a form in order to be able to pass values? But if I introduce the form, then grid will start mis-function. :(


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Friday, October 12, 2012 7:22 PM
  • I assume you already tried asking a new question in Stack Overflow?

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)

    Friday, October 12, 2012 11:09 PM
  • Yes, as I posted a link in my reply to you. Unfortunately, it got 0 answers.

    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Sunday, October 14, 2012 12:32 AM
  • I've been able to answer my own question in StackOverflow forum although this is just part of what I want to achieve. 



    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Monday, October 15, 2012 7:50 PM
  • And the other issue seems to be that the ASP community isn't overly active at answering your questions.

    Do you think it's because...

    - The community isn't alive enough

    - Your question is too hard or uninteresting to them

    - Your question doesn't fit in the ASP forums

    - Another reason?

     

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)


    Monday, October 15, 2012 8:08 PM
  • I actually got pretty good response today on this one http://forums.asp.net/p/1851415/5180155.aspx/1?p=True&t=634859077797472080 although not yet to the point I understand as how to really invoke these more complex forms here.

    I think with flexigrid issue not too much response was because of

    1. This control is not that widely used and my questions were too newbies and at the same time a bit hard to understand as what I intended to do.

    2. I posted too much code that I was thinking was explaining my issue but usually when you see too much code it's hard to get to the core of the issue (I know it myself from T-SQL forum - when too much code is thrown I don't read all of it attentively and only pay attention to some issues).


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog


    • Edited by Naomi N Monday, October 15, 2012 8:15 PM
    Monday, October 15, 2012 8:13 PM
  • And then in Stack Overflow, for that category, about 2 or every three answers get responses. So it seems you asked in the right places, which is what this forum is for (finding the right places to ask questions). What this forum doesn't do is motivate those forum communities to answer the questions. Not that it isn't a worthy conversation, though.

    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)

    Monday, October 15, 2012 8:14 PM
  • Funny, but it seems to work just fine using this code:

    <div style="display: none">
       <form id="sform">
            <input type="hidden" id="fntype" name="fntype">
            <input type="hidden" id="Id" name="Id">
           @*<label for="Number">Client No: </label>
           <input type="number" id="Number" name="Number" class="numericOnly" />
           <label for="Name">Client Name: </label>
           <input type="text" size="25" id="Name" name="Name" /><br />
           <label for="Contact11">Contact 1: </label>
           <input type="text" size="25" id="Contact1" name="Contact1" /><br />*@
            @{Html.RenderPartial("_ClientForm", Model)   ;}
            <div class="float-right">
                <button type="Submit" id="btnSave">Submit</button>
                <button type=reset id="btnCancel">Cancel</button>
            </div>
        </form>
    </div>

    I was sure it's more complex than that! I now just need to figure out how to properly update all values with the code.


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Monday, October 15, 2012 8:38 PM
  • Here is another popular topic and many users added comments, but I still can not figure out how to add my comments to the first jQuery solution

    http://stackoverflow.com/questions/155188/trigger-a-button-click-with-javascript-on-the-enter-key-in-a-text-box

    For me this code doesn't work - the keyup event doesn't seem to fire at all and I can not figure out what is wrong here.


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Tuesday, October 16, 2012 8:46 PM
  • You can't add comments to a protected threadas a newbie. You got to get some reputations before joining the party. You can start answering questions, there is no short supply of questions on SO.


    Visual C++ MVP


    Wednesday, October 17, 2012 9:55 PM
  • I can not answer in too many forums :( If I come across something I know accidentally, I'll answer.

    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Wednesday, October 17, 2012 9:59 PM