[CLOSED] problem with old Namespace Example

  1. #1

    [CLOSED] problem with old Namespace Example

    I'm going back to a sample you made for me that's in the svn tree.


    it doesn't compile anymore I think because of a name change you made. Could you update that code please. Also, now that I'm looking at it again, I'm having trouble seeing you it uses namespaces. It seems like Store1 is in the global namespace. Is that true? If I want to build the grid in the PeterKellnerSpace so I don't have to worry about name conflicts, how would I do that?

    That is, if I wanted My Grid to be PeterNamespace.MyGrid...


    error below:

    <H2>Compilation Error </H2>Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1061: 'Coolite.Ext.Web.AjaxEventArgs' does not contain a definition for 'ExtraParams' and no extension method 'ExtraParams' accepting a first argument of type 'Coolite.Ext.Web.AjaxEventArgs' could be found (are you missing a using directive or an assembly reference?)

    Source Error:

    <TABLE width="100%" bgColor=#ffffcc>
    <TD><CODE>Line 21: protected void GridPanel1_RowSelect(object sender, AjaxEventArgs e)
    Line 22: {
    Line 23: string record = e.ExtraParams["Record"];
    Line 24: }
    Line 25: </script></PRE></CODE></TD></TR></TBODY></TABLE>

  2. #2

    RE: [CLOSED] problem with old Namespace Example

    Hi Peter,

    I just ran that sample and everything appears to be working correctly.

    Can you do an SVN update and re-test.

    Geoffrey McGill
  3. #3

    RE: [CLOSED] problem with old Namespace Example

    Did a svn refresh. Almost all seems to be working now.

    My PeterSpace example as well as the ..GridPanel/DataSources work with the exception of ObjectDataSource.aspx and LinqDataSource. In both of these, if I comment out the line below (shown commented out), they work.

    <ext:GridView runat="server" EnableRowBody="true">

    <%--<GetRowClass Handler="p.body = '<p>' + record.data.Notes+'</p>'; return 'x-grid3-row-expanded';" />--%>

  4. #4

    RE: [CLOSED] problem with old Namespace Example

    Hi Peter,

    Examples in SandBox have not been updated long time. I recomending use examples from Examples Explorer. With regard to error, just replace 'p.body' by 'rowParams.body'

  5. #5

    RE: [CLOSED] problem with old Namespace Example

    thanks. I'll look in examples. BTW, I have no expectations about examples in the Sandbox. It's just very nice to have them there to look at code.

Similar Threads

  1. [CLOSED] WebPages AND Namespace
    By CPA1158139 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 26, 2012, 4:34 PM
  2. Ext.Net.Calender Namespace
    By Rupesh in forum 1.x Help
    Replies: 5
    Last Post: Feb 24, 2012, 12:56 PM
  3. [CLOSED] Namespace Does not register
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 22
    Last Post: Nov 07, 2011, 10:10 AM
  4. [CLOSED] [1.0] New NameSpace property
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 01, 2010, 8:40 PM
  5. [CLOSED] [MVC] namespace issue I think
    By pkellner in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Sep 30, 2008, 11:47 AM

Posting Permissions