Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
201 views
Hi,

we are using Version 2012.3.1308.35 of Telerik dll´s and Visual Studio 2010 in a SharePoint 2010 project. All 3 dll´s (Web.UI, Web.Design, Web.UI.Skins) are properly deployed to the GAC. I´ve added the Telerik controls to the toolbox as described.

When I drop the AsynUpload to a page, Visual Studio displays no properties in the properties window and the SmartTag functions are not displayed. When I selected the AsyncUpload control from the properties window dropdown, Visual Studio crashes every time.

When I deploy the solution to SharePoint and click on the "Select" button, sometimes Internet Explorer crashes without any message, or I get an cryptic javascript error message.

All other Telerik controls show up properly in Visual Studio designer and work fine.

Do you have any clues how to solve this isssue?

Thank you!
Plamen
Telerik team
 answered on 19 Feb 2013
2 answers
92 views
Just upgraded from 2012.2 607 to 2012.3 1308.

All my RadComboBox' selected items are right aligned. The list is properly left aligned.

I started a new project to see if this was a generic issue or just related to the upgraded project and the new project everything is properly aligned.

Nencho
Telerik team
 answered on 19 Feb 2013
1 answer
116 views
Hello,
I have a asp panel and inside a table with fields telerik. I run with a button to save data in the database and then opens a radnotification to alert the user to the notification. But radnotification not see, if I remove radajaxloadingpanel then it works, why?

code aspx:

<telerik:AjaxSetting AjaxControlID="ImageButtonAggiorna">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="Panel3"
            LoadingPanelID="RadAjaxLoadingPanel1" />
    </UpdatedControls>
</telerik:AjaxSetting>
 
                                         <asp:Panel ID="Panel3" runat="server">
                                            <asp:ImageButton ID="ImageButtonAggiorna" runat="server" ImageUrl="~/Image/conferma.png" OnClientClick="ImageButtonAggiorna_Click" />
                                         </asp:Panel>



code behind:

Private Sub ImageButtonAggiorna_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonAggiorna.Click
    Me.RadNotification1.Show("Servizio non disponibile, effettuare la registrazione.")
     End Sub



Marin Bratanov
Telerik team
 answered on 19 Feb 2013
1 answer
130 views
Hello,

I use a TreeList with autogenerated columns. I allow the column resize.
<telerik:RadTreeList runat="server" ID="RadTreeList1"
                                                        Skin="Telerik"
                                                        AutoGenerateColumns="true"
                                                        DataKeyNames="DataKey" ParentDataKeyNames="ParentDataKey"
                                                        AllowSorting="true"
                                                        ItemStyle-CssClass="RowStyle"
                                                        AlternatingItemStyle-CssClass="AlternatingRowStyle"
                                                        HeaderStyle-CssClass="HeaderStyle"
                                                        SelectedItemStyle-CssClass="SelectedRowStyle"
                                                        OnAutoGeneratedColumnCreated="RadTreeList1_OnColumnCreated"
                                                        Visible="false"
                                                        >
                                        <ClientSettings>
                                           <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                           <Resizing AllowColumnResize="true" ResizeMode="NoScroll" />
                                        </ClientSettings>
 
                                   </telerik:RadTreeList>


So the final user can resize the columns, but, if he expands or collapses a node, the column widths are reinitialized.
How could I keep the width modifications.
Thanks by advance.
Regards,
Damien
Kostadin
Telerik team
 answered on 19 Feb 2013
1 answer
118 views
Hello Telerik, have some problems)

So, I have my Editor:
                                       
