Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
How can i show RadTooltip Control when i right click on An Appointment and i want to put rad GridView in that tooltip
Princy
Top achievements
Rank 2
 answered on 06 Sep 2012
1 answer
57 views
Hi,

I'm looking into the radImageEditor control to see if it's possible to be used to edit an image and display the changes live in a simple asp image control.

For example, I would like to allow the user to crop/resize/rotate an uploaded image, and display the changes in real time in a separate control.

I'm looking for something similar to this jQuery plugin http://www.odyniec.net/projects/imgareaselect/. It is preferable to use the Telerik control due to the extra image editing functionality available.

Thanks for any help in advance!

Rich
Vessy
Telerik team
 answered on 06 Sep 2012
1 answer
56 views
i have a radgrid in my ASP.net project.  One column fo radgrid contains both strings(string is 'NIL') and numbers. i want to faciliate sorting in the grid. but for the column i mentioned above, sorting is not working fine for numbers. so during sorting i want to make string 'NIL' data to 0 and want to sort column as number column. how i can make string 'NIL ' to 0 in Onsortcommand method. Please help me


Also i had given string property as data in that column for giving 'NIL' as data. If i am giving integer data, its wont accept 'NIL'. so at the time of sorting i have to consider alld ata as integer. only then soring will work. Please suggest me an idea
Sanjeev
Top achievements
Rank 1
 answered on 06 Sep 2012
5 answers
174 views
I want to find radgrid inside CommandItemTemplate in java script
<telerik:radgrid>
<MasterTableView  AllowFilteringByColumn="true" IsFilterItemExpanded="false" HeaderStyle-Width="200px" ItemStyle-Width="200px" CommandItemDisplay="Top" DataKeyNames="lid"  ClientDataKeyNames="lid" Width="100%">
            <CommandItemTemplate>          
 <td>  <telerik:RadButton EnableSplitButton="true" ID="SplitButton" AutoPostBack="false"
                runat="server" Text="Transfer Item" OnClientClicked="OnClientClicked">
            </telerik:RadButton>
            <telerik:RadContextMenu ID="RadContextMenu1" runat="server" >
                <Items>
                    <telerik:RadMenuItem Text="Transfer Right">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Transfer Left">
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadContextMenu>



Thanks Advance,
Mohamed.
Shinu
Top achievements
Rank 2
 answered on 06 Sep 2012
2 answers
67 views
Hello,
I have a weird render that happens on the forest theme.
If I change it to metro, no problem, please take a look at the attachment.

Thank you,
-Edward
Edward
Top achievements
Rank 1
 answered on 05 Sep 2012
9 answers
239 views
Hi Guys,

I ran into an issue in Chrome where if I post back a Rad Editor wrapped in a jquery dialog I will get a
javascript error: Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15.
Does anybody have any idea how to resolve this? I attached code to reproduce this issue

Thanks in advance!


$(document).ready(function ()
       {
           $("#testDialogInfo").dialog(
               {
                   autoOpen: false,
                   modal: true,
                   resizable: false,
                   scrollable: false,
                   width: "860px"
               });
 
               $("#testDialogInfo").parent().appendTo($("form:first")); 
       });
         
       function OpenDialog()
       {
 
           $find("<%= ajaxPanel.ClientID %>").ajaxRequest("");
 
          
 
       }
 
       function ResponseEnd(sender, eventArgs)
       {
 
           $("#testDialogInfo").dialog("open");
 
           var editor = $find("<%= rteFullDescription.ClientID%>");
 
 
           //$("#testDialogInfo").parent().appendTo($("form:first"));
           editor.onParentNodeChanged();
          
       }

<div id="testDialogInfo">
           <telerik:RadAjaxPanel  ID="ajaxPanel" runat="server" OnAjaxRequest="AjaxPanel_AjaxRequest" ClientEvents-OnResponseEnd="ResponseEnd">   
          <telerik:RadEditor ID="rteFullDescription" Runat="server" style="margin-bottom:10px;" Height="200px"
               Editable="True" 
               ToolsFile="~/RadControls/Editor/Phonebook/ToolsFile.xml"
               LicenseFile="~/RadControls/LicenseFile.xml"    
               
               StripFormattingOptions="ConvertWordLists, MSWordRemoveAll"
               EditModes="Design">
                       <ImageManager   ViewPaths="~/Uploads/DefaultImages/"
                                       UploadPaths="~/Uploads/DefaultImages/"
                                       DeletePaths="~/Uploads/DefaultImages/"
                                       SearchPatterns="*.jpg, *.jpeg, *.gif, *.png, *.bmp"
                                       MaxUploadFileSize="5000000"   />
                       <CssFiles>
                           <telerik:EditorCssFile Value="~/Includes/Style/Editor.css" />
                       </CssFiles>
           </telerik:RadEditor>   
      </telerik:RadAjaxPanel>
       </div>

Anthony
Top achievements
Rank 1
 answered on 05 Sep 2012
1 answer
54 views
Hi
What's the problem of these codes?
<telerik:RadRotator ID="RadRotator1" runat="server" FrameDuration="3000"
        RotatorType="SlideShow" ScrollDirection="Down" Height="190px" ItemHeight="30px"
        Width="178px">
        <Items>
        <telerik:RadRotatorItem>
        <ItemTemplate>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Assets/Images/main-bg.jpg" />
        </ItemTemplate>
        </telerik:RadRotatorItem>
        <telerik:RadRotatorItem>
        <ItemTemplate>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Assets/Images/main-bg.jpg" />
        </ItemTemplate>
        </telerik:RadRotatorItem>
        <telerik:RadRotatorItem>
        <ItemTemplate>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Assets/Images/main-bg.jpg" />
        </ItemTemplate>
        </telerik:RadRotatorItem>
        <telerik:RadRotatorItem>
        <ItemTemplate>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Assets/Images/main-bg.jpg" />
        </ItemTemplate>
        </telerik:RadRotatorItem>
        </Items>
        <ItemTemplate>
             
        </ItemTemplate>
    </telerik:RadRotator>
Marin Bratanov
Telerik team
 answered on 05 Sep 2012
1 answer
50 views
It doesn't seem to matter what I do, when trying to create a new skin, I get the error:

Failed to create skin!

A server error has occured.
We have been notified and will try to resolve it ASAP.
Sorry for the inconvenience.
I have tried in IE 9 and Chrome. 
David
Top achievements
Rank 1
 answered on 05 Sep 2012
9 answers
298 views
I am building a radgrid programmatically in the code behind.  I have been unsuccessful in changing the text box width.  I have tried all sorts of different variations of header-style properties along with mastertable view settings.  I am new to the RadGrid controls and here is how I am currently adding my fields to the radgrid.
Dim boundColumn As GridBoundColumn
boundColumn = New GridBoundColumn()
gridPrgGrpDefinition.MasterTableView.Columns.Add(boundColumn)
boundColumn.DataField = "GrantName"
boundColumn.HeaderText = "Grant Name"
boundColumn.EditFormColumnIndex = 0
boundColumn.HeaderStyle.Width = Unit.Percentage(35)

Doug

Doug
Top achievements
Rank 1
 answered on 05 Sep 2012
5 answers
206 views
The documentation seems to point out that you can use NodeTemplates when using a DataSource, but if I have a SiteMap declaritvely populated how can define a Node template and use the Text value of the Node in the template?

Code sample (see the bold black text - this is where the telerik documentation would use the databinder to bind to a datasource, but I just want to be able to determine how the node with the text value is represented. I could just type it in I guess? ):
<telerik:RadSiteMap ID="SiteMap" CssClass="subNavSiteMap" runat="server" EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False">
    <LevelSettings>
        <telerik:SiteMapLevelSetting Level="0" ListLayout-RepeatColumns="3" ListLayout-RepeatDirection="Horizontal">
        </telerik:SiteMapLevelSetting>
    </LevelSettings>
    <Nodes>
        <telerik:RadSiteMapNode Text="Menu 1" runat="server">
            <NodeTemplate>
                <h3 class="Header">
                    [show the text from the SiteMapeNode: Menu 1]</h3>
            </NodeTemplate>
            <Nodes>
                <telerik:RadSiteMapNode Text="SubMenu 1" NavigateUrl="" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 2" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 3" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 4" runat="server">
                </telerik:RadSiteMapNode>
            </Nodes>
        </telerik:RadSiteMapNode>
        <telerik:RadSiteMapNode Text="Menu 2" runat="server">
            <Nodes>
                <telerik:RadSiteMapNode Text="SubMenu 1" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 2" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 3" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 4" runat="server">
                </telerik:RadSiteMapNode>
                <telerik:RadSiteMapNode Text="SubMenu 5" runat="server">
                </telerik:RadSiteMapNode>
            </Nodes>
        </telerik:RadSiteMapNode>
    </Nodes>
</telerik:RadSiteMap>

Regards,
Jacques
Kate
Telerik team
 answered on 05 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?