Hi everyone
I have a MasterPage with an Updatepanel with some info on. Then on the content page I have a radgrid with a nestedviewtemplate and on this template is a button that should update the Panel in the masterpage.
The code runs without error, but its not updating, When I put the NestedViewTemplate in an updatepanel as well, it breaks everything else:)
Is there a way around this? Here is my grid:
and here is the code behind where I want to update the control
I can add the uxRequestChange to the AsyncTrigger because it doesn't exist in the context when the page is loaded and because its in a grid, the ID will auto generate.
Any ideas?
I have a MasterPage with an Updatepanel with some info on. Then on the content page I have a radgrid with a nestedviewtemplate and on this template is a button that should update the Panel in the masterpage.
The code runs without error, but its not updating, When I put the NestedViewTemplate in an updatepanel as well, it breaks everything else:)
Is there a way around this? Here is my grid:
<
telerik:RadGrid
ID
=
"uxTitleGrid"
runat
=
"server"
...>
<
MasterTableView
>
<
NestedViewTemplate
>
<
h4
>Change Title Details</
h4
>
<
fieldset
>
.
.
.
<
div
style
=
"float:right;"
>
<
telerik:RadButton
ID
=
"uxRequestChange"
runat
=
"server"
OnClick
=
"uxRequestChange_OnClick"
Text
=
"Request Change"
/>
</
div
>
</
fieldset
>
</
NestedViewTemplate
>
<
Columns
>
.
.
.
</
Columns
>
<
NoRecordsTemplate
>
No Records
</
NoRecordsTemplate
>
</
MasterTableView
>
</
telerik:RadGrid
>
and here is the code behind where I want to update the control
UpdatePanel uxHeaderUpdatePanel = (UpdatePanel)(Master.FindControl(
"uxHeaderUpdatePanel"
));
uxHeaderUpdatePanel.Update();
I can add the uxRequestChange to the AsyncTrigger because it doesn't exist in the context when the page is loaded and because its in a grid, the ID will auto generate.
Any ideas?