<telerik:RadEditor Visible="false" Height="300px" CssClass="Editor" ID="reHelpBody" runat="server"<br>
EditModes="Design" ToolbarMode="Default"><br>
<Content><br>
</Content><br>
<ImageManager ViewPaths="~/Content/images/Help/" UploadPaths="~/Content/images/Help/"<br>
DeletePaths="~/Content/images/Help/" MaxUploadFileSize="204800" /><br>
<Tools><br>
<telerik:EditorToolGroup><br>
<telerik:EditorTool Name="Bold" /><br>
<telerik:EditorTool Name="Italic" /><br>
<telerik:EditorTool Name="Underline" /><br>
<telerik:EditorTool Name="ImageManager" /><br>
</telerik:EditorToolGroup><br>
</Tools><br>
</telerik:RadEditor>


And CSS that I have now:

.Default.RadEditor .reContentCell {<br>
    border: 1px solid #D6D6D6 !important;<br>
}<br>
.Default.RadEditor {<br>
    background-color: #F3F3F3 !important;<br>
}<br>
.RadEditor table {<br>
    position: relative;<br>
}<br>
.RadEditor .reToolZone table {<br>
    position: absolute;<br>
    right: 0;<br>
    top: 0;<br>
    width: 180px !important;<br>
}


That is all for CSS)
So I want to dynamically change size of editor.

I was trying next scripts:

       
function pageLoad() {<br>
            var editor = $find("<%=reHelpBody.ClientID%>");<br>
            editor.get_element().setSize("80","60");<br>
        }<br>
<br>
        function pageLoad() {<br>
            var editor = $find("<%=reHelpBody.ClientID%>");<br>
            editor.setSize("80","60");<br>
        }<br>
<br>
        function pageLoad() {<br>
            var editor = $find("<%=reHelpBody.ClientID%>");<br>
            editor.get_element().setSize("80","60");<br>
    editor.get_element().style.height = "490px";
    editor.style.height = "490px;
        }



But still I have in Chrome next thing:
element.style {
  1. width680px;
  2. height300px;
  3. min-height300px;
  4. min-width680px;
}

I tried to append CSS:

       
.Default.RadEditor
        {
            float: right;
            width: 300px;
            min-width: 100px;
        }

but got nothing. For float it works fine. What else can I do?)

P.S. It's just impossibru to deal with your code block.
Rumen
Telerik team
 answered on 19 Feb 2013
1 answer
93 views
Hi,

I want to get what are the filters applied on Pivot Grid. Is it using predicate or some other format so that same filters i can save in database and can assign grid (last applied filters) when user come to same page.

Is there any way to do it , please help !

Thanks 
Dheeraj 
Angel Petrov
Telerik team
 answered on 19 Feb 2013
1 answer
101 views
Hello All,
When I am opening a web page having radcombobox control , I am getting this error.
"_TypeError: g is null   in Telerik.Web.UI.WebResource.axd"
I am using Q3.
Please help me.
Thanks
Abhilash
Angel Petrov
Telerik team
 answered on 19 Feb 2013
2 answers
101 views
Hi,

I came across this issue while i was trying the RadGrid Control. Could someone please help me out here?

Here is the problem.

I have a RadGrid control inside a RadPanel. (RadGrid is enabled for client side row selection and paging.) And i have a Button control outside the rad panel bu its Click event will update the above Radpanel with RadGrid. (Using Ajax manager i have set the button to update the AjaxPanel) 

When i click on the button it will update my DataGrid accordingly but all of a sudden Client-Side Row selection is disabled. And i also noticed Page Size combo is also disabled.

Am i doing something wrong here? Little help would be really appreciated.

Hope this explains!!!

Thanks,
Chriantha
Chirantha
Top achievements
Rank 1
 answered on 19 Feb 2013
3 answers
102 views
Hi,
My requirement : To display the hierarchial items in Radgrid.
Instead of using Nestedview template,  thought of using iframe for each grid row.
For example :
===========
Parent record 
    |
    | -->iframe page with child grid
                |
                |--> iframe page with grand child grid

====================================

For this, my code has single radgrid with one GridTemplateColumn column
Inside that  GridTemplateColumn 
    - created Header template -inside that, table for column headers
    - created item template - inside that table for column values
In the first column in the table will be image column, if click on the img, it will open the iframe page and based in the query string am binding the child grid records.


My issue is, i want sorting, filtering for each column inside the header template.

Because of one template column, default filtering option will be one textbox appearing in the grid.


my code is:

   <telerik:RadGrid ID="grdparent" runat="server" Width="600px" AutoGenerateColumns="false"
            OnNeedDataSource="Needdatasource" ItemStyle-Height="25px" AlternatingItemStyle-Height="25px"
            SelectedItemStyle-Height="25px" BorderColor="#009933" BorderWidth="1px" GroupingEnabled="false"
            AllowSorting="True" AllowMultiRowSelection="False" AllowFilteringByColumn="True"
            AllowPaging="True" GridLines="None" ShowGroupPanel="false" ShowStatusBar="true"
            FilterItemStyle-BackColor="#F1F7EE" PageSize="10">
            <GroupingSettings CaseSensitive="false" />
            <MasterTableView DataKeyNames="ParentID" AllowMultiColumnSorting="false" InsertItemPageIndexAction="ShowItemOnFirstPage"
                InsertItemDisplay="Top" GroupLoadMode="Server" ShowHeadersWhenNoRecords="true"
                CommandItemDisplay="None" EditMode="PopUp" EnableHeaderContextMenu="false"
                CommandItemSettings-AddNewRecordText="Add" AllowAutomaticInserts="false"
                AllowFilteringByColumn="True" AllowSorting="true" ExpandCollapseColumn-ButtonType="ImageButton">
                <Columns>
                    <telerik:GridTemplateColumn>
                        <HeaderTemplate>
                            <table width="600px" class="mod_content" cellpadding="0" cellspacing="0" border="0">
                                <tr onclick="selectRow(this);">
                                    <td style="width: 30px">
                                    </td>
                                    <td style="width: 50px">
                                        Parent ID
                                    </td>
                                    <td style="width: 300px">
                                        Parent Name
                                    </td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <table width="600px" class="mod_content" cellpadding="0" cellspacing="0" border="0">
                                <tr onclick="activeRow(this);">
                                    <td style="width: 30px">
                                        <a href="#" onclick="return toggleDivDisplay('tr_<%#DataBinder.Eval(Container,"DataItem.ParentID")%>', this, false,'Child.aspx?ParentID=<%#DataBinder.Eval(Container,"DataItem.ParentID")%>' );">
                                            <img src="../images/Expand.gif" alt="Expand/Collapse" id="tr_<%#DataBinder.Eval(Container,"DataItem.ParentID")%>image"
                                                height="14" width="14" border="0" /></a>
                                    </td>
                                    <td style="width: 50px">
                                        <asp:Label ID="lblHdnParentID" runat="server" CssClass="gridlabel" Text='<%#DataBinder.Eval(Container, "DataItem.ParentID")%>'></asp:Label>
                                    </td>
                                    <td style="width: 150px">
                                        <asp:Label ID="lblParentIDName" CssClass="gridlabel" Text='<%# Eval("ParentName") %>'
                                            runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="padding: 0px 0px 0px 0px">
                                    <td colspan="3" style="padding: 0px 0px 0px 0px">
                                        <div id='tr_<%#DataBinder.Eval(Container,"DataItem.ParentID")%>' class="display_false"
                                            style="padding-left: 15px">
                                            <iframe id="tr_<%#DataBinder.Eval(Container,"DataItem.ParentID")%>frame" src="Child.aspx"
                                                frameborder="0" scrolling="yes" height="150" width="100%"></iframe>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

 

Antonio Stoilkov
Telerik team
 answered on 19 Feb 2013
7 answers
254 views
Hi
I'm using RadImageEditor to edit an image. Every time when I rotate the image, it seems the image is not saved when I use imgEditor.GetEditableImage(). Any ideas?



Vessy
Telerik team
 answered on 19 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?