Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
202 views
I have two Master/Detail RadGrids.
In the Master grid I would like to enable batch editing.

In order to get the Detail grid to update when I click a row in the Master grid, I need to have the EnablePostBackOnRowClick equals true.

But I can only get batch editing working it the EnablePostBackOnRowClick is false.

Am I missing something, or is it not possible to get Master/Detail and batch editing to work together?

Best regards,
Wessel
Viktor Tachev
Telerik team
 answered on 16 May 2014
1 answer
133 views
Hi,

when I upgrade the telerik version from 2012 to 2014 q1, it shows text 'hidden label' in RadSchedulerRecurrenceEditor as shown in image in my project, How can i remove that label?

thanks

Nencho
Telerik team
 answered on 16 May 2014
1 answer
88 views
Hi,

The problem I have is related to the RadGrid pager which is displayed in two lignes. I want to have it on one line. Do you have any suggestions to resolve this problem.
Please see the attached file.
Princy
Top achievements
Rank 2
 answered on 16 May 2014
32 answers
2.2K+ views
To whom it may concern:

Extremely weird, I try to add and remove user controls in an ASP Panel of the content page depending on an Ajax request from the navigation bar. There is no problem to load user controls dynamically in the code. However, when the user selects through the navigation bar, an Ajax request is sent to the content page wrapped in an Ajax panel for updating. At this point the last loaded user control is removed, and the user selected user control is added to the ASP Panel. All good, but JavaScript wrapped inside RadCodeBlock on the latest selected user control is not loaded. One thing worthwhile mentioning is that I load the second user control in the PreRender because AjaxRequest was triggered after the Load event and I need to flag the second control in the AjaxRequest handler for loading. I even try to use RegisterClientScriptBlock to register those JavaScripts in the code behind, but still doesn't work.

William Feng
Tonino
Top achievements
Rank 1
 answered on 16 May 2014
4 answers
212 views
function OnClientFileSelected(sender, args) {
    if ($telerik.isIE) {
        var input = args.get_fileInputField();
        if (sender.isExtensionValid(input.value)) {
            var img = document.createElement("img");
            var thumbnail = document.getElementById("thumbnail");
            thumbnail.appendChild(img);
            if (img) {
                img.style.visibility = "";
                img.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = input.value;

            }
        }
    }
    else {

        var file = args.get_fileInputField().files.item(args.get_rowIndex()); 
        if (!file) {
           showThumbnail(droppedFile);
        }
        else {
            showThumbnail(file);
        }
    }

}



function showThumbnail(file) {


    var image = document.createElement("img");
    var thumbnail = document.getElementById("thumbnail");
    image.file = file;
    thumbnail.appendChild(image);

    var reader = new FileReader()
    reader.onload = (function (aImg) {
        return function (e) {
            aImg.src = e.target.result;
        };
    }(image))
    var ret = reader.readAsDataURL(file);
    var canvas = document.createElement("canvas");

    ctx = canvas.getContext("2d");
    image.onload = function () {
        ctx.drawImage(image, 100, 100);
    }

}

 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                        <telerik:RadAsyncUpload ID="UploadImage" runat="server" 
                            
                            onfileuploaded="UploadImage_FileUploaded"   
                            MultipleFileSelection="Disabled"
                            OnClientFileSelected="OnClientFileSelected"
                            OnClientFileUploadRemoved="OnClientFileUploadRemoved"
                            MaxFileInputsCount="1"
                            AllowedFileExtensions="jpg,jpeg,png,gif" MaxFileSize="51200" 
                            ViewStateMode="Enabled">
                        </telerik:RadAsyncUpload>
                 </ContentTemplate>
             </asp:UpdatePanel>
I am using the above code to preview the uploaded image.but it is not working in IE .
This statement is returning null ."var input = args.get_fileInputField();"
Please help me .
Thanks in Advance
Plamen
Telerik team
 answered on 16 May 2014
1 answer
116 views
I have recently tried to change the forms authentication tag on my
web.config and i noticed that all the radmenus now have disappeared, i then
change back the web config and remove the domain attribute and they
work now normal.
Do anyone knows why this happens?


    <authentication mode="Forms">
      <forms name="appname" loginUrl="login.aspx" timeout="480" domain="domain.com" />
    </authentication>
Plamen
Telerik team
 answered on 16 May 2014
3 answers
114 views
Hi,
      I am using RadTimepicker. i have assigned the end time but the end time is not shown in the timevew of radtimepicker. please provide me a solution to show the End time in Timeview of radtimepicker.




Thanks
Shinu
Top achievements
Rank 2
 answered on 16 May 2014
7 answers
195 views

Hi,

      

 I have a radeditor  in my page. It works and looks fine in firefox and opera but it will display  in IE as an another control. I attached the screen shots of 3 browser.

Thanks

Velkumar

   

Ianko
Telerik team
 answered on 16 May 2014
3 answers
174 views
This pertains to version 2012.2.912.40 of the controls. Sorry I cannot update them.

I converted the edit and delete links in my grids to image buttons and now I get the following error when I click one of the buttons. 

  Multiple controls with the same ID 'EditButton' were found. FindControl requires that controls have unique IDs.

I have multiple grids in page views but they are all pretty much set up like this one just with different columns.
<telerik:RadGrid ID="grdPhones" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" CssClass="infoGrid" SkinID="TSSGridEditable">
   <MasterTableView>
      <Columns>
         <telerik:GridBoundColumn FilterControlAltText="Filter Number column" HeaderText="Number" UniqueName="phoneNumber" DataField="phoneNumber">
         </telerik:GridBoundColumn>
         <telerik:GridBoundColumn FilterControlAltText="Filter Type column" HeaderText="Type" UniqueName="phoneType" DataField="phoneType">
         </telerik:GridBoundColumn>
         <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" EditText="Edit" EditImageUrl="~/Images/tb_edit.gif" ButtonType="ImageButton" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="25px" HeaderStyle-Width="25px">
         </telerik:GridEditCommandColumn>
         <telerik:GridEditCommandColumn UniqueName="DeleteCommandColumn" EditText="Delete" EditImageUrl="~/Images/delete16.gif" ButtonType="ImageButton" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="25px" HeaderStyle-Width="25px">
         </telerik:GridEditCommandColumn>
      </Columns>
   </MasterTableView>
</telerik:RadGrid>

and the skin code but it's pretty simple

<telerik:RadGrid runat="server" SkinID="TSSGridEditable">
   <MasterTableView EditMode="PopUp" CommandItemDisplay="Top">
   </MasterTableView>
</telerik:RadGrid>

How do I get around this or is there a different way to implement images?

Shinu
Top achievements
Rank 2
 answered on 16 May 2014
5 answers
110 views
When an option in the panelbar is too long to fit on one line, it correctly wraps to a second line.

However, the CSS for the 'default' skin doesn't take that into account. It only highlights the 1st line. And since the text color is white, the text on the second line is not visible then (white on white).

This issue is not present in all color schemes. WebBlue for instance is just fine.

How can we fix this issue in the 'default' scheme?
Shinu
Top achievements
Rank 2
 answered on 16 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?