Hi
Looking for some direction here:
I have a grid that I bind with data, and I have an imageButton control that I want to use to open a pop up with more data, but I don't want to do another database call, so the data in the pop up must be bound when the grid binds.
Any ideas / examples on how to achieve this.
Andy
<telerik:GridTemplateColumn UniqueName="gtcEdit" HeaderText="Edit" HeaderStyle-Width="50px" >
<ItemTemplate><telerik:RadButton ID="rbtEdit" runat="server" CommandArgument="edit" ButtonType="StandardButton" AutoPostBack="false" Width="30px" Text="Edit" OnClientClicked="EditRecord" />
</ItemTemplate>
</telerik:GridTemplateColumn>
function EditRecord(sender, eventArgs) {
var rowIndex = sender.get_element().parentNode.parentNode.rowIndex - 1;
var radGrid = $find('<%=rgvMainGrid.ClientID %>');
var masterTable = radGrid.get_masterTableView();
var selectedRow = masterTable.get_dataItems()[rowIndex];
masterTable.selectItem([rowIndex]);
masterTable.get_dataItems()[rowIndex]._element.style.backgroundColor = "Yellow";
alert('edit ' + rowIndex);
}
How can I adjust for this when the grid is grouped?
Thanks for your help.
Tracy

Please refer to the attached image of what i hope to achieve with using a radgrid,
Basically I want to show a list of values underneath the details of the record i'm looking at.
my code is as follows:
<telerik:RadGrid runat="server" DataSourceID="APPLICATIONS_DATASOURCE" ID="RADGRID1" OnDetailTableDataBind="MYMETHOD"> <MasterTableView AutoGenerateColumns="false" DataKeyNames="DATA_ID"> <DetailTables> <telerik:GridTableView Name="Contacts" DataKeyNames="CONTACT_ID" AutoGenerateColumns="true"> </telerik:GridTableView> </DetailTables> <Columns> <telerik:GridBoundColumn DataField="TITLE" HeaderText="Title"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DATA" HeaderText="Data"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DATE" HeaderText="Date"></telerik:GridBoundColumn> </Columns> <NestedViewTemplate> <div class="row"> <div class="span11"> <h3> <asp:Literal ID="Literal1" runat="server" Text='<%#eval("TITLE") %>'></asp:Literal> </h3> <h5> <asp:Literal ID="Literal2" runat="server" Text='<%#eval("OWNER") %>'></asp:Literal> </h5> </div> <div class="span11"> <p> <asp:Literal ID="Literal3" runat="server" Text='<%#eval("ALLDETAILS") %>'></asp:Literal></p> </div> <div class="span11"> </div> </div> </NestedViewTemplate> </MasterTableView> </telerik:RadGrid>As the DetailsTable has N number of elements, i have it using a generated datatable on bind to fill with data, and the nestedview can be split to a seperate datasource if need be, but currently is using the radgrid datasource (sqldatasource).
Is there a way to accomplish a nestedview AND a detailsTable on the same hierarchical level in a Grid that i might have missed ?


I have a RadTextBox field used as a password entry field. Furthermore, I'm using the built-in password strength indicator for this field as follows:
PasswordStrengthSettings ShowIndicator="true"
I need for the strength text to be culturally sensitive but I'm not seeing a Localization attribute to work with. How can this text be set?
Thanks in advance.
Hello,
I try to bind an HtmlChart with a Custom List<> of object, like so:
--------------------------- C#:
protected void Page_Load(object sender, EventArgs e)
{
RadHtmlChart_LineSeries_Avec_Objet.DataSource = oGetData();
RadHtmlChart_LineSeries_Avec_Objet.DataBind();
}
public class monObjet
{
int ID { get; set; }
decimal ValuePumpA { get; set; }
decimal ValuePumpB { get; set; }
decimal ValuePumpC { get; set; }
decimal ValuePumpD { get; set; }
public monObjet(int id, decimal VPumpA, decimal VPumpB, decimal VPumpC, decimal VPumpD)
{
ID = id;
ValuePumpA = VPumpA;
ValuePumpB = VPumpB;
ValuePumpC = VPumpC;
ValuePumpD = VPumpD;
}
}
public List<monObjet> oGetData()
{
List<monObjet> returnList = new List<monObjet>();
for (int i = 0; i < 12; i++)
{
returnList.Add(new monObjet(i, i+1, i+2, i+3, i+4));
}
return returnList;
}
}
--------------------------- ASPX:
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart_LineSeries_Avec_Objet" Width="1000px" Height="300px" ChartTitle-Text="HtmlChart sur List<objet>">
<PlotArea>
<Series>
<telerik:LineSeries Name="Pump A" DataFieldY="ValuePumpA" ColorField="Yellow" >
<LabelsAppearance Visible="false"/>
</telerik:LineSeries>
<telerik:LineSeries Name="Pump B" DataFieldY="ValuePumpB" ColorField="Green" >
<LabelsAppearance Visible="false"/>
</telerik:LineSeries>
<telerik:LineSeries Name="Pump C" DataFieldY="ValuePumpC" ColorField="Red" >
<LabelsAppearance Visible="false"/>
</telerik:LineSeries>
<telerik:LineSeries Name="Pump D" DataFieldY="ValuePumpD" ColorField="Black">
<LineAppearance LineStyle="Smooth" Width="3" />
<MarkersAppearance BackgroundColor="Red" MarkersType="Circle" Visible="true"/>
<LabelsAppearance Visible="false"></LabelsAppearance>
</telerik:LineSeries>
</Series>
<YAxis>
<LabelsAppearance DataFormatString="{0}"></LabelsAppearance>
</YAxis>
<XAxis>
<Items>
<telerik:AxisItem LabelText="January"></telerik:AxisItem>
<telerik:AxisItem LabelText="Februrary"></telerik:AxisItem>
<telerik:AxisItem LabelText="March"></telerik:AxisItem>
<telerik:AxisItem LabelText="April"></telerik:AxisItem>
<telerik:AxisItem LabelText="May"></telerik:AxisItem>
<telerik:AxisItem LabelText="June"></telerik:AxisItem>
<telerik:AxisItem LabelText="July"></telerik:AxisItem>
<telerik:AxisItem LabelText="August"></telerik:AxisItem>
<telerik:AxisItem LabelText="September"></telerik:AxisItem>
<telerik:AxisItem LabelText="October"></telerik:AxisItem>
<telerik:AxisItem LabelText="November"></telerik:AxisItem>
<telerik:AxisItem LabelText="December"></telerik:AxisItem>
</Items>
</XAxis>
</PlotArea>
<Legend>
<Appearance Visible="true"></Appearance>
</Legend>
</telerik:RadHtmlChart>
But that doesn't work.
Why ?
Thanks for your suggestions
Select a date does not change the month.
Because the selected month is being received to date.
Live Example is the same.
Locale it because?
This is South Korea.
I know it sounds strange, but seems Progress Area forces my process to repeat endlessly.
It happens after long run only and only in Internet Explorer.
Any recommendations?
Thank you