Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
105 views
Currently, when I load a RadGrid, I'm able to get the parent rows to all be editable by using the following code in the PreRender event:
for (int i = 0; i < RadGrid1.PageSize; i++) {
    RadGrid1.EditIndexes.Add(i);
}
RadGrid1.Rebind();

However, my RadGrid has a self-heiracrchy and when I drop down to the next level, and all subsequent levels, those rows are read only.  But, the parents are still editable.

My question has two parts.  First, how can I get the children, grandchildren, etc. to be editable?  And, if I don't have paging enabled, how can I get these rows to be editable (i.e. RadGrid1.PageSize isn't set).

Thanks!!

Jeremy
Jayesh Goyani
Top achievements
Rank 2
 answered on 22 Mar 2012
3 answers
394 views
Hi

I have created the website using the Telerik controls. I have created the package and i have installed in my client machine. Its working fine previously. Now i have made some changes and i have created the package again, and installed in the same machine. During that time my Telerik controls are not working properly.

1. First Its showing the error1.jpg
2. if i remove <Telerik:Button>  from the skin. i was able to login to the site.
3. But now my telerik controls are not visiable. see the error2.jpg for the problem. see original.jpg for the real look.

Regards
Nithya
Slav
Telerik team
 answered on 22 Mar 2012
6 answers
575 views
I'm populating my RadGrid.DataSource with a strongly typed collection class. One of the Properties of the class is "Apply", which is a Boolean.  All of the other columns in the grid populate except for the GridClientSelectColumn.  The checkboxes are available for checking, they're just not pre-checked from data.

Can anyone think of anything obvious that I might be missing?

I added an ItemDataBound event but for some reason that causes all rows to not display.  I might have missed something basic there too, but for now I don't care.  I'd just like to get specific checkboxes to pre-select when the form loads.

Thanks!

<telerik:GridClientSelectColumn UniqueName="Apply">
    <HeaderStyle Width="50px" />
    <ItemStyle Width="50px" />
</telerik:GridClientSelectColumn>
James Campbell
Top achievements
Rank 1
 answered on 22 Mar 2012
5 answers
716 views
I have a web farm.  I have setup my config and captcha to use session instead of cache.  It appears to work about 95% of the time, but every so often we get a grey box displayed.  Here are all my settings, etc.

Web.config
<httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResourceSession" verb="*" validate="false" />
</httpHandlers>
 
<handlers>
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResourceSession, Telerik.Web.UI" preCondition="integratedMode" />
</handlers>

<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
    <location path="Telerik.Web.UI.WebResourceSession.axd">
        <system.web>
            <authorization>
                <allow users="*" />
            </authorization>
        </system.web>
    </location>

ASPX
<asp:MultiView ID="mvCaptcha" runat="server" ActiveViewIndex="0">
      <
asp:View ID="vCaptcha" runat="server">
<asp:Panel runat="server" ID="pnlCaptcha" class="pnlCaptcha">
<div class="left" style="text-align: left;">
<telerik:RadCaptcha runat="server" ID="cptPassword" ValidationGroup="Verification"
ErrorMessage="Captcha message was incorrect" Display="None" CaptchaImage-EnableCaptchaAudio="true"
CaptchaTextBoxLabel="" CaptchaAudioLinkButtonText="" ImageStorageLocation="Session">
</telerik:RadCaptcha>
</div>
 <div class="left">
<asp:LinkButton ID="btnRefreshCaptcha" runat="server"><img class="imgRefreshCaptcha" alt="Refresh Captcha" src="./App_Themes/public/Images/imgCaptchaRefresh.png" /></asp:LinkButton></div>
</asp:Panel>
</asp:View>
<asp:View ID="vCaptchaPassed" runat="server">
You have already passed the captcha.
</asp:View>
</asp:MultiView>

When we receive the grey box, I can view the image and this is the url.
http://devoam.microcenter.com/OAM/Telerik.Web.UI.WebResource.axd?type=rca&isc=false&guid=73ed64b3-129c-4413-87e2-fd30fa20abc4
When I get a good image to show, I look at the url and they look identical except for the guid of course.  Like this:
http://devoam.microcenter.com/OAM/Telerik.Web.UI.WebResource.axd?type=rca&isc=false&guid=e10cd1d2-0d3d-4879-a925-11ad40781114

