Hello,
I have a page with RadPivotGrid along with RadHtmlChart.
RadPivotGrid is getting populated programmatically with additional PivotGridColumnFields & PivotGridAggregateFields. (see attached)
Now, I need to generate an charts based on the RadPivotGrids data, however I am unable to set the binding to Chart with PivotGrid as source.
Does anybody have tried this before and can explain how shall I move ahead with this?
Thanks,
Chetan
Hello,
I am sure you people will help me regarding the export issue
Hello,
I had a question regarding the usage of telerik:GridNumericColumn with MaxLength=2 & NumericType=Percent. My input is 10. So the textbox automatically formats to 10 % in the UI. But, when I try to save the values, it colors the box with red, meaning the input is invalid. This however works when my MaxLength=4. This used to work 2009.3.1208.20 with MaxLength=2. We upgraded to 2015.1.225.35 & it started failing. I understand that there are a lot of changes. But how do I avoid this error?
Any information is appreciated.
Thanks
Bobbie
I want to play a youtube video in RadMediaPlayer.
After end of a video , the RadMediaPlayer shows a black screen .
But I do not want to display the black screen and after end of a video
I want to display same look as I saw at the begin.
what can I do for this ??
Thanks,
Firoz Mondal
i have an issue with telerikTimePicker it is really random one . when the client try to select a time from the time picker it only show two selection 12:00 AM and 12:00 AM when he refresh the page it show the whole list from 12:00 Am till 11:45 PM . this only happen in mobile devices found in both android and apple devices
this is a screenshot
http://screencast.com/t/9kZW4V3IP98y
this a form that has the time picker:
http://cp-webtest2.civicplus.com/FormCenter/Building-4/Date-and-Time-field-57
try open it on Google Chrome,Safari from your mobile device
and after clearing the cache for several time you will find the issue happening
How can I read the contrils inside the RADDataForm using Javascript.
I have a datafrom with DatePicket and RadButton in side Edit Template. The default Text of Button is Update. I need to chage this to Sign-Off when a Date is selected in the picker and reset back to Update.
How can this be achieved.
I have a page "Tracking.aspx" which loads a Radgrid with employee work details(say id(hidden),employee_id, employee_name, hours_worked, date_worked)
Example entries:
id employee_id employee_name hours_worked date_worked
1 1 Emp1 5 1/1/2015
2 1 Emp1 2 2/1/2015
3 2 Emp2 6 1/1/2015
4 2 Emp2 8 2/1/2015
Now, I'm trying to add a functionality to this page. If the user wants to make a new entry very similar to id '4', then he has to click on the Employee_name column of that row, which will open the page in insert mode(we have a separate user control for Insert, "TrackingAddForm.ascx"), with the details of the id '4' populated in it.
This is what I have done so far:
1) I have managed to change the employee name column from 'telerik:GridBoundColumn' into 'telerik:GridHyperLinkColumn'
<telerik:GridHyperLinkColumn DataTextField ="Employee" DataNavigateUrlFields = "ID" DataNavigateUrlFormatString="Tracking.aspx?blank=Employee&id={0}"
FilterControlAltText="Filter Employee column" HeaderText="Employee"
SortExpression="Employee" UniqueName="Employee">
2) When this link is clicked, I'm collecting the ID from the Request.QueryString and fetching the data for the corresponding ID.
3) I have opened the same "Tracking.aspx" page in the Insert Mode, so that the user control "TrackingAddForm.ascx" is shown in the "Tracking.aspx". (used the below code)
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
RadGrid1.MasterTableView.IsItemInserted = true;
RadGrid1.Rebind();
}
}
Now what I'm NOT ABLE to do is:
4) Populate the fields of the user control "TrackingAddForm.ascx" with the data fetched in step (2).
So my question is,
a) While opening the page in Insert Mode(by clicking a 'GridHyperLinkColumn' Employee), is there a way to populate the fields of the Insert UserControl ?
b) If any of the above steps I have taken is wrong or if there is a better approach to do the same thing, please let me know.
Thanks in Advance
Hi again,
I am using RadTabstrip with 3 tabs in a master page and want to display a counter that shows total number of clicks for each tab. For instance, if I select a tab (which send me to another page) it should show me total number of clicks on that particular page.
How can I achieve this function?
I have a telerik:RadGrid that is configured to automatically adjust the column width based on its data. It does so, but an oddity still persists. When I scroll horizontally to the right, the end columns adjust to fill the entire width of the RadGrid, even though its contents were displayed fully already. Scrolling to the right inflates a 300px-wide column width to three or four times its width.
I'm not sure where to go from there. Aside from that issue, everything else is behaving as I intended.
My code:
<
telerik:RadCodeBlock
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function reqStart_aegv(sender, args) {
if (args.get_eventTarget().indexOf("gridToolBar") > 0 && args.get_eventArgument() === "1")
sender.set_enableAJAX(true);
}
function disableAjaxIfExport_aegv(sender, args) {
if (args.get_item().get_commandName() === "Export")
sender.get_parent().get_parent().set_enableAJAX(false);
}
function pageLoad() {
var grid = $find("<%= EntityRecordListGrid.ClientID %>");
var columns = grid.get_masterTableView().get_columns();
for (var i = 0; i <
columns.length
; i++) {
columns[i].resizeToFit(false, false);
if (columns[i]._element.UniqueName != "btnEdit" && columns[i]._element.UniqueName != "btnDelete") {
if (columns[i]._element.clientWidth < 125) {
grid.get_masterTableView().resizeColumn(i, 125);
} else if (columns[i]._element.clientWidth > 300) {
grid.get_masterTableView().resizeColumn(i, 300);
}
}
}
}
</
script
>
</
telerik:RadCodeBlock
>
<
telerik:RadAjaxPanel
ID
=
"radAjaxPanel"
runat
=
"server"
LoadingPanelID
=
"radAjaxLoadingPanel"
ClientEvents-OnRequestStart
=
"reqStart_aegv"
>
<
asp:Panel
runat
=
"server"
ID
=
"panelGrid"
>
<
telerik:RadGrid
runat
=
"server"
ID
=
"EntityRecordListGrid"
GroupingSettings-CaseSensitive
=
"False"
AllowPaging
=
"True"
AllowSorting
=
"True"
AllowFilteringByColumn
=
"True"
ClientSettings-Selecting-AllowRowSelect
=
"True"
FilterType
=
"Classic"
HeaderStyle-Wrap
=
"False"
PageSize
=
"50"
>
<
AlternatingItemStyle
BackColor
=
"#CDCDCD"
/>
<
ClientSettings
>
<
Resizing
AllowColumnResize
=
"True"
ResizeGridOnColumnResize
=
"True"
AllowResizeToFit
=
"True"
EnableRealTimeResize
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"True"
ScrollHeight
=
"240px"
></
Scrolling
>
</
ClientSettings
>
<
MasterTableView
CommandItemDisplay
=
"Top"
AutoGenerateColumns
=
"False"
AllowFilteringByColumn
=
"True"
>
<
NoRecordsTemplate
>
<
asp:Literal
runat
=
"server"
Text="<%$Resources:TPC_PageWidgetFrontEnd_Resources,PageWidgetFrontEnd.NoRecords.Title %>"></
asp:Literal
>
</
NoRecordsTemplate
>
<
CommandItemTemplate
>
<
telerik:RadToolBar
runat
=
"server"
ID
=
"gridToolBar"
autopostback
=
"True"
causesvalidation
=
"False"
OnClientButtonClicked
=
"disableAjaxIfExport_aegv"
>
<
Items
>
<
telerik:RadToolBarButton
Text="<%$Resources:TPC_PageWidgetFrontEnd_Resources,PageWidgetFrontEnd.AddNew.Title %>" CommandName="AddRecord" ImagePosition="Right" />
<
telerik:RadToolBarButton
Text="<%$Resources:TPC_PageWidgetFrontEnd_Resources,PageWidgetFrontEnd.Export.Title %>" CommandName="Export" ImagePosition="Right"/>
</
Items
>
</
telerik:RadToolBar
>
</
CommandItemTemplate
>
<
Columns
>
<
telerik:GridButtonColumn
UniqueName
=
"btnEdit"
ButtonType
=
"ImageButton"
CommandName
=
"Edit"
/>
<
telerik:GridButtonColumn
UniqueName
=
"btnDelete"
ConfirmText="<%$Resources:TPC_PageWidgetFrontEnd_Resources,PageWidgetFrontEnd.DeleteThisRecord.Title %>" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" ConfirmDialogHeight="100px" ConfirmDialogWidth="220px" />
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
asp:Panel
>
</
telerik:RadAjaxPanel
>
There are some scaling issues when maximizing images in RadLightBox. If you maximize LightBox to display an image and some text, the image would shrink horizontally. See image below.