I have been unable to figure out an appropriate column type for my situation. What I need is to on Item data bound check if there is a string in the column. If there is I need to display an image. When the user clicks the image I need to fire a command event which I will then download a file for the user. The issue is that when I use Grid Bound Column and add an Image Button on item data bound to the control the command event does not fire. If I click the cell the image disappears and the text shows. If I then click on the text the event fires. If i use the Image Column then I have no way to fire the command event on click. There has to be a way to do this. Any suggestions would be appreciated. Thank you.
Hi,
I am trying to implement RadCompression in my project.
I have followed the steps listed at http://www.telerik.com/help/aspnet-ajax/compression.html for Rad Compression as well as Viewstate compression.
I was able to add the code changes and build my solution.
Then I generated a report using Fiddler to capture Viewstate size, % of Uncompressed page size and File size but could not see any difference in the metrics pre and post implementation.
Is there anything else we should include in the code to make it work?
I have a RadMenu within a rather complex arrangement of RadPanes and RadSplitters.
The problem is that sometimes the area which contains the RadMenu has an active horizontal scrollbar and when the RadMenu expands, the expansion is hidden. This is an especially big problem in low-res screens.
I've found an assortment of references that refer to setting the z-index of the Radmenu in a variety of ways but these appear to be obsolete. (Such as switching style settings in and out using client side calls that no longer exist?)
Is there any way to insure the current RadMenu is always on top?
<
telerik:radgrid
id
=
"rgItems"
runat
=
"server"
autogeneratecolumns
=
"false"
enableembeddedskins
=
"false"
onneeddatasource
=
"rgItems_NeedDataSource"
onitemdatabound
=
"rgItems_ItemDataBound"
allowmultirowselection
=
"true"
>
<
clientsettings
enablerowhoverstyle
=
"true"
>
<
selecting
allowrowselect
=
"true"
/>
</
clientsettings
>
<
mastertableview
datakeynames
=
"itemID,subItemID"
allowsorting
=
"true"
>
<
columns
>
<
telerik:gridclientselectcolumn
uniquename
=
"clientSelectColumn"
itemstyle-width
=
"30px"
headerstyle-width
=
"30px"
headerstyle-horizontalalign
=
"Center"
itemstyle-horizontalalign
=
"Center"
/>
<
telerik:gridboundcolumn
datafield
=
"itemName"
sortexpression
=
"itemName"
headertext
=
"Item Name"
/>
</
columns
>
</
mastertableview
>
</
telerik:radgrid
>
Hello,
i have implemented a RadGrid with DetailItemTemplate, which works fine,
but the DetailItemTemplate isn't exported to Excel / PDF.
Is this behaviour by design or am I doing anything wrong ?
Thanks in advance.
Hello,
I am trying to print just my RadHtmlChart using JavaScript but when I press the event button to activate the script the chart disappears, the components I want to hide successfully hide. I specifically state in my JavaScript code to only hide 2 other components but keep the chart. Also, when I cancel the prompt to print all of the components stay hidden, instead of being shown. Here is my code:
01.
<script type=
"text/javascript"
>
02.
function
printChart() {
03.
//Hide components but show chart
04.
document.getElementById(
"divGrid"
).style.display =
'none'
;
05.
document.getElementById(
"divOptions"
).style.display =
'none'
;
06.
document.getElementById(
"divChart"
).style.display =
'block'
;
07.
08.
//Call the browser print method
09.
window.print();
10.
11.
//Show components
12.
document.getElementById(
"divGrid"
).style.display =
'block'
;
13.
document.getElementById(
"divOptions"
).style.display =
'block'
;
14.
document.getElementById(
"divChart"
).style.display =
'block'
;
15.
</script>
Thank you in advance!