Datagrid problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ajay Bhalerao

    #1

    Datagrid problem

    I am moving various control on datagrid by catching
    currentcellchan ged event and leave event of corresponding
    control.However problem is i have to click first on a
    particular cell to move a specific control to the cell and
    then i have to click again to set cursor on the same
    control.
    Could anybody tell me to do this in single event?
    Thanks in advance.
    Ajay
    (ajayvbc@yahoo. co.in)
  • Dmitriy Lapshin [C# / .NET MVP]

    #2
    Re: Datagrid problem

    Hi,

    If you need to host controls in cells of the DataGrid, you seem to be on the
    wrong way. It would be much better to implement custom DataGridColumnS tyle
    for that purpose.

    --
    Dmitriy Lapshin [C# / .NET MVP]
    X-Unity Test Studio

    Bring the power of unit testing to VS .NET IDE

    "Ajay Bhalerao" <ajayvbc@yahoo. co.in> wrote in message
    news:09a001c3a8 27$b8d4f1a0$a10 1280a@phx.gbl.. .[color=blue]
    > I am moving various control on datagrid by catching
    > currentcellchan ged event and leave event of corresponding
    > control.However problem is i have to click first on a
    > particular cell to move a specific control to the cell and
    > then i have to click again to set cursor on the same
    > control.
    > Could anybody tell me to do this in single event?
    > Thanks in advance.
    > Ajay
    > (ajayvbc@yahoo. co.in)[/color]

    Comment

    • ajay bhalerao

      #3
      Re: Datagrid problem

      hi,
      could you tell me how to do implement custom implement custom
      DataGridColumnS tyle?
      thanks.
      Regards,
      Ajay



      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Dmitriy Lapshin [C# / .NET MVP]

        #4
        Re: Datagrid problem

        Search MSDN Library, it should have an example of doing that.

        --
        Dmitriy Lapshin [C# / .NET MVP]
        X-Unity Test Studio

        Bring the power of unit testing to VS .NET IDE

        "ajay bhalerao" <ajay1007@yahoo .co.in> wrote in message
        news:eVuShIIqDH A.2512@TK2MSFTN GP09.phx.gbl...[color=blue]
        > hi,
        > could you tell me how to do implement custom implement custom
        > DataGridColumnS tyle?
        > thanks.
        > Regards,
        > Ajay[/color]

        Comment

        Working...