Hi,
I want to open the NestedViewTemplate of my radgrid as a modal window instead of it opening below that row. Is this possible or any other way I can achieve this functionality?
Also, I want to make the entire row clickable to expand the row and show the NestedViewTemplate.
Any help or suggestions would be appreciated.
Thank you,
Jay Mehta.
I want to open the NestedViewTemplate of my radgrid as a modal window instead of it opening below that row. Is this possible or any other way I can achieve this functionality?
Also, I want to make the entire row clickable to expand the row and show the NestedViewTemplate.
Any help or suggestions would be appreciated.
Thank you,
Jay Mehta.
<
telerik:radgrid
Width
=
"580px"
ShowHeader
=
"false"
ShowFooter
=
"false"
ID
=
"rgModalWindow"
runat
=
"server"
MasterTableView-NoMasterRecordsText
=
"No Projects Registered"
MasterTableView-NoDetailRecordsText
=
"No Projects Registered"
CssClass
=
"RadGrid_Default"
HierarchySettings-ExpandTooltip
=
"Edit"
HierarchySettings-CollapseTooltip
=
"Edit"
>
<
MasterTableView
RetrieveAllDataFields
=
"false"
AutoGenerateColumns
=
"false"
CssClass
=
"RadGrid_Default"
>
<
Columns
>
<
telerik:GridExpandColumn
UniqueName
=
"Expand"
>
<
ItemStyle
cssclass
=
"grndt"
BorderStyle
=
"none"
/>
</
telerik:GridExpandColumn
>
<
telerik:GridTemplateColumn
ItemStyle-Width
=
"520px"
UniqueName
=
"Name"
>
<
ItemTemplate
>
<
div
class
=
"cdpn"
style
=
"border: 0px none;width:520px;"
>
<
div
class
=
"gdesc"
style
=
"width:520px;"
><
asp:Literal
ID
=
"litParameter"
runat
=
"server"
></
asp:Literal
></
div
>
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridExpandColumn
UniqueName
=
"Expand1"
>
<
ItemStyle
cssclass
=
"expand"
BorderStyle
=
"none"
/>
</
telerik:GridExpandColumn
>
</
Columns
>
<
NestedViewTemplate
>
<
table
>
<
tbody
>
<
tr
>
<
td
>
<
asp:Panel
ID
=
"NestedViewPanel"
CssClass
=
"rgExpandCol"
Width
=
"500px"
runat
=
"server"
>
<
asp:Literal
ID
=
"litScreenID"
Visible
=
"false"
runat
=
"server"
></
asp:Literal
>
<
asp:Literal
ID
=
"litCategoryID"
Visible
=
"false"
runat
=
"server"
></
asp:Literal
>
<
h2
><
asp:Label
ID
=
"lblInstructions1"
Visible
=
"false"
runat
=
"server"
Text
=
"Label"
></
asp:Label
></
h2
>
<
br
/>
<
div
class
=
"question-label"
>
<
asp:Literal
ID
=
"lit"
runat
=
"server"
></
asp:Literal
>
</
div
>
<
div
class
=
"answer"
>
<
asp:RadioButtonList
CssClass
=
"radiooption1"
ID
=
"rbl"
runat
=
"server"
>
</
asp:RadioButtonList
>
</
div
>
<
br
/>
<
asp:Button
ID
=
"btnUpdate"
CssClass
=
"button"
runat
=
"server"
Text
=
"Update"
/>
</
asp:Panel
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
NestedViewTemplate
>
</
MasterTableView
>
</
telerik:radgrid
>