Hi telerik,
We recentlty start using telerik products.
I have one table TABLE_JAPVALUES :
DATE RDVAL PDVAL DPVAL CTVAL ATVAL
1-1-09 100 50 45 85 90
1-2-09 50 20 15 50 55
1-3-09 120 40 40 70 95
1-4-09 100 30 30 95 80
I want a report where I can select what columns I want to see in report with Avg. of that columns
So I want a ckeckboxlist like this that should show all the columns of the table:
RDVAL
PDVAL
DPVAL
CTVAL
ATVAL
If I Only select these columns-
RDVAL
DPVAL
ATVAL
It should show REPORT like this:
DATE RDVAL DPVAL ATVAL
1-1-09 100 45 90
1-2-09 50 15 55
1-3-09 120 40 95
1-4-09 100 30 80
AVG 92.5 32.5 80
If I have some way to pass Select parameters to pass sql storedproc that will help.
Do you have any tutorial or sample code.
I will really appreciate your help.
foreach (Control lastCtrl in ctrlTry.Controls)
{
findCtrl(lastCtrl);
}
}
else
{
if (ctrlTry.ID != null && ctrlTry.ID != "")
{
Response.Write(ctrlTry.ID + "<BR>");
}
}
}
I've placed some radtextboxes in a Formview and used a table in the EditItemTemplate for design-reasons.
But then I can't use this approach.
<asp:FormView ID="FormView1" runat="server"
DataSourceID="sdsMeHaulier"
DataKeyNames="HaulierID"
DefaultMode="Edit"
onitemupdated="FormView1_ItemUpdated" >
<EditItemTemplate>
<table id="tblHaulier">
<tr>
<td valign="top">
<telerik:RadTextBox ID="tbHaulierName" runat="server"
Label="HaulierName"
Text='<%# Bind("HaulierName") %>'
Enabled="true"
EnableTheming="True"
ReadOnly="false" >
</telerik:RadTextBox>
<br />
<telerik:RadTextBox ID="tbDepName" runat="server"
Label="DepName"
Text='<%# Bind("DepName") %>'
Enabled="true"
EnableTheming="True"
ReadOnly="false"
and so on.
None of the radtextboxes appear in the list of controls.
Any ideas?
| <div id="site"> |
| <div class="devide"> |
| <fieldset class="column_left"> |
| ...... |
| <div class="dl"> |
| <div class="dt"> |
| <label for="ddlDepartment">Avdeling:</label></div> |
| <%--<asp:DropDownList ID="ddlDepartment" runat="server" CssClass="drop_wide" AppendDataBoundItems="true" > |
| <asp:ListItem Value="0" Text="- Velg avdeling -" /> |
| </asp:DropDownList>--%> |
| <telerik:RadComboBox ID="RCBDepartment" runat="server" AppendDataBoundItems="true" > |
| <Items> |
| <telerik:RadComboBoxItem Value="0" Text="- Velg avdeling -" /> |
| </Items> |
| </telerik:RadComboBox> |
| <span class="required">*</span> |
| </div> ... </fieldset> |
| </div> |
| </div> |

