Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
Is there any way to add/remove tab on the fly, similar to how Firefox and IE 7 handles tab?
Shinu
Top achievements
Rank 2
 answered on 06 May 2009
2 answers
153 views
Hi,

I want to use on of the following properties : Value/Small Change/Large Change
with a step size greater than 0 and less than 1.
How do i accomplish that?

Thank you!

<tr>
                            <td>
                                <telerik:RadSlider ID="SldTxtNrParts" runat="server"
                                    MaximumValue="20" OnClientValueChange="ChangeNumeric" Skin="Vista"
                                    ItemType="Tick" LargeChange="5" Height="30px">
                                </telerik:RadSlider>
                            </td>
                            <td>
                                <telerik:RadNumericTextBox ID="TxtNrParts" Runat="server"
                                Culture="French (France)" MinValue="0" MaxValue="20" ShowSpinButtons="True"
                                    Value="0">
                                    <IncrementSettings Step="0.5" />
                                    <FocusedStyle BorderColor="#663300" backcolor="#FF9900" borderstyle="Solid" />
                                    <NumberFormat DecimalDigits="1" />
                                    <ClientEvents OnValueChanged="ChangeSlider"/>
                                </telerik:RadNumericTextBox>
                            </td>

So, :) I want to bind a slider with a numeric control.
Calin
Top achievements
Rank 1
 answered on 06 May 2009
0 answers
66 views
Hi Telerik,

I am using ajax rad tree view in my project. And we have the requirement of node drag & drop functionality. 
And in OnClientNodeDropping event  I have written one function to change the source node text. After that I need to get the updated text at server side. But I am not getting the updated text from the source node at code behind.

Sample code:
 

<

 

telerik:RadTreeView ID="RadTreeView1" MultipleSelect="false" OnNodeDrop="RadTreeView1_HandleDrop" EnableDragAndDropBetweenNodes="true"  EnableDragAndDrop="true"

 

OnClientNodeDropping="onNodeDropping"  EnableViewState="true" runat="server">

 

</telerik:RadTreeView>
---------------------------------------------------
function onNodeDropping(sender, args)

 

 

 {

 

 

args.get_sourceNode().set_text(args.get_sourceNode().get_text() +

"_" + args.get_sourceNode().get_value());

 

  }
---------------------------------------------------
In the below event I need to access the updated text. But When I try access the sourceNode.text, it is giving old text only
 

 

Protected Sub RadTreeView1_HandleDrop(ByVal sender As Object, ByVal e As RadTreeNodeDragDropEventArgs) 

 

    Dim sourceNode As RadTreeNode = e.SourceDragNode

 

 

 

    Dim destNode As RadTreeNode = e.DestDragNode

 

End Sub

Please help me to get the updated text in code behind.
 

 

 

 

Thanks in advance
Balaji Velasiri

 

 

 

 

 

 

Balaji
Top achievements
Rank 1
 asked on 06 May 2009
1 answer
108 views

Hi,

I have Rad Combo box with scroll bar to handle Long Name. It wors fine in IE 7. 

But in IE 6 it does not show scroll bar . 

Request you to please suggest.

----------------------------------Code Snippet -------------------------------------------

 

 

<td style="width: 90%">

 

 

 

 

 

<rad:RadComboBox ID="Combo1" Height="100px" Width="40%" runat="server" AllowCustomText="false"  Skin="Outlook"

 

 

 

 

MarkFirstMatch="false"   AutoPostBack="false">

 

 

 

 

 

</rad:RadComboBox>

 

 

 

 

 

</td>

 

 

 

-----------------------------------------------------------------------------

Thanks and regards,
Manish Patel 

Princy
Top achievements
Rank 2
 answered on 06 May 2009
10 answers
214 views
Dear Telerik Team

    i have a function that is previously written by others that requires me to pass in the parameter as system.ui.html.controls.html.inputfile

Public Shared Function fileUpload(ByVal file As System.Web.UI.HtmlControls.HtmlInputFile, ByVal documentType As Enums.DocumentType) 

   is there anyway that i can write it to cast the selected file as HTMLINPUTFILE . ?? so that i can pass it in....

    my code is as follows
   
            For Each File As UploadedFile In RadUpload1.UploadedFiles 
 
                Dim filename As String = File.GetName 
 
                '//Cast file name 
 
            Next 
  

Kenneth Ng
Atanas Korchev
Telerik team
 answered on 06 May 2009
1 answer
504 views
Hi,
 I have added button to the footer of the datepicker. When i click on it it calls the "onclientclick" event which populate the today date on the dateinput space and close the datepicker. The issue is,after the after the datepicker is closed there is a automatic postback. I tried to do partialpostback with update panel which did not work too.Please let me know how I can solve the issue and not have automatic postback.

<FooterTemplate>
                             <asp:ImageButton ID="IBToday" runat="server" OnClientClick="SelectToday()" ImageUrl="~/Skins/Web20/Calendar/MonthYearTodayBtn.gif" />
 </FooterTemplate>

function SelectToday()
{
    var currentDate = new Date()
    var picker = $find("<%= datepicker1.ClientID %>");
    picker.set_selectedDate(currentDate);   
    picker.hidePopup();       

}
Princy
Top achievements
Rank 2
 answered on 06 May 2009
1 answer
81 views
Hi telerik,
I've recognized a Bug when defining the path of ImageManager:
This lines of code gives a blank ImageDialogBox:
var strArray = new[] { "~/Upload/a8991277-77b6-4f8c-922a-a61d6fdc181e/02f99ae0-f2b5-4135-b58e-9a6a9205345b/" };  
editor.DialogHandlerUrl = "~/Telerik.Web.UI.DialogHandler.axd";  
//
editor.ImageManager.ViewPaths = editor.ImageManager.UploadPaths = editor.ImageManager.DeletePaths = strArray; 
Possibly reason: The length of the string seems to have a limited length.
By the way: The DocumentManager is OK.

Regards,
Andreas
Lini
Telerik team
 answered on 06 May 2009
1 answer
51 views
Hi, I'm deploying rad control on a Moss farm, I put the Telerik.Web.UI.dll in the server GAC. It work fine but what about the other files in the bin35  : Telerik.Web.Design.dll and Telerik.Web.UI.XML. What are they use for and do I need to put them on the server or only on the developper machine? Thanks
Ivo
Telerik team
 answered on 06 May 2009
1 answer
75 views
Hello,
i am really not a programmer but making an attempt. using visual web developer and radcontrols.
I am trying to build a dashboard with left side full of parameters using different controls like radtree, radcombo, radcalender, radslider. and the main page will have matrix of charts 8 to 12 and may be radgrids.
individually i know how all the controls work but i am unable to bring them together.

questions
1. i want to keep the parameters window on left separate from the charts. right now when i expand tree the whole page goes up and down with it.
2. i dont know whats good way to layout all charts and grid on main page.

any help will be greatly appreciated.
thank you

Prakash
Princy
Top achievements
Rank 2
 answered on 06 May 2009
4 answers
143 views
Unless I'm mistaken, we don't have a Progress Bar control in the Telerik suite.... is there one planned?

Steve
Ivo
Telerik team
 answered on 06 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?