Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
427 views
Hi,

-NODE A
             - NODE AA
             - NODE BB
|
|
|
|
|
|
|
+NODE B
  

AFTER CLICK


+NODE A
                
|
|
|
|
|
|
|
-NODE B
           -NODE BB  <--------   SCROLL TO THIS NODE

 

When I click on node on treeview, from the server side node Click event I want to find a given node like this.
 VarNode = RadTreeView2.FindNodeByValue("31138") and if it has children I expand it and select the leaf.
Then what I cannot achieve is to scroll to the selected node

Any idea?

 

Thanks

 

Thanks



       
 
Plamen
Telerik team
 answered on 26 Mar 2013
5 answers
433 views
Hi,
can i use RadToolTip for to see the message for each radtextbox is empty? And how can do it?

I would that if one textbox is empty, the radtooltip appear next to the item. All from code behind as if it were a message infomation.

Bye
Princy
Top achievements
Rank 2
 answered on 26 Mar 2013
2 answers
131 views
Hello 
I have Multi-Column Combobox with Enabled Filter="Contains"
I have to search Sub 
First Search By ProductID which  is combobox.selecteditem.value 
and Second is Search By SerialNo which is combobox.text 

I did everything but it dosn't work it's work either for ProductID search or for SerialNo Search 

I am calling the Search By Combobox Textchange event. 

Regards 

Hristo Valyavicharski
Telerik team
 answered on 26 Mar 2013
7 answers
106 views
Currently working on the UI design for help documentation that will be created using RadEditor. I would like to include progressive disclosure of details in the guidelines, but I'm not sure if it is easily supported by Rad Editor.

What do I mean by progressive disclosure?

For example the screen might by default display:

Work instruction title
Why do we do this?

Step 1: Instruction step 1...


If the person reading the instruction is interested in Why we do this and clicks on this "link" then the screen would update as below:

Work instruction title
Why do we do this?
By following this process we decrease the company liability in case of accident.

Step 1: Instruction step 1...


The idea is to keep the instructions as simple as possible but provide details in an easily accessible non-disruptive way. (the instructions are already written and in some case the text in italics is several paragraphs).

The person migrating the content is not a programmer. Is there an easy way for them to put this type of interaction into a document using RadEditor?

Thanks in advance.
Rumen
Telerik team
 answered on 26 Mar 2013
1 answer
161 views
hello, qaundo load radupload in a radwindow, the width of radupload see well, if I close and reopen the radwindow, the width of radupload is changed automatically decreased. You can also see the two pictures I posted before and after. I also write the code that is in use in aspx code behind to open the radwindow.
<telerik:RadWindow ID="RadWindowLoadprofile" runat="server"
ShowContentDuringLoad="false" Width="452px" Height="280px" Style="z-index: 8000"
Title="Caricamento immagine profilo" Behaviors="None" Modal="True" AutoSize="true"
Behavior="None" Font-Names="Verdana" Font-Size="Small" IconUrl="/image/iconlogo.png"
Skin="Office2010Silver" ReloadOnShow="false" VisibleStatusbar="False"
RestrictionZoneID="NavigateUrlZone" EnableViewState="False">
<ContentTemplate>
<div class="Divloadprofile">
<div id="upload" class="Divloadprofile1">
<telerik:RadAjaxPanel ID="RadAjaxPanelProfile" runat="server" HorizontalAlign="Center" ClientEvents-OnRequestStart="conditionalPostback">
<table style="border: 0px; margin: 0px; padding: 0px; width: 395px; text-align:center">
<tr>
<td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; padding-top: 5px; text-align: center; height:23px">
<asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="validateRadUpload"
ErrorMessage="File errato" ValidationGroup="carica"></asp:CustomValidator>
</td>
</tr>
<tr>
<td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; padding-left:60px; vertical-align: top;">
<telerik:RadUpload ID="RadUpload1" Runat="server" Width="280px" InputSize="35"
AllowedFileExtensions=".jpg,.jpeg,.png,.gif" OverwriteExistingFiles="True"
TargetFolder="image/image_utenti" ControlObjectsVisibility="None"
Height="22px" style="text-align: left" Skin="Sunset"
MaxFileSize="3000000">
<Localization Select="Cerca" />
</telerik:RadUpload>
</td>
</tr>
<tr>
<td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; vertical-align: top; height: 50px">
<div class="Divinfoupload">
Il file deve avere le seguenti estensioni: jpg, jpeg, png, gif<br /> Il file
deve avere una grandezza massima di 3 Mb.<br /> Risoluzione ottimale
consigliata: 128x128 pixel.
</div>
</td>
</tr>
</table>
<div style="width:395px; padding-top: 10px">
<table style="width: 100%;">
<tr>
<td style="text-align:center">
<asp:ImageButton ID="Imgbtncarica" runat="server" ImageUrl="~/Image/Upload.png"
ValidationGroup="carica" />
</td>
<td style="text-align:center">
<asp:ImageButton ID="Imgbtnesci_6" runat="server" ImageUrl="~/Image/esci1.png" />
</td>
</tr>
</table>
</div>
</telerik:RadAjaxPanel>
</div>
<div id="conferma" class="Divloadprofile1" style="padding-top:10px;display:none">
<div>
<asp:Image ID="Imgprofile_2" runat="server" ImageUrl="~/Image/avatar.png" Height="250px" Width="250px" CssClass="AnteprimaImgmaxsize"/>
</div>
<div style="width:395px; padding-top: 10px">
<table style="width: 100%;">
<tr>
<td align="center">
<asp:ImageButton ID="Imgbtnesci_7" runat="server" ImageUrl="~/Image/esci1.png" />
</td>
</tr>
</table>
</div>
</div>
</div>
</ContentTemplate>
</telerik:RadWindow>

code behind:

Dim script As String = "function f(){$find(""" + RadWindowLoadprofile.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "key", script, True)

Plamen
Telerik team
 answered on 26 Mar 2013
1 answer
120 views
Hi everybody!
I'm trying to develop a custom add user form with telerik controls for asp .net.

here is my code:
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server" >
    <AjaxSettings>
         <telerik:AjaxSetting AjaxControlID="btnSaveAdd" EventName="Click">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="fields" UpdatePanelRenderMode="Block" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="txtAddUsername" EventName="OnTextChanged" >
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="txtAddUSername" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<div>
    <asp:Panel id="fields" runat="server">
        <div class="addUserRow">
            <label>Username</label>
            <telerik:RadTextBox runat="server" ID="txtAddUsername" ClientIDMode="Static" OnTextChanged="txtAddUsername_TextChanged" AutoPostBack="true"></telerik:RadTextBox>
        </div>
        <div class="addUserRow">
            <label>Alias</label>
            <telerik:RadTextBox runat="server" ID="txtAddAlias" ClientIDMode="Static"></telerik:RadTextBox>
        </div>
        <div class="addUserRow">
            <label>Passowrd Temporanea</label>
            <telerik:RadTextBox runat="server" ID="txtAddPsw" ClientIDMode="Static"></telerik:RadTextBox>
        </div>
        <div class="addUserRow">
            <label>E-Mail</label>
            <telerik:RadTextBox runat="server" ID="txtAddMail" ClientIDMode="Static"></telerik:RadTextBox>
        </div>
        <div class="addUserRow">
            <label>Ruolo</label>
            <asp:DropDownList runat="server" ID="sltRole" ClientIDMode="Static"></asp:DropDownList>
        </div>
        <div class="addUserRow radioRow">
            <label>Tipo</label>
            <input type="radio" name="userType" value="Privato" class="btnRadio" id="rdPrivate" />privato
            <input type="radio" name="userType" value="Azienda" class="btnRadio" id="rdCompany" />Azienda
        </div>
        <div class="addUserRow">
            <label>Ragione Sociale</label>
            <telerik:RadTextBox runat="server" ID="txtAddRagSoc" Enabled="false" ClientIDMode="Static"></telerik:RadTextBox>
        </div>
        <div class="addUserRow">
            <label>Nome</label>
            <telerik:RadTextBox runat="server" ID="txtAddName" Enabled="false" ClientIDMode="Static"></telerik:RadTextBox>
        </div>
        <div class="addUserRow">
            <label>Cognome</label>
            <telerik:RadTextBox runat="server" ID="txtAddSurname" Enabled="false" ClientIDMode="Static"></telerik:RadTextBox>
        </div>
    </asp:Panel>
    <div class="buttonStripAdd">
        <telerik:RadButton runat="server" ID="btnCancelAdd" OnClientClicked="MyAxitea_Settings.CloseAddWin" Text="Annulla"></telerik:RadButton>
        <telerik:RadButton runat="server" ID="btnSaveAdd" OnClick="btnSaveAdd_Click" Text="Salva" UseSubmitBehavior="true" AutoPostBack="true" SingleClick="true"></telerik:RadButton>
    </div>
</div>

and I have some issues.

First of all I can't get any value inserted on client side on textboxes...
on page_load (if !IsPostBack) i write some random data inside textboxes, then I modify it and on save click I'm not able to get the modified value.
any idea? 

furthermore, if I remove SingleClick="true" I'm not even able to hit my breakpoint on btnSaveAdd_Click...
If I use SingleClick the button never gets back in enable state after first click...
in the end I added an OnTextChanged event to a textbox but I didn't manage to hit the handler on server side...
what am I doing wrong?

this code is inside an user control that will shows up on a kendo windows...while if I place this code in a brand new page it works...

Thanks 



Andrey
Telerik team
 answered on 26 Mar 2013
1 answer
187 views
Hi All,

I have the following requirement. I have a RadGrid in the payment page. I want to automatically update the Grid with new data every five minutes when it is displayed. I tried adding the timer control directly to the AJAX settings as updated control but it didnt worked. It would be helpful if anyone provides a sample solution.

Thanks in advance,
JC.
Princy
Top achievements
Rank 2
 answered on 26 Mar 2013
4 answers
2.1K+ views
HI,
i have two rad datepicker  control. i want to valiate that User-entered date range should not exceed 90 days from the startdate using javascript. any one help me.
thx
chandrasekarank
Nital
Top achievements
Rank 1
 answered on 26 Mar 2013
1 answer
180 views
Hi,

There is a RadTextBox in my web page in which I want to perform a client side validation as the user enters text. So for the same, I have attached the OnValueChanged event but its not firing as the user types some text. Any help or suggestion?

Thanks,
Tia
Princy
Top achievements
Rank 2
 answered on 26 Mar 2013
1 answer
131 views
Hi,

Please let me know whether the RadTextBox provides support for the new HTML5 input types such as Number, Date etc.

Thanks,
Tia.
Princy
Top achievements
Rank 2
 answered on 26 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?