Hi,
I have a radgrid and i have an image button to export . On click of image button show loading panel and once the file is exported close the loading panel.But once i hit the export the loading panel still remains even after the file is downloaded. Can you help me to show loading panel during Export to excel.
Thanks in Advance.
I have a few rad RadButtons in a sequence. I have defined them with custom images only.
When I click or hover, the button appears to either grow slightly or is offset by a few pixels.
This causes content to the right and below to shift and it is quite uncomfortable to see.
I've tried to align the buttons in a table with fixed row height and width about 4 pixels wider than the buttons to see if it would absorb the slack. Unfortunately even the table cells shift.
I've not seen this before, and it does not happen if the same buttons use text in place of images.
<
telerik:RadButton
ID
=
"RadButton2"
runat
=
"server"
Text
=
"RadButton"
Image-ImageUrl
=
"~/Images/video_icon_24.png"
Image-HoveredImageUrl
=
"~/Images/video_icon_24_hover.png"
ButtonType
=
"SkinnedButton"
Height
=
"24px"
Width
=
"24px"
NavigateUrl
=
"lulavision.aspx"
ToolTip
=
"Showtime!"
></
telerik:RadButton
>
<
telerik:RadButton
ID
=
"RadButton1"
runat
=
"server"
Text
=
"RadButton"
Image-ImageUrl
=
"~/Images/music_icon_24.png"
Image-HoveredImageUrl
=
"~/Images/music_icon_24_hover.png"
ButtonType
=
"SkinnedButton"
Height
=
"24px"
Width
=
"24px"
NavigateUrl
=
"lulavision.aspx"
ToolTip
=
"Showtime!"
></
telerik:RadButton
>
Running 2015.2.826.45
I accidentally posted this in the Upload forum, not AsyncUpload, so I am reposting it. This used to work, but we recently changed environments and I am not sure where to check for problems.
<
telerik:RadAsyncUpload
runat
=
"server"
Width
=
"300"
SkinID
=
"defaultUpload"
ID
=
"uImportFile"
OnFileUploaded
=
"fileUploaded"
AllowedFileExtensions
=
".xls,.xlsx"
OverwriteExistingFiles
=
"True"
AutoAddFileInputs
=
"False"
MaxFileInputsCount
=
"1"
TargetFolder
=
"~/UploadedFiles"
OnClientFileUploadFailed
=
"uploadFailed"
><
br
></
telerik:RadAsyncUpload
>
As soon as the user selects the file to be uploaded, a temp file is created based on the name of the upload in App_Data/RadUploadTemp. But then a postback happens, the file is removed from RadUPloadTemp, but it not moved into the UploadedFiles folder. This happens on a production server as well as locally. I have set permissions on the folder to full control. Tried Chrome, IE, FireFox and got the same results. The OnClientUploadFailed event is not firing. The OnFileUploaded even is firing. What am I missing?
Thanks,
Randy
Hi,
I am getting following error If I use any control inside RadAjaxPanel that causes autopostback (such as changing RadComboBox selection), once after seeing the confirmation from "OnBeforeUnload" event and opts to Stay on the page.
Exception: screen:sys.webforms.pagerequestmanagerparsererrorexception
I am using following code for onBeforeUnload event handling:
window.onbeforeunload = function(e)
{
if (IsDirty() == true)
{
var ev = e || window.event;
ev.returnValue = "Are you sure?";
return "Are you sure?";
}
}
Reference url: http://www.telerik.com/forums/isdirty---ajax-dirty-panel
Please help me into this issue.
thanks!
Ankit
Hi,
I want to disable some selected rows (I use a GridClientSelectColumn) in my grid. The user must not be allowed to deselect these rows, but he is free to select
other rows. The originally selected rows have to stay selected.
Disabling the row is no problem, I do this server-side in the RowBound event handler. But these can still be (de)selected.
Is there some easy way to "lock" the selected rows or do I have to program this behavior in javascript?
If I have to do that, how can I prevent a row from being deselected (e.g. if the user just clicks another row which will deselect all other rows)?
Thanks!
Hello,
The Update command does not work when I try to update values inside a RadGrid that resides inside a UserControl.
The UserControl is loaded into a TabStrip tab when the tab is clicked by the user. This is the code that loads the user control:
parent.Controls.Clear();
UserControl ctrl = (UserControl)LoadControl(controlName);
string
userControlID = controlName.Split(
'.'
)[0];
userControlID = userControlID.Replace(
"/"
,
""
).Replace(
"~"
,
""
) +
"_UC"
;
ctrl.ID = userControlID;
parent.Controls.Add(ctrl);
I'm using Advanced Databinding for the Radgrid like so:
protected
void
rgdHousingVersion_NeedDataSource(
object
sender, GridNeedDataSourceEventArgs e)
{
rgdHousingVersion.DataSource = BLL.GetAHUHousingVersions();
}
And here's the HTML for the UserControl:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
telerik:RadAjaxManagerProxy
ID
=
"rampAdminHousingVersion"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"rgdHousingVersion"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgdHousingVersion"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
telerik:RadGrid
ID
=
"rgdHousingVersion"
runat
=
"server"
OnNeedDataSource
=
"rgdHousingVersion_NeedDataSource"
OnEditCommand
=
"rgdHousingVersion_EditCommand"
OnUpdateCommand
=
"rgdHousingVersion_UpdateCommand"
AutoGenerateColumns
=
"false"
AllowPaging
=
"false"
>
<
MasterTableView
DataKeyNames
=
"HousingID"
CommandItemDisplay
=
"Top"
InsertItemPageIndexAction
=
"ShowItemOnCurrentPage"
EditMode
=
"InPlace"
EnableViewState
=
"true"
>
<
Columns
>
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
EditImageUrl
=
"~/Images/Graphics/16/Change_16.png"
></
telerik:GridEditCommandColumn
>
<
telerik:GridBoundColumn
DataField
=
"HousingID"
HeaderText
=
"Housing ID"
UniqueName
=
"HousingID"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Description"
HeaderText
=
"Description"
UniqueName
=
"Description"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Reference"
HeaderText
=
"Reference"
UniqueName
=
"Reference"
></
telerik:GridBoundColumn
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
ButtonType
=
"ImageButton"
/>
</
EditFormSettings
>
</
MasterTableView
>
</
telerik:RadGrid
>
Here's the code-behind for the OnEditCommand and OnUpdateCommand:
protected
void
rgdHousingVersion_EditCommand(
object
sender, GridCommandEventArgs e)
{
//Does fire
}
protected
void
rgdHousingVersion_UpdateCommand(
object
sender, GridCommandEventArgs e)
{
//Does NOT fire
}
I'm really not sure what I'm doing wrong. Why is the UpdateCommand not firing? Any help is appreciated. I have not been able to find an answer to this problem anywhere. Thanks!
EnableRangeFiltering="true"
sender.get_masterTableView().get_filterExpressions().toString()