Now to make this a little more odd, when I get a grey image, if I right click on it and say view image, I can actually see the captcha image; not a grey box.

Not sure what's going on with it.  Any help would be appreciated.

Thanks,
Tad
Slav
Telerik team
 answered on 22 Mar 2012
1 answer
78 views
Hi, 
 Can I change splitter orientation on client side? I don't want to have postback just for changing orientation as panes are having lots of data. Can I do it using _orientation attribute of splitter object on client side.?

Regards,
Mahesh
Dobromir
Telerik team
 answered on 22 Mar 2012
4 answers
162 views
I swear I used to be able to find a list of all server side properties and methods of every telerik control. Now all I can find is client in the documentation. What happened to the lists of all the server properties and methods?? You guys don't provide any intelisense support so the ONLY thing I have is your online documentation. Which I can't find today for some reason.

Example: Someone provide a link that lists EVERY server property and method and event for a RadListBox. It needs to list them ALL and describe them. I can't find that today. Been looking for 45 minutes.
Filip
Telerik team
 answered on 22 Mar 2012
3 answers
148 views
Hi,
    When I created a dynamic Raddock , showing an error like  "  Telerik.Web.UI.RadDockZone can contain only controls of type Telerik.Web.UI.RadDock " . please help
thanks
Jesmon Joseph
Slav
Telerik team
 answered on 22 Mar 2012
4 answers
256 views
Hi -
Is there a way to resolve the issue shown in the attached document.  The RadUpload input area is missing its top border.  I'm using the Web20 skin though I tried other skins and the same issue occurs.

Thanks.
Lynne
Top achievements
Rank 1
 answered on 22 Mar 2012
3 answers
125 views
I'm working with the ImageManager in the RadEditor and run across very simple problem -- uploading an image when the directory currently being viewed is empty causes a javascript error that breaks the ImageManager until the page is reloaded.  However, if the directory isn't empty, everything works fine.

Surely I am doing something wrong, but I've stripped almost everything out of my code and the issue persists.

Here is my markup:
<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="ImageMgrTest._Default" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManagerProxy1" runat="server"/>
   <telerik:RadEditor ID="txtRegText" Width="100%" runat="server"
        DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"
        StripFormattingOnPaste="MSWord">
        </telerik:RadEditor>
</asp:Content>

And the code behind:
Public Class _Default
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim uploadPath As String = "~/uploads"
 
        Me.txtRegText.ImageManager.UploadPaths = {uploadPath}
        Me.txtRegText.ImageManager.ViewPaths = {uploadPath}
        Me.txtRegText.ImageManager.DeletePaths = {uploadPath}
 
        Me.txtRegText.ImageManager.MaxUploadFileSize = 1024 * 1000
        Me.txtRegText.ImageManager.SearchPatterns = New String() {"*.jpg", "*.png", "*.gif", "*.jpeg", "*.bmp", "*.tiff"}
 
    End Sub
 
End Class

If the "/uploads" directory is empty when you go to add an image via the image manager, you get this javascript error after the image is uploaded:

93Uncaught Sys.ArgumentOutOfRangeException: Sys.ArgumentOutOfRangeException: MinimumValue should be smaller than maximumValue Parameter name: _minimumValue Actual value was 0. 

Anyone seen this before?
Rumen
Telerik team
 answered on 22 Mar 2012
6 answers
199 views
Is there a simple way to restrict resizing a radWindow smaller than a specified minimum size. I don't see a MinimumWidth or MinimumHeight attribute for it. I tried the onClientResize event, but it isn't called until AFTER the window has been resized, so it can't be used for this purpose. The problem is that while the minimum width is determined by the width of the window icon and titlebar controls, there appears to be no minimum height at all. I can resize a window down to apparently 1px tall!
Marin Bratanov
Telerik team
 answered on 22 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?