I built a web application using scheduler. Its working fine in my local host.
when i post it in the web server, it gives an unknown error shown below.,
An unknown error occurred while processing the request on the server. The status code returned from the server was: 500.
What is it?
please help me...
<EditFormSettings EditColumn-ButtonType="ImageButton" EditColumn-CancelImageUrl="~/Images/Actions/Cancel_16x16.png" EditColumn-InsertImageUrl="~/Images/Actions/Accept_16x16.png" EditColumn-UpdateImageUrl="~/Images/Actions/Accept_16x16.png" EditFormType="Template"> <EditColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1" InsertImageUrl="~/Images/Actions/Accept_16x16.png" UpdateImageUrl="~/Images/Actions/Accept_16x16.png" CancelImageUrl="~/Images/Actions/Cancel_16x16.png"></EditColumn><FormTemplate> <table> <tr><td></td><td>Dla jednostki</td><td>Jednostek podrzędnych</td></tr> <tr> <td>Limit wydatków łacznie</td> <td><telerik:RadNumericTextBox runat="server" id="tbExpenditureLimit" DbValue='<%# Bind("ExpenditureLimit") %>'/></td> <td><asp:Label runat="server" ID="lblSUM_ExpenditureLimit" Text='<%# Eval("SUM_ExpenditureLimit") %>' /></td> </tr>protected void rtlOrgUnits_OnItemDataBound(object sender, TreeListItemDataBoundEventArgs e){ if (e.Item is TreeListDataItem) { TreeListDataItem itm = e.Item as TreeListDataItem; bool isExpenditureLimitBlocked = initalization by some params; if (isExpenditureLimitBlocked) { if (itm is TreeListEditableItem && (itm as TreeListEditableItem).IsInEditMode) { TreeListEditableItem editItem = (TreeListEditableItem)itm; var tb = editItem.FindControl("tbExpenditureLimit") as RadTextBox; if (tb != null) { tb.ReadOnly = true; tb.BackColor = Color.FromArgb(1, 215, 215, 215); } }}Hi,
I have created three static tab and the pageview is also static for that and also i am creating dynamic tabs and for that i have created different pageview.
RadTabCode:
<telerik:RadTabStrip ID="radTabStrip1" runat="server" MultiPageID="radMultiPage1"
SelectedIndex="0" Skin="" OnTabClick="RadTabStrip1_TabClick" CssClass="secondLvlCategory"
OnClientTabSelecting="OnItemResultClientTabSelecting" OnClientTabSelected="OnItemResultClientTabSelected" >
<TabTemplate>
<span id="sp_dynaTab" class="DynTabText" title="<%# DataBinder.Eval(Container, "Text") %>">
<%# DataBinder.Eval(Container, "Text") %></span>
<asp:ImageButton ID="btnClose" runat="server" ImageUrl="~/Image/delete.gif" ToolTip="Close"
OnClick="btnClose_Click" OnClientClick="showLoader()" />
</TabTemplate>
<Tabs>
<telerik:RadTab runat="server" Text="Browse" Value="Browse" PageViewID="PageView1"
TabIndex="0">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="Search" Value="Search" PageViewID="PageView2"
TabIndex="1">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="Result" Value="Result" PageViewID="PageView3"
TabIndex="2">
</telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
RadMultiPage Code :
<telerik:RadMultiPage runat="server" ID="radMultiPage1" SelectedIndex="0" ScrollBars="None">
<telerik:RadPageView ID="PageView1" runat="server">
<ucBrowse:UC_BrowseForm ID="UC_BrowseForm1" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="PageView2" runat="server">
<uc3:UC_SearchForm ID="UC_SearchForm1" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="PageView3" runat="server">
<ucThumb1:UC_ThumbForm ID="UC_Form1" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="PageView4" runat="server" ContentUrl="" Height="613">
</telerik:RadPageView>
</telerik:RadMultiPage>
Ajax Setting :
<telerik:AjaxSetting AjaxControlID="radTabStrip1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radMultiPage1" />
</UpdatedControls>
</telerik:AjaxSetting>
I have disabled the postback for the first three tabs which are the static tabs and postback is enabled for all the dynamic tabs.
if i switch betwen static tabs before creating any dynamic tab it is working fine and the associated pageview also loads.
But as i create new dynamic tab and switch between static tab and dynamic tab it won't work fine , the pageview of static tabs does not load, on click of every static tab it displays the pageview of the dynamically created tab.
Please help me to identify that where i am going wrong. And let me know if any more clearyfication is needed.
Thanks,
Susheel

<%@ Page Title="" Language="C#" MasterPageFile="~/ARF.Master" AutoEventWireup="true" CodeBehind="EmployeeInfo.aspx.cs" Inherits="ARF.EmployeeInfo" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %><asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function openConfirmationWindow(ID) { radWindow1.set_title(ID); radWindow1.show(); } function bookNowCloseClicking(sender, args) { radWindow1.close(); togglePanels(); args.set_cancel(true); } function bookNowClicking(sender, args) { togglePanels(); args.set_cancel(true); } function cancelClicking(sender, args) { radWindow1.close(); args.set_cancel(true); } function togglePanels() { var step1Visible = panelStep1.style.display != "none"; panelStep1.style.display = step1Visible ? "none" : ""; panelStep2.style.display = step1Visible ? "" : "none"; </script> </telerik:RadCodeBlock></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="cphNameDivision" runat="server"></asp:Content><asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <div class="well-large whitebg featurett one-edge-shadow minheight"> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"> </telerik:RadAjaxLoadingPanel> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadPersistenceManager ID="RadPersistenceManager1" runat="server" StorageProviderKey="OverviewDemoStorage"> <PersistenceSettings> <telerik:PersistenceSetting ControlID="RadGrid1" /> </PersistenceSettings> </telerik:RadPersistenceManager> <div> <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCommand="RadGrid1_ItemCommand" CellSpacing="0" GridLines="None"> <GroupingSettings CaseSensitive="false" /> <MasterTableView AutoGenerateColumns="false" TableLayout="Fixed"> <HeaderStyle Width="102px" /> <Columns> <telerik:GridBoundColumn DataField="FirstLastName" HeaderText="Name" UniqueName="FirstLastName"> <HeaderStyle Width="110px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Department" HeaderText="Department" UniqueName="Department"> <HeaderStyle Width="200px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="EmploymentType" HeaderText="Employment Type" UniqueName="EmploymentType"> <HeaderStyle Width="110px" /> </telerik:GridBoundColumn> </Columns> <NestedViewTemplate> <div class="carBackground"> <div style="float: right; width: 85%"> <strong> <div class="EmployeeName"> <%# Eval("FirstName") %> <%# Eval("MI") %> <%# Eval("LastName") %> </div> </strong> <hr class="lineSeparator" /> <table width="50%" class="EmployeeInfo"> <tr> <td style="text-align: right;"> <strong>Division:</strong> </td> <td> <telerik:RadDropDownList ID="ddlDivision" runat="server" DropDownHeight="200px" Width="200px" DefaultMessage="Select a Division" DropDownWidth="200px" DataValueField="ID" DataTextField="Name" DataSourceID="sdsDivisions" SelectedValue='<%# Bind("DivisionID") %>'> </telerik:RadDropDownList> </td> </tr> <tr> <td style="text-align: right;"> <strong>Turnpike:</strong> </td> <td> <telerik:RadDropDownList ID="ddlDivisions" runat="server" DropDownHeight="200px" Width="200px" DefaultMessage="Select a Division" DropDownWidth="200px" DataValueField="ID" DataTextField="Name" DataSourceID="sdsTurnpikes" SelectedValue='<%# Bind("TurnpikeID") %>'> </telerik:RadDropDownList> </td> </tr> <tr> <td style="text-align: right;"> <strong>Location:</strong> </td> <td> <telerik:RadDropDownList ID="ddlLocations" runat="server" DropDownHeight="200px" Width="200px" DefaultMessage="Select a Location" DropDownWidth="200px" DataValueField="ID" DataTextField="CodeDescription" DataSourceID="sdsLocations" SelectedValue='<%# Bind("LocationID") %>'> </telerik:RadDropDownList> </td> </tr> <tr> <td style="text-align: right;"> <strong>Supervisor:</strong> </td> <td> <telerik:RadDropDownList ID="ddlSupervisors" runat="server" DropDownHeight="200px" Width="200px" DefaultMessage="Select a Supervisor" DropDownWidth="200px" DataValueField="ID" DataTextField="Name" DataSourceID="sdsSupervisors" SelectedValue='<%# Bind("SupervisorID") %>'> </telerik:RadDropDownList> </td> </tr> <tr> <td style="text-align: right;"> <strong>Employment Type:</strong> </td> <td> <telerik:RadTextBox ID="txtEmploymentType" runat="server" Text='<%# Bind("EmploymentType") %>'> </telerik:RadTextBox> </td> </tr> <tr> <td style="text-align: right;"> <strong>Job Title:</strong> </td> <td> <telerik:RadDropDownList ID="ddlJobTitles" runat="server" DropDownHeight="200px" Width="275px" DefaultMessage="Select a Job Title" DropDownWidth="275px" DataValueField="ID" DataTextField="Name" DataSourceID="sdsJobTitles" SelectedValue='<%# Bind("JobTitleID") %>'> </telerik:RadDropDownList> </td> </tr> <tr> <td style="text-align: right;"> <strong>Approves Leave:</strong> </td> <td> <asp:CheckBox ID="chkApprovesLeave" runat="server" Checked='<%# Bind("ApprovesLeave") %>'/> </td> </tr> <tr> <td style="text-align: right;"> <strong>Comp Time at 1.5:</strong> </td> <td> <asp:CheckBox ID="chkTimeAndHalf" runat="server" Checked='<%# Bind("CompTimeAndAHalf") %>'/> </td> </tr> <tr> <td style="text-align: right;"> <strong>Hire Date:</strong> </td> <td> <asp:TextBox ID="txtHireDate" runat="server" Text='<%# Eval("HireDate") %>'></asp:TextBox> <asp:ImageButton ID="imgPopup" ImageUrl="~/img/calendar.png" ImageAlign="Bottom" runat="server" /> <cc1:CalendarExtender ID="Calendar1" PopupButtonID="imgPopup" runat="server" TargetControlID="txtHireDate" Format="dd/MM/yyyy"> </cc1:CalendarExtender> </td> </tr> <tr> <td style="text-align: right;"> <strong>Termination Date:</strong> </td> <td> <asp:TextBox ID="txtTerminationDate" runat="server" Text='<%# Eval("ExpireDate") %>'></asp:TextBox> <asp:ImageButton ID="ImageButton1" ImageUrl="~/img/calendar.png" ImageAlign="Bottom" runat="server" /> <cc1:CalendarExtender ID="Calendar2" PopupButtonID="ImageButton1" runat="server" TargetControlID="txtTerminationDate" Format="dd/MM/yyyy"> </cc1:CalendarExtender> </td> </tr> <tr> <td style="text-align: right;"> <strong>Termination Type:</strong> </td> <td> <telerik:RadDropDownList ID="ddlTerminationType" runat="server" DropDownHeight="200px" Width="275px" DefaultMessage="Select a Termination Type" DropDownWidth="275px" DataValueField="ID" DataTextField="Name" DataSourceID="sdsTerminationTypes" SelectedValue='<%# Bind("TerminationTypeID") %>'> </telerik:RadDropDownList> </td> </tr> <tr> <td style="text-align: right;"> <strong>Termination Comments:</strong> </td> <td> <telerik:RadTextBox runat="server" ID="txtTerminationComments" Width="216px" EmptyMessage="Enter termination comments" TextMode="MultiLine" Height="100px" Resize="None"></telerik:RadTextBox> <%# Eval("TerminationComments") %> </td> </tr> <tr> <td></td> <td> <telerik:RadButton ID="btnSubmit" runat="server" CommandName="SaveEmployee" CommandArgument='<%# Eval("EmployeeID") %>' Text="Save Employee"> </telerik:RadButton> </td> </tr> </table> </div> <div style="clear: both"> </div> </div> </NestedViewTemplate> <PagerStyle PageSizes="5,10,20,50" PagerTextFormat="{4}<strong>{5}</strong> employees matching your search criteria" PageSizeLabelText="Employees per page:" /> </MasterTableView> <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="true"> <Selecting AllowRowSelect="true" EnableDragToSelectRows="false" /> <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="" /> </ClientSettings> </telerik:RadGrid> </div> <asp:SqlDataSource ID="sdsDivisions" runat="server" ConnectionString="<%$ ConnectionStrings:ARF %>" SelectCommand="usp_Get_All_Divisions" SelectCommandType="StoredProcedure"></asp:SqlDataSource> <asp:SqlDataSource ID="sdsTurnpikes" runat="server" ConnectionString="<%$ ConnectionStrings:ARF %>" SelectCommand="usp_Get_All_Turnpikes" SelectCommandType="StoredProcedure"></asp:SqlDataSource> <asp:SqlDataSource ID="sdsLocations" runat="server" ConnectionString="<%$ ConnectionStrings:ARF %>" SelectCommand="usp_Get_All_Locations" SelectCommandType="StoredProcedure"></asp:SqlDataSource> <asp:SqlDataSource ID="sdsSupervisors" runat="server" ConnectionString="<%$ ConnectionStrings:ARF %>" SelectCommand="usp_Get_All_Supervisors" SelectCommandType="StoredProcedure"></asp:SqlDataSource> <asp:SqlDataSource ID="sdsJobTitles" runat="server" ConnectionString="<%$ ConnectionStrings:ARF %>" SelectCommand="usp_Get_All_JobTitles" SelectCommandType="StoredProcedure"></asp:SqlDataSource> <asp:SqlDataSource ID="sdsTerminationTypes" runat="server" ConnectionString="<%$ ConnectionStrings:ARF %>" SelectCommand="usp_Get_Termination_Types" SelectCommandType="StoredProcedure"></asp:SqlDataSource> </div></asp:Content>
Hello,
I was curious as to what would be the best way to encrypt files uploaded and saved to an SQL database as well as being able to decrypt them afterwards. Has anyone successfully done this? Any help would be greatly appreciated.
Thank you!

I have a page with a RadAjaxManager on it that I was using to make various ajax calls and it is working perfectly well. Then I needed to ajaxify another call. So I removed a button's onclick attribute and added a OnClientCilck that invoked a javascript function:
function execute() { var ram = $find("<%= ramFilter.ClientID %>"); ram.ajaxRequest("execute");}This doesn't work; the ajaxRequest event is never fired in my code behind.
However, if I open up firebug and set a breakpoint on the ajaxRequest line and step over the function call, the event handler is hit. If, on the other hand, I just hit continue in firebug, the event handler is not invoked.
Any ideas?
I need a way to clear values from a TimePicker. Users are not able to manually interact with the textbox, they can only use the pop up values from the TimeView to select preset values in 15 minute increments. In the link below the first example has a "Clear button" at the bottom of the TimeView. Unfortunately I don't see a code example. How do I get a clear button like the example?
http://docs.telerik.com/devtools/aspnet-ajax/controls/calendar/raddatepicker,-radtimepicker,-raddatetimepicker-and-radmonthyearpicker/configuring-the-embedded-time-view

Hello,
I see that in the WPF version of Diagram it seems you can have containers that have shapes inside of them. I would like to know if I can accomplish this via the ASP.NET version? I would like to have a container that contains shapes and possible other containers that have shapes inside.
How can I achieve this?
Thanks
Tim

Hi,
I've tried to get the OrgChart working and have had quite a few issues. I've had to build my own container to cope with scrolling as by default it doesn't allow for a container or zoom mechanisms. I'm now trying to do one more simple thing of having a client click event so that I can link to a record on the chart. I could never have imagined on having to ask for such a basic bit of functionality.
There is no click event and you have to do a work around. But the code that I have seen doesn't work as the Id that comes back is set to an empty string, the adapted code is below my rant.
Every time I work with something new I seem to be spending more time on getting it working than I should, everything needs a work around or another. The point of a control suite like this one is so that people don't need to do work arounds. Even more frustrating is the need to vote for good functions when they are suggested, just add them in!
So, please, someone from Telerik tell me how to do an onclick properly and then tell me that a proper onclick handler will be introduced in the next version. I suppose that this is the price to pay for the fact that all new controls are simply KendoUI controls re-engineered for ASP.NET?
Regards
Jon
$telerik.$(".rocItem").click(function (e) { var orgChart = $find("<%= uxRadOrgChart.ClientID%>"); var index = orgChart._extractGroupItemFromDomElement(e.target).getId();})
