Hi guys,
I've been attempting to create and aspx page that will automatically launch the select window, as if the user had clicked the "Browse" button, as soon as the page loads. I was able to launch the window successfully using a new button I created myself (ID "RunMe"), and as you can see I've tried a couple different methods in the code below to try and launch the window on page load (document.ready and an onload function call in the body tag). I added in the timeouts in case the call was happening before the control finished loading. I'm testing in Chrome Version 48.0.2564.97 m.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewFileUpload.aspx.cs" Inherits="CYBERWebPortal.NewFileUpload" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script type="text/javascript">
function OnClientFileUploaded(sender, args) {
//var contentType = args.get_fileInfo().contentType;
//alert(contentType);
__doPostBack('RadAsyncUpload1', '');
}
function OnClientClicking(sender) {
setTimeout(function () {
$telerik.$(".ruFileInput").click();
}, 100);
//$telerik.$(".ruFileInput").click();
}
function FinishedLoading(sender) {
setTimeout(function () {
$telerik.$(".ruFileInput").click();
}, 900);
//$telerik.$(".ruFileInput").click();
}
$(document).ready(function () {
setTimeout(function () {
document.getElementById("RunMe").click();
}, 900);
});
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body onload="FinishedLoading()">
<div>
<button type="button" id="RunMe" onclick="OnClientClicking()">Test</button>
<p><strong> Your test was successful. You have reached doc upload!</strong></p>
<div style="display:inline-block;" >
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" >
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager>
<telerik:RadAsyncUpload ID="RadAsyncUpload1"
runat="server"
AutoAddFileInputs="false"
OnFileUploaded="HandleFileUploaded"
OnLoad="HandlePageLoadForFiles"
OnClientFileUploaded="OnClientFileUploaded"
Localization-Select="Upload" InputSize="25"
AllowedFileExtensions=".jpg,.jpeg,.pdf,.doc,.docx,.bmp,.tif,.tiff,.png,.txt,.ppt,.pptx,.xls,.xlsx,.rtf"
TemporaryFolder="../App_Data/"
TargetFolder="../TargetUploads/"
EnablePermissionsCheck="false"
EnableInlineProgress="false" >
</telerik:RadAsyncUpload>
</div>
</div>
</body>
</html>

I have a form contains many types of controls and validationpart .contains a rad tabstrip has two tabs in one tab entry controls like radtextbox and radcombobx there is a vaidation for each control result in a validationsummary, second tab contains a radgrid containing add record button opens a radwindow cotaining a webform for enering data .
In normar case when pressing a tab from tab strib it cuases a postback so the validation summary has error messages but the add button in the radgrid works fine.
I edited the config file add
<add key="validationsettings:unobtrusivevalidationmode" value="none">
the tabstrip worked fine but the add button in the radgrid has no effect and the window.radopen does not occure
is there a setting do the same thing witout affecting radgrid or radwindow

I've made a lot of progress with the scheduler, but I am running into one issue.
I am working on scheduling physicians and they are either scheduled as a person or a group.
I have two seperate drop down boxes. One for physicians and one for groups.
I am able to display the appointment and return either the group name or physician name on the appointment box, but I have set a parameter for inserting or updating entries with a @Type parameter. @Type is defined in my c# code and works for all other function, except when dragging an appointment to another day. @Type sets whether the insertion was a physician or a group. When I do a report it will need to know if the ID stored is a physician ID or group ID. Based on that it will resolve group/physician names and create links.
Long story short I need to be able to define @Type insert parameter while the appointment is being moved to another day. The appointment wouldn't necessarily be the last appointment open, which is making it harder. The javascripting I've tried so far with OnClientAppointmentMoveEnd has caused the appointment to not be stored in SQL at all.
var E = a.document.documentElement;Hi,
When the colorpicker is located at the bottom of a page, it always cuts off the tabs at the bottom.
Se attached image from your demo!
http://demos.telerik.com/aspnet-ajax/colorpicker/examples/overview/defaultcs.aspx
Set "With a picker button" in the demo!
Regard
Andreas
Hi,
I am trying to load a radcombobox filter as below, the sqldatasource where conditions are coming from session values - session("ssnUSER_NAME") and session("ssnUSER_ID"). //VB.net 4.5/2015Q2/Oracle
The radcombo filter is not getting populated.
What am I missing?
Also a secondary question, I want to display user name but the filter should pickup user_id="some_id". Is it possible?
Any help will be greatly apprerciated. Thanks.
<telerik:GridBoundColumn DataField="USER_NAME" HeaderText="CREATED BY"
SortExpression="USER_NAME" UniqueName="USER_NAME" ReadOnly="true">
<FilterTemplate>
<telerik:RadComboBox RenderMode="Lightweight" ID="rcbUserName" DataSourceID="SqlDataSource5" DataTextField="USER_NAME"
DataValueField="USER_NAME" Height="200px" AppendDataBoundItems="true" SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("USER_NAME").CurrentFilterValue %>'
runat="server" OnClientSelectedIndexChanged="UserNameIndexChanged">
<Items>
<telerik:RadComboBoxItem Text="All" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlock4" runat="server">
<script type="text/javascript">
function UserNameIndexChanged(sender, args) {
var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");
tableView.filter("USER_NAME", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
<asp:SqlDataSource ID="SqlDataSource5" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServicesOracle %>"
ProviderName="<%$ ConnectionStrings:ApplicationServicesOracle.ProviderName %>"
SelectCommand="select distinct b.USER_NAME, b.USER_ID from tblPTS a join tblUSER_DETAILS b on a.USER_ID = b.USER_ID where (b.TEAMLEAD = :ssnUSER_NAME or a.USER_ID = :ssnUSER_ID) and (a.STATUS = 'RECEIVED' or a.STATUS = 'IN PROGRESS')">
<SelectParameters>
<asp:SessionParameter Name="ssnUSER_NAME" SessionField="ssnUSER_NAME" />
<asp:SessionParameter Name="ssnUSER_ID" SessionField="ssnUSER_ID" />
</SelectParameters>
</asp:SqlDataSource>
protected override void OnInit(EventArgs e) { if (!this.DesignMode) { //code here } }