This is a migrated thread and some comments may be shown as answers.

event before nested view expanded/rendered

1 Answer 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
EdyTeddy-1975
Top achievements
Rank 2
EdyTeddy-1975 asked on 17 Jul 2010, 08:29 PM
Hello

i need when user click on expand to show nested view call my code which fill textboxes and other control in nested  view. which event handle it?

Like:

textbox.text = "Now is" + DatTime.Now.ToString();
and others more complicated coding staff here...

which event i must use and how?

Thanx for everyone to bring me out of labyrint...

Eduard

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 22 Jul 2010, 07:26 AM
Hi ed mihaly,

You can wire the OnItemCommand event of the RadGrid and make a check if the command name is  ExpandCollapseCommandName. If so, you can perform the custom logic:
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
        {
            if (e.CommandName == RadGrid.ExpandCollapseCommandName)
            {
                //perform your custom logic
            }
        }

Please let us know if this helps.

Kind regards,
Tsvetina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
EdyTeddy-1975
Top achievements
Rank 2
Answers by
Tsvetina
Telerik team
Share this question
or