Hi. i would like to find out if there is an cleaner and easier way for the file extension validation other than using AllowedFileExtension.
As the allowed file extension is alot and i only want to block extension like exe, sql, bat. is there any way to achieve this?
i want the validation to automatically fired like when used with the AllowedFileExtension
I use Rad Navigation in a Control and MasterPage.
When i use Silk skin, font in sub menu is lost.
Se attached image
I am using the following to override the hover color of my radgrid. Would like to also override the hover color of my pager control (buttons and page size dropdown...) to match current color. Which CSS rule should be overridden. Thanks.
.RadGrid_Simple .rgHoveredRow td
{
backgroud-color: #812323
}
<telerik:RadRotator ID="catholicFactRotator" runat="server" RotatorType="AutomaticAdvance" |
FrameDuration="3000" ScrollDirection="Up" > |
</telerik:RadRotator> |
protected void Page_Load(object sender, EventArgs e) |
{ |
Data data = new Data(); |
this.radrotator1.DataSource = data.GetListofStrings(); |
this.radrotator1.DataBind(); |
} |
How can I use RadUpload or RadAsyncUpload control in RadGrid batch edit mode?
I tried following code but RadAsyncUpload shows 0 files in UploadedFile enumerator.
01.
protected
void
RadGrid1_BatchEditCommand(
object
sender, GridBatchEditingEventArgs e)
02.
{
03.
foreach
(GridBatchEditingCommand command
in
e.Commands)
04.
{
05.
if
((command.Type == GridBatchEditingCommandType.Update))
06.
{
07.
Hashtable newValues = command.NewValues;
08.
09.
if
(newValues !=
null
)
10.
{
11.
var CTRL = RadGrid1.FindControl(RadGrid1.MasterTableView.ClientID +
"_AttachmentColumn"
);
12.
RadAsyncUpload asyncUpload = RadGrid1.FindControl(RadGrid1.MasterTableView.ClientID +
"_AttachmentColumn"
).Controls[0]
as
RadAsyncUpload;
13.
14.
}
15.
}
16.
}
17.
}
<
telerik:GridAttachmentColumn
UploadControlType
=
"RadUpload"
EditFormHeaderTextFormat
=
"Upload File:"
HeaderText
=
"Attachment Column"
UniqueName
=
"AttachmentColumn"
>
</
telerik:GridAttachmentColumn
>
I have several ClientDataSources on a page. How do i cancel a long running one if I want to.
Marty
Hi:
I have placed RadDockZone and RadDoc inside of FormView EditItemTemplate. The FormView's ItemUpdating event cannot seem to find the Bind values in the form. If I remove the RadDockZone and RadDoc, it works as expected.
Phil