Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
147 views
HI guys

I have a website with two types of master page, but both containing the same panelBar menu.
For maintainability, I want to have only a single place to update the menu so I thought I should
put it into ascx UserControl, and followed MS guidelines for the embedding

It actually works fine if I turn off debug in Internet Explorer (I am using Visual Studio 2010 btw), but when debug is on I get this error

SCRIPT5007: Unable to set value of the property 'control': object is null or undefined
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl03_TSM&compress=1&_TSM_CombinedScripts_
=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%
3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%
3bTelerik.Web.UI%2c+Version%3d2010.3.1109.20%2c+Culture%3dneutral%2c+PublicKeyToken%
3d121fae78165ba3d4%3aen-US%3a0b207b76-976c-4925-ba92-57c3001b0b77%3a16e4e7cd%3af7645509%
3a24ee1bba%3a1e771326%3a4cacbc31, line 6 character 74101

The ascx file is like this:

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="menuBar.ascx.vb" Inherits="UserControls_menuBar" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<telerik:RadPanelBar ID="RadPanelBar1" Runat="server" Skin="myBlack" Width="175px"
                        EnableEmbeddedSkins="False" PersistStateInCookie="True">
etc etc
</telerik:RadPanelBar>

I would like to avoid the error in case it causes problems to visitors.  Can you shed any light on this?
The error is within the telerik dll it seems.

Thanks for any help!

Clive


Nikolay Tsenkov
Telerik team
 answered on 02 Nov 2011
1 answer
109 views
we are getting the following error only on Apple machines (ipad included) across all browser.  the funny thing is that its only when the page is loaded.  it's loaded with an ajax call and all we ever see is the loading panel.  on the mac computer we were able to get the error

RadUpload Ajax callback error. Source url returned invalid content: 

any suggestions on what we can try.  the page works fine on PC across all browsers.  there is an upload on the page but its not uploading anything at the time of the error.  its just loading the page.  the page is on a RadTab if that makes a difference.

Genady Sergeev
Telerik team
 answered on 02 Nov 2011
1 answer
96 views
Hi ,

  I am using radDatetImepIcker as a seperate control .(Not inline with grid or anything else). I need to set date/time in picker by default based on my server time zone like ‘DD.MM.YYYY HH24:MI:SS TZR’.


Please advice as soon as earlier.

THanks,
Priya
Vasil
Telerik team
 answered on 02 Nov 2011
3 answers
85 views
I need to customize the groupings in a grid.
In my case, I group by a column 'GridDropDownColumn' which has as public properties 'DataField = "ID"' and 'ListTextField = "description"', so in group shows a number instead of the description provided in the 'DropDown'.
Radoslav
Telerik team
 answered on 02 Nov 2011
2 answers
239 views
Hello.
i am working on a project, i used telerik control to upload the files. but now what is the problem it doesnot show progross area while uploading.

here are the steps i done
  1. Added all entries in web.config (modules, http handlers for telerik )
  2. set <httpRuntime maxRequestLength="102400" executionTimeout="3600"/> to allow files more than 50 mb
  3. uploading files is succcessfull, but it is not showing the progress area, as i tried to transfer 35 mb file. in localhost :(
  4. i'm having iis 7.5

i'm attaching my files to you . kindly check it and tell me whats the prob with these codes. i followed the same code in your demo examples

please do support soon, as i am having to relase files for production :(
Dimitar Terziev
Telerik team
 answered on 02 Nov 2011
1 answer
138 views
hi , i'm having problem with radgrid in my n-tier applicatin
i'm assigning radgrid datasource  to a List<Product> and i need radgrid provide me filterexpression in form of entity sql format eg: "it.CustomerID = ALFKI" but its format is like "(Convert.ToString(it[\"CustomerID\"]) = \"ALFKI\")"
how i can please radgrid to create entity sql filterexpression without using EntityDataSource ?




Radoslav
Telerik team
 answered on 02 Nov 2011
1 answer
150 views
I have the following page that pulls a simple grid and I got it to export to excel fine after checking out the demos.
How ever now, when the page loads the grid is empty until I select something from the drop down list.

Any ideas on how I should get the grid to populate with the first in the list when the page first loads?

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="report_daily_status_list.aspx.vb" Inherits="FacilityCodingStatus.report_daily_status_list" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Daily Status list</h2>
    <asp:SqlDataSource ID="dsSiteList" runat="server"
        ConnectionString="<%$ ConnectionStrings:ServiceAudit_ConnectionString %>"
        SelectCommand="FacilityCodingStatus_SiteList"
        SelectCommandType="StoredProcedure"></asp:SqlDataSource>
 
 
    <asp:SqlDataSource ID="dsDailyStatuslist" runat="server"
        ConnectionString="<%$ ConnectionStrings:ServiceAudit_ConnectionString %>"
        SelectCommand="FacilityCodingStatus_DailyStatuslist"
        SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="cbSiteID" Name="sSiteID"
                PropertyName="SelectedValue" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
 
    <script type="text/javascript">
        function onRequestStart(sender, args) {
            if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0 ||
                    args.get_eventTarget().indexOf("ExportToWordButton") >= 0 ||
                    args.get_eventTarget().indexOf("ExportToCsvButton") >= 0) {
                args.set_enableAjax(false);
            }
        }
    </script>
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <ClientEvents OnRequestStart="onRequestStart" />
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
 
 
<p>Select a Site:<telerik:RadComboBox ID="cbSiteID" Runat="server" DataSourceID="dsSiteList"
        DataTextField="SiteDisplay" DataValueField="sSiteID" AutoPostBack="True">
    </telerik:RadComboBox>
 
</p>
 
 
 
 
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True"
        AutoGenerateColumns="False" CellSpacing="0" DataSourceID="dsDailyStatuslist"
        GridLines="None" OnItemCommand="RadGrid1_ItemCommand">
 
            <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true" HideStructureColumns="true">
                <Excel Format="ExcelML" />
            </ExportSettings>
 
<MasterTableView DataSourceID="dsDailyStatuslist"  CommandItemDisplay="Top">
<CommandItemSettings ExportToPdfText="Export to PDF" ShowExportToExcelButton="true" ShowAddNewRecordButton="false"></CommandItemSettings>
 
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
 
 
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridBoundColumn DataField="sSiteID"
            FilterControlAltText="Filter sSiteID column" HeaderText="SiteID"
            SortExpression="sSiteID" UniqueName="sSiteID">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="MEDRECNUM"
            FilterControlAltText="Filter MEDRECNUM column" HeaderText="MedRec#"
            SortExpression="MEDRECNUM" UniqueName="MEDRECNUM">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="sDOS"
            FilterControlAltText="Filter sDOS column" HeaderText="DOS"
            SortExpression="sDOS" UniqueName="sDOS">
        </telerik:GridBoundColumn>
 
 
        <telerik:GridBoundColumn DataField="LASTNAME"
            FilterControlAltText="Filter LASTNAME column" HeaderText="Last Name"
            SortExpression="LASTNAME" UniqueName="LASTNAME">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="FIRSTNAME"
            FilterControlAltText="Filter FIRSTNAME column" HeaderText="First Name"
            SortExpression="FIRSTNAME" UniqueName="FIRSTNAME">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="EXCEPTIONCODE" DataType="System.Int32"
            FilterControlAltText="Filter EXCEPTIONCODE column" HeaderText="Ex Code"
            SortExpression="EXCEPTIONCODE" UniqueName="EXCEPTIONCODE">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateReceived" DataType="System.DateTime"
            FilterControlAltText="Filter DateReceived column" HeaderText="Date Received"
            SortExpression="DateReceived" UniqueName="DateReceived">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateCoded" DataType="System.DateTime"
            FilterControlAltText="Filter DateCoded column" HeaderText="Date Coded"
            SortExpression="DateCoded" UniqueName="DateCoded">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateHeld" DataType="System.DateTime"
            FilterControlAltText="Filter DateHeld column" HeaderText="Date Held"
            SortExpression="DateHeld" UniqueName="DateHeld">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateReleased" DataType="System.DateTime"
            FilterControlAltText="Filter DateReleased column" HeaderText="Date Released"
            SortExpression="DateReleased" UniqueName="DateReleased">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
 
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
    </telerik:RadGrid>
 
 
</asp:Content>
Princy
Top achievements
Rank 2
 answered on 02 Nov 2011
2 answers
1.6K+ views
Hi,
In our application we are using rad window, In some cases we need to increase the height of window
as for ex: to show the error message we need to increase the height of window. But we do not want to increase the height of rad window by setheight or setsize command of rad window.
Instead of it is there any other way that set the rad window's height on the based on page contents? Is there any property that automatically set the height of rad window on the based on its page content ?

Thanks,
Jalpesh
Jeremy
Top achievements
Rank 1
 answered on 02 Nov 2011
1 answer
96 views
I need to create a menu/page that lists countries grouped by Continents.
What control would work best for this task?

Thanks.
Princy
Top achievements
Rank 2
 answered on 02 Nov 2011
1 answer
182 views
How can i change the font color of the text in filter textbox in radgrid filtering?
Shinu
Top achievements
Rank 2
 answered on 02 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?