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

Hi everyone.

This is the code

aspx

 

<

 

telerik:RadComboBox ID="rcmbPrioridad"

 

 

                                    runat="server"

 

 

                                    Skin="Mac"

 

 

                                    AutoPostBack="true"

 

 

 

                                    EmptyMessage=" -Seleccione prioridad- "

 

 

 

                                    MarkFirstMatch="True"

 

 

                                    TabIndex="1"

 

 

 

                                    Width="99%"

 

 

 

                                    ToolTip="Prioridad de pago">

 

 

 

     <Items>

 

 

 

         <telerik:RadComboBoxItem Value="0" Text="" />

 

 

 

         <telerik:RadComboBoxItem Value="1" Text="Normal" />

 

 

 

         <telerik:RadComboBoxItem Value="2" Text="Pago programado" />

 

 

 

         <telerik:RadComboBoxItem Value="3" Text="En espera" />

 

 

 

     </Items>

 

 

 

     <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

 

 </telerik:RadComboBox>

 

 

 

<telerik:RadComboBox ID="rcmbTipoPeriodo"

 

 

                                     runat="server"

 

 

                                    AutoPostBack="true"

 

 

                                    Skin="Mac"

 

 

                                    Width="99%"

 

 

 

                                    Height="230px">

 

 

 

    <CollapseAnimation Type="OutQuint" Duration="200" />

 

 

 

</telerik:RadComboBox>

vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not Page.IsPostBack Then

 

        Call pcHabilitaCtrlRegistro(False)
    End If

 

 

End Sub

 

Protected

 

Sub rcmbPrioridad_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles rcmbPrioridad.SelectedIndexChanged

    do something....

 

 

End Sub

 

Private

 

Sub pcHabilitaCtrlRegistro(ByVal bolCtrlLlave As System.Boolean

 

 

    rcmbTipoPeriodo.Enabled = bolCtrlLlave
End Sub

The problem is when I change te seleccion of  "rcmbPrioridad" control the code does the following
1- Page_Load event    (Its correct)
2- rcmbPrioridad_SelectedIndexChanged    (Its correct)
3- rcmbTipoPeriodo_TextChanged   (Thast the problem)

Why enter to 3 step if any control change text property of rcmbTipoPeriodo

Thank so much.
Jose Luis.

 

goku
Top achievements
Rank 1
 answered on 13 Oct 2010
16 answers
236 views

I am using radeditor’s old version and now i want to upgrade to new one.

I downloaded the trial version and problem I am facing is, when I insert any ‘<span’> tag in radeditor, and try to read  the content of radeditor I am getting <font> tag instead of <span> tag.

 

For ex.

$find("RadEditor1").set_html('<span> hi </span>');

alert($find("RadEditor1").get_html());

 

I am getting alert ‘<font>hi</font>’ instead of ‘<span>hi</span>’.

Rumen
Telerik team
 answered on 13 Oct 2010
1 answer
303 views
Hi,

I'm adding some columns to a grid dynamically and have a select column but it's rendering incorrectly.  See attached png for the problem, but essentially the select hyperlink is appearing inside the first column.

the markup is:

<telerik:RadGrid ID="RadGrid_FileView" runat="server" Height="318px" AllowSorting="true"
    AllowPaging="false" AllowFilteringByColumn="false" AutoGenerateColumns="false"
    OnItemCommand="RadGrid_FileView_ItemCommand" ShowStatusBar="true">
    <MasterTableView AutoGenerateColumns="false" DataKeyNames="FileSharepointID">
        <Columns>
            <telerik:GridButtonColumn HeaderText="" Text="Select" CommandName="Select" />
            <telerik:GridBoundColumn HeaderText="File" UniqueName="Filename" DataField="Filename" />
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="true" />
    </ClientSettings>
</telerik:RadGrid>
Geoff Ballard
Top achievements
Rank 1
 answered on 13 Oct 2010
4 answers
91 views
I have one RADwindow in my page and when ever i close it by clicking on asp .net button its showing all the items on the parent page selected. its like when you press Select All from keyboard.  Same things does not happen if i click on red close button on right top corner.
Neo
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
92 views

Hi,

how to add footer i.e. total sum of columns data in print.
it is displaying in grid but while printing that grid in msword that column in not coming.

please suggest.
Daniel
Telerik team
 answered on 13 Oct 2010
6 answers
488 views
Greetings,

I am attempting to access controls inside the EditItemTemplate Via a Javascript. It is a project requirement that I read the text of a text box as it is entered and based on that text hide and remove information. Below is the code I currently working with. Again, the text box is currently inside a RadListView EditItemTemplate. Any information would be most appreciated.

<telerik:RadTextBox runat="server" ID="myTextBox" Width="150px" Text='<%#Bind("Number")%>'>
<ClientEvents OnLoad="showPLC" OnKeyPress="showPLC" />
</telerik:RadTextBox>
 
<script language="javascript" type="text/javascript">
 
    function showPLC() {
 
        var eItem = $find('<%= RadListView1.Items[0] %>');
 
        if (eItem.IsInEditMode) {
 
            var num = eItem.FindControl("myTextBox").val();
            var bin = num.substring(0,6);
            if (bin == '577442') {
 
                eItem.FindControl("divEffect1").hide();
                eItem.FindControl("divEffect2").slideDown();
 
            } else {
 
                eItem.FindControl("divEffect1").slideDown();
                eItem.FindControl("divEffect2").hide();
            }
        }              
    }
 
</script>


Thank you for your time!
Shane
Top achievements
Rank 1
 answered on 13 Oct 2010
4 answers
293 views
Currently i am using telerik controls in webpart for sharepoint.I used radsliderItem control .even i have given referance along with changes in the web.config of sharepoint.But i am getting the error viz.,
error CS1705: Assembly 'Telerik.Web.UI, Version=2009.1.311.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Scenario:
I used this control in user control and added in control template folder in sharepoint and from that folder i am using usercontrol as webpart in sharepoint as such i am getting an error as mentioned above.

please help us...
Abrash
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
104 views
I have found the documentation for the radMenu CSS tags at http://www.telerik.com/help/aspnet-ajax/menu_appearancecssselectors.html. This documentation seems incomplete. I have looked in your latest RadControlExamples - Menu - Examples - Default - styles.css file and am finding tags like ".support-firstColumn", ".community-firstColumn" that are not listed on this web page. Are these menu tags and if so, is there an up-to-date listing of all the tags and a description of what they do?
Yana
Telerik team
 answered on 13 Oct 2010
3 answers
152 views
Hi,

Can someone send me a very basic working visual studio project web part using RADControls?
I am new at this and I am not sure if my AJAX is installed correctly.
Thank you!

Abrash
Top achievements
Rank 1
 answered on 13 Oct 2010
3 answers
88 views
Hey iam very new to sharepoint and telerik controls.

am using a site template to create a site which already has some custom telerik controls used on it.

so am using same template to create on another sub site on different sub site.

when i create the subsite with template , site got created , but when iam trying to open the site it says - An error occurred during the processing of . Could not load file or assembly 'Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.!

I know that telerik controls are not installed or added to the solution on the server.

can anyone take the pain and explain me how to add telerik controls to the wss3.0 solution?

Thanks In Advance!
Abrash
Top achievements
Rank 1
 answered on 13 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?