Professional Web Applications Themes

Populate Datagrid from Client side - ASP.NET Data Grid Control

Hi All, I have a parent page. It will pop up a modal dialog (by calling show modal dialog) window. Dialog window will return a long string which will be pd at the client side(say as first and last names). Now I need to populate the datagrid with these string data. Is it possible and if it is, how it can be done??? Thanks in advance Vijay Kerji...

  1. #1

    Default Populate Datagrid from Client side

    Hi All,

    I have a parent page. It will pop up a modal dialog (by calling show
    modal dialog) window. Dialog window will return a long string which
    will be pd at the client side(say as first and last names). Now I
    need to populate the datagrid with these string data.
    Is it possible and if it is, how it can be done???

    Thanks in advance

    Vijay Kerji
    Vijay Kerji Guest

  2. #2

    Default Re: Populate Datagrid from Client side

    Vijay,

    To populate on client side is not a problem. DataGrid renders to a <table>.
    You just need to navigate through table rows and cells in javascript, find
    the cells you need to modify (or insert a row) and set the cell's innerText
    property to the pd values.

    A bigger question is if you need to communicate the changes to the server.

    Eliyahu

    "Vijay Kerji" <vijay_kerji> wrote in message
    news:303681ba.0411230234.57665215posting.google.c om...
    > Hi All,
    >
    > I have a parent page. It will pop up a modal dialog (by calling show
    > modal dialog) window. Dialog window will return a long string which
    > will be pd at the client side(say as first and last names). Now I
    > need to populate the datagrid with these string data.
    > Is it possible and if it is, how it can be done???
    >
    > Thanks in advance
    >
    > Vijay Kerji

    Eliyahu Goldin Guest

Similar Threads

  1. How do I refresh a datagrid client side?
    By msnews in forum ASP.NET Data Grid Control
    Replies: 2
    Last Post: August 12th, 04:45 PM
  2. Client Side validation on datagrid
    By kusum@emw in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: May 30th, 01:58 PM
  3. datagrid and client side scripts to add row
    By John Smith in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: September 30th, 06:58 AM
  4. Client-side interaction with datagrid
    By Igor Senchenko in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: February 11th, 09:43 PM
  5. Client side validation of a DataGrid
    By Hrvoje Vrbanc in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: August 11th, 12:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139