Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
50 views

Hi,
I have few combo boxes in the page with checkbox enabled. The combo item text is not showing up initially when the page loads. I have a reset button in the page, on which I just clear the selections of combo. After reset click, all the items are showing as expected. If i disable the checkbox for a combo box, then the combo item text is showing correctly during the initial load itself. Not sure what is wrong with the code ?

<telerik:RadComboBox ID="LevelMultiList" runat="server" DropDownWidth="320px" AutoCompleteSeparator=";" CheckBoxes="True"  CssClass="id-LevelMultiList" EmptyMessage=" " HighlightTemplatedItems="true" AccessibilityMode="true">
     <ExpandAnimation Type="OutBack" Duration="300" />
     <CollapseAnimation Type="InBack" Duration="200" />
</telerik:RadComboBox>

 

Thanks

Kumaran

Eyup
Telerik team
 answered on 14 Apr 2016
3 answers
329 views

The radgrid below is a shorter version of the one I'm working on.  I need to make "CYF_UNITS_JAN" ReadOnly by code behind.

Note the EditMode of the grid is Batch and EditType is Row.

How do you access the ReadOnly="True" property in code behind while the grid is being edited this way?  I've tried a few methods but it doesn't seem to be working.

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowAutomaticUpdates="True">
    <MasterTableView DataKeyNames="ID" DataSourceID="SqlDataSource1" EditMode="Batch">
        <CommandItemSettings ShowAddNewRecordButton="False" ShowSaveChangesButton="True" />
        <BatchEditingSettings EditType="Row"/>
        <Columns>
            <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" FilterControlAltText="Filter ID column" HeaderText="ID" ReadOnly="True" SortExpression="ID" UniqueName="ID" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="SalesPersonNo" FilterControlAltText="Filter SalesPersonNo column" HeaderText="SalesPersonNo" SortExpression="SalesPersonNo" UniqueName="SalesPersonNo" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ItemCode" FilterControlAltText="Filter ItemCode column" HeaderText="Item Code" SortExpression="ItemCode" UniqueName="ItemCode" ReadOnly="true">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CYF_UNITS_JAN" DataType="System.Int32" FilterControlAltText="Filter CYF_UNITS_JAN column" HeaderText="CY JAN" SortExpression="CYF_UNITS_JAN" UniqueName="CYF_UNITS_JAN" DataFormatString="{0:n2}">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CYF_UNITS_FEB" DataType="System.Int32" FilterControlAltText="Filter CYF_UNITS_FEB column" HeaderText="FEB" SortExpression="CYF_UNITS_FEB" UniqueName="CYF_UNITS_FEB" DataFormatString="{0:n2}">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Viktor Tachev
Telerik team
 answered on 14 Apr 2016
1 answer
328 views

Hi!

    I use popup edit mode for Add New button in the Grid, as below

  <EditFormSettings UserControlName="../UserControl/Detail.ascx" EditFormType="WebUserControl" PopUpSettings-Height="300px" PopUpSettings-Width="350px"><EditColumn UniqueName="EditCmdFrm"></EditColumn>

   I need to know how to set the position for popup windows close[x] button, as my [x] close button not displaying correctly on the screen, see attached file.

Thanks in advance!

SH

Viktor Tachev
Telerik team
 answered on 14 Apr 2016
1 answer
146 views

Here's what I want to do. I want to upload one large image, a map for example, and then upload a smaller one on top, like an arrow to point to something.

I'm uploading the first image with the asyncuploader control and it's being put into the image editor correctly, but when I go to upload the smaller one it replaces the original image instead of being layered on top.  I am using png's for transparency. 

I think this happens because of this line in the asyncupload fileuploaded event

RadImageEditor1.ResetChanges( );

 

I tried removing the line and it breaks the ability to upload an image into the editor.

 

Any help towards getting my desired functionality would be greatly appreciated. 

Vessy
Telerik team
 answered on 14 Apr 2016
2 answers
65 views

Hi,

I have few combo boxes in the page with checkbox enabled. The combo item text is not showing up initially when the page loads. I have a reset button in the page, on which I just clear the selections of combo. After reset click, all the items are showing as expected. If i disable the checkbox for a combo box, then the combo item text is showing correctly during the initial load itself. Not sure what is wrong with the code ?

<telerik:RadComboBox ID="LevelMultiList" runat="server" DropDownWidth="320px" AutoCompleteSeparator=";" CheckBoxes="True"  CssClass="id-LevelMultiList" EmptyMessage=" " HighlightTemplatedItems="true" AccessibilityMode="true">
<ExpandAnimation Type="OutBack" Duration="300" />
                                                    <CollapseAnimation Type="InBack" Duration="200" />
</telerik:RadComboBox>

Kumaran
Top achievements
Rank 1
Iron
 answered on 14 Apr 2016
4 answers
199 views

Hi,

I have kept RadTabStrip inside asp.net user control

<Telerik:RadTabStrip ID="RadTabStrip1" runat="server" AutoPostBack="True" TabDisplayMode="MultiRow" OnLoad="RadTabStrip1_Load" EnableEmbeddedSkins="true"></Telerik:RadTabStrip>

and loading it from an xml file in RadTabStrip1_Load event.

<TabStrip>
<Tab ID="Event Summary" Text="Event Summary" Value="summary.aspx"/>
<Tab ID="About Us" Text="About Us" Value="about.aspx"/>
<Tab ID="Documents" Text="Documents" Value="docs.aspx" IsBreak="True"/>
<Tab ID="Contact Us" Text="Contact Us" Value="contact.aspx"/>
........
</TabStrip>

I am setting RadTabStrip's SelectedIndex property in Page_PreRender method, and On RadTabStrip1_TabClick event I am navigating to different aspx pages.

What I encounter is; after couple of clicks on different tabs, when I click on any tab that renders after IsBreak (ex. Contact Us) and then again click on any tab before IsBreak (ex. Event Summary), tabstrip goes away. It just doesn't render at all.

I also tried to debug. It is hitting Load, PreReder methods but not TabClick in case of failure. Below is the error I get:

Telerik.Web.UI.RadTab.set_Selected(Boolean Value)....

Environment:

Browser: IE11

Telerik UI for ASP.Net Ajax Q1 2016

Visual Studio 2015

Windows Server 2012 R2

Note: I migrated it from Telerik Classic to Telerik UI for ASP.Net Ajax, and it was working fine before.

Please Help.

 

Veselin Tsvetanov
Telerik team
 answered on 14 Apr 2016
5 answers
577 views
Hello,

I'd like to remove the tooltip "Aucun fichier choisi" for the Select button.

Thanks!
Bozhidar
Telerik team
 answered on 14 Apr 2016
2 answers
136 views

We have had problems with RadAsyncUpload in IE11 where it will give a yellow dot and freezes when uploading files.  This has been happening since our users started using IE11 (on Windows 8.1).  Previously they used 10 without issue.

This does not happen if we direct them to Chrome.  The only way around it we have found is to turn off the FileApi Module for IE.  We do utilize drag and drop so when that module is disable that functionality is lost.  I am using the latest version of the controls 2016 Q1.

I also tried to emulate IE10, but that does NOT solve the issue.  We run with ie=edge meta tag.

The problem is intermittent and I have not been able to reproduce it myself.  I have seen some similar threads on problems like this including this one: http://www.telerik.com/forums/radasyncupload-1fc6f6296712

Is there any kind of known issue or workaround?  It is difficult to troubleshoot given the intermittent nature.

<telerik:RadAsyncUpload  Skin="Default" OnClientFilesUploaded="saverecord" ID="faupload" runat="server"
        MultipleFileSelection="Automatic" TargetFolder="\\xxxxxx\xxxxxx"
        Width="221px" PostbackTriggers="bSave,bSave2" 
        DropZones="#DropZone2">
    </telerik:RadAsyncUpload>

Veselin Tsvetanov
Telerik team
 answered on 14 Apr 2016
4 answers
377 views
Hey guys,

I want to check if the different radwizard steps are valid using their validation group.

The problem that I am having is since I have RenderedSteps="Active", the other steps are not being shown and I cannot use Page.Validate.

Example:

I have four Steps: Step0, Step1, Step2,Step3

I am currently in step0 and click on the navigation bar to go to Step3

        public void radwizardControl_NavigationBarButtonClick(object sender, Telerik.Web.UI.WizardEventArgs e)
        {
            //We're only going to save information if the user is moving forward, not going back
            if (e.CurrentStepIndex < e.NextStepIndex)
            {

                for (int iIterator = e.CurrentStepIndex + 1; iIterator < e.NextStepIndex; iIterator++)
                {
                    Page.Validate(ListOfValidationGroups[iIterator]);
                    if (!Page.IsValid)
                    {
                       radwizardControl.ActiveStepIndex = iIterator;
                        break;
                    }
                }
           }
       }

But as I said, the problem lies that when I try to validate a group that isn't rendered, Page.IsValid will always return true.


Is there any way around this?

Plamen
Telerik team
 answered on 14 Apr 2016
10 answers
147 views

similar to this thread regarding CSV export - http://www.telerik.com/forums/csv-export-not-exporting-commanditem-template

my CommandItemTemplate looks like below but only the first control(radlabel) appears in the PDF?

<CommandItemTemplate>

            <telerik:RadLabel ID="RadLabel1" runat="server" Text="Statement" Font-Size="X-Large"></telerik:RadLabel>
            <br />
            <telerik:RadLabel ID="lblDate" runat="server"></telerik:RadLabel>
            <br />
            <hr />
            <table width="100%">
                <tr>
                    <td align="left">
                        <telerik:RadLabel ID="lblflname" runat="server" Font-Bold="true"></telerik:RadLabel>
                    </td>
                    <td align="right">
                        <telerik:RadLabel ID="lblpractLFNAME" runat="server"></telerik:RadLabel>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        <telerik:RadLabel ID="lblClientAddress1" runat="server"></telerik:RadLabel>
                    </td>
                    <td align="right">
                        <telerik:RadLabel ID="lblPractAddress1" runat="server"></telerik:RadLabel>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        <telerik:RadLabel ID="lblClientAddress2" runat="server"></telerik:RadLabel>
                    </td>
                    <td align="right">
                        <telerik:RadLabel ID="lblPractAddress2" runat="server"></telerik:RadLabel>
                    </td>
                </tr>
            </table>
        </CommandItemTemplate>

Konstantin Dikov
Telerik team
 answered on 14 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?