Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
UltraWebGrid
posted

Hi,

I am new to this forum, Please tell the solution to this issue?

I am using Ultrawebgrid , directly it have one datasource value. Can i change the datasource at runtime, ?

1. Ultrawebgrid have a lot of controls, i want get the value of the particular row..?For Example : one column have webnumeric control , i want to

get the value of the particular row value...

Each column have EditcontrolId, how can i assign the value to the controls?

 

 

 


With Regards,

Raji

Parents
No Data
Reply
  • 100
    posted

    Hi,

    1. Can i change the datasource at runtime, ?

    Yes, you can, But you have to take care of column names that are already assigned. (or) You can change the grid layout dynamically based on requirements.

     2. i want get the value of the particular row..?

    row.Cells.FromKey(ColumnName).Text

    row.Cells.FromKey(ColumnName).Value

    3. Each column have EditcontrolId, how can i assign the value to the controls?

    You assign the value to columns using following syntax. Editor controls also renders the same data.

    ColumnName.BaseColumnName = "DataSourceColumnName";

    In case If you are doing any kind of customization you can handle row initializa event.

    Hope this will help you. 

    Thanks,

    Kedar.

Children