Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
322 views
When AllowMultiRowSelection is set to True, then it is not possible to select parts of the text from that grid (e. g. for copy/paste) when dragging the mouse over the required text. This behaviour can be seen in your online demo http://demos.telerik.com/aspnet-ajax/grid/examples/client/selecting/defaultcs.aspx. Maybe this is by design, because instead of selecting text you can select multiple rows with the mouse.

Bur I have a scenario where the user can select multiple rows by checking a checkbox in each row, so I don't need the ability to select rows using the mouse. Is it possible to configure he grid in a way that the user can select certain parts of the text?

[EDITED 2013-03-25:]
For those with the same problem: I just found the related post How to select cell value to clipboard?, where an answer is provided.
xws-mika
Top achievements
Rank 1
 answered on 26 Mar 2013
3 answers
118 views
I have installed Telerik_ASP_NET_Web_Parts_2013_1_220_for_SharePoint_2010_Dev.msi in my SharePoint 2010 farm and the web parts appeared on my web application page and i have added SPRadSchedular web part and followed all instructions to configure the required lists for this web part as shown here

I have Meeting rooms as a custom SharePoint list, and Meeting Room Booking Custom list that has the same fields required as shown in attached picture (List fields)
after complete all configurations required and try to use the web part i am facing these issues which make the web part doesn't work properly:
- New appointment advanced form doesn't come and there is no error appeared.
- Edit any added items doesn't show any form to edit the item.
- One time the new appointment form appeared (don't know how!) but it wasn't aligned well and i couldn't scroll the form.
- When i click on week view then month view they are working fine, but when i click day view again nothing appears (day view doesn't come again).
- Any action to be taken in the web part causes the web part to change it's width (become smaller) (Web part re-sizing) and stop responding !!


Plamen
Telerik team
 answered on 26 Mar 2013
1 answer
314 views
Hi,
The chunk upload is not working I am getting whole file as post, I want the uploader to post file to the handler in chunk of 128kb.There is no example for Chunk upload. I also don't want to upload file to the local folder.I just want the chunk information in the handler.

If any help can be provided it would be very helpfull.
 <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" HttpHandlerUrl="~/Handler.ashx"
               OnClientFileUploaded="fileUploaded" OnClientFileUploadRemoving="fileUploadRemoving"
               MultipleFileSelection="Automatic" AllowedFileExtensions="jpeg,jpg,gif,png,bmp,zip"  ManualUpload="true"     />



Handler code
protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
    {
        // Call the base Process method to save the file to the temporary folder
        // base.Process(file, context, configuration, tempFileName);

        // Populate the default (base) result into an object of type SampleAsyncUploadResult
        SampleAsyncUploadResult result = CreateDefaultUploadResult<SampleAsyncUploadResult>(file);
            string filename=file.GetName();

And also large files approx 100 mb are not uploading. I have put the maxRequestLength="102400" executionTimeout="3600" in web config also

Please help.
Hristo Valyavicharski
Telerik team
 answered on 26 Mar 2013
10 answers
446 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
476 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
140 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
116 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
171 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
134 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
199 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?