Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
160 views
Hi,

I have a grid that has a grouping type column and sub grouping on date column.

I want the grid to be displayed  in a manner that the records with the type - Calendar are displayed first and then the records with the type Task are displayed following the same grouping by date pattern. I want this logical seperation of data to have headers on top that say Activity for the type of activity records and task for the type of task records.

I was able to create the sub group, but I wanted my sub group and the records under that to be indented so that it looks like a sub group. Right now the sub group just shows under the main group.

I have also attached a sample of how I want my grid displayed.

Could you suggest some way of doing that?

newbie
Top achievements
Rank 1
 answered on 28 Jun 2010
2 answers
154 views
I want the users to upload 1-10 files. Currently you can add/remove the upload controls, but I want to show 10 upload controls and hide the Add / Delete buttons and checkboxes next to controls. (all those extra options only confuse the users)

How do I accomplish this?
chris
Top achievements
Rank 1
 answered on 28 Jun 2010
4 answers
264 views
Hello,

I try to add a RadBinaryImage to my Webform after I clicked a certain row in my RadGrid.
Funny is that the GridBinaryImageColumn shows the thumbnail of the Image clearly but the RadBinaryImage (big image) won't show anything afterwords...

Code looks like this:
  RadBinaryImage img = new RadBinaryImage();
  img.DataValue = GetVideoById(videoId).FrontImage;
  img.AutoAdjustImageControlSize = false;
  img.Width = 600;
  img.Height = 300;
  cell = new HtmlTableCell();
  cell.Controls.Add(img);
  row = new HtmlTableRow();
  row.Cells.Add(cell);
  table1.Rows.Add(row);
  placeImg.Controls.Add(table1); -> Placeholder for table

Thanks for help!
Beat
Cory Hudson
Top achievements
Rank 2
 answered on 28 Jun 2010
3 answers
377 views
Hello,

I have around 7 rad editors spread over three user controls. I have lot of performance issue.
I am using following markup

 

 

<telerik:RadEditor ID="Editor2" runat="server" EditModes="Design" EnableResize="False"

 

 

 

Height="150px" StripFormattingOnPaste="MSWord" ToolbarMode="ShowOnFocus" ToolTip="Please enter data"

 

 

 

Width="100%" ToolProviderID="Editor1" Visible="False">

 

 

 

<Tools>

 

 

 

<telerik:EditorToolGroup>

 

 

 

<telerik:EditorTool Name="AjaxSpellCheck" />

 

 

 

</telerik:EditorToolGroup>

 

 

 

<telerik:EditorToolGroup>

 

 

 

<telerik:EditorTool Name="Bold" />

 

 

 

<telerik:EditorTool Name="Italic" />

 

 

 

<telerik:EditorTool Name="Underline" />

 

 

 

<telerik:EditorTool Name="Cut" />

 

 

 

<telerik:EditorTool Name="Copy" />

 

 

 

<telerik:EditorTool Name="Paste" />

 

 

 

<telerik:EditorTool Name="FontName" />

 

 

 

<telerik:EditorTool Name="RealFontSize" />

 

 

 

</telerik:EditorToolGroup>

 

 

 

<telerik:EditorToolGroup>

 

 

 

<telerik:EditorTool Name="InsertTable" />

 

 

 

<telerik:EditorTool Name="InsertImage" />

 

 

 

<telerik:EditorTool Name="LinkManager" />

 

 

 

<telerik:EditorTool Name="Unlink" />

 

 

 

<telerik:EditorTool Name="InsertOrderedList" />

 

 

 

<telerik:EditorTool Name="InsertUnorderedList" />

 

 

 

</telerik:EditorToolGroup>

 

 

 

</Tools>

 

 

 

<SpellCheckSettings SpellCheckProvider="PhoneticProvider" WordIgnoreOptions="RepeatedWords" />

 

 

 

</telerik:RadEditor>

I have this debug=false, have rad compression module set up and IIS 7 has compression enabled. I also have following setting in app_browser

 

<

 

 

browsers>

 

<

 

 

browser refID="Default">

 

<

 

 

controlAdapters>

 

<

 

 

adapter controlType="System.Web.UI.Page" adapterType="Telerik.Web.UI.RadHiddenFieldPageStateCompression" />

 

</

 

 

controlAdapters>

 

</

 

 

browser>

 

</

 

 

browsers>

 


Am i done with all the changes are is there any hope for improving performance. As for now this performance is not acceptable.

The performance is worse when i integrate the user controls in the page that has ajaxified rad tab control in it with RadMultipage view that have load on demand user controls.

Is there a sample project where i can just have div that displays rad editor html and on right click i can open the rad window in popup and when i hit save the div will get updated. That way i can get rid of all rad editors from the usercontrols.

But my first preference is to have them on page with optimum performance.

Regards
Mac

Dobromir
Telerik team
 answered on 28 Jun 2010
1 answer
108 views
I'm looking for a way to print the content of two panes in a same page, but without the splitbar. Is there a built in function to do this in the controls? If you have ideas.....
Sébastien
Top achievements
Rank 1
 answered on 28 Jun 2010
3 answers
162 views
On the RadDatePicker's calendar, the days are links which I want to change them to buttons (or just numbers without underline) so the calendar may look better.  Also, the navigation next and previous are links which I want to change to labers or just letters. Can somebody help?
Tsvetina
Telerik team
 answered on 28 Jun 2010
1 answer
120 views
Dear,
How to access the controls , example subject textbox and description textbox found in scheduler Advanced Form (by clicking options). I would like to open in edit mode only (not insert mode) and assign some text in description textbox and subject textbox and date set. How to do?

the below code is not working (null object returned your reply)

Your reply
protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e) 

if (e.Container.Mode == SchedulerFormMode.AdvancedEdit) 

  RadTextBox subtxt = (RadTextBox)e.Container.Controls[1].Controls[1].Controls[1].FindControl("SubjectText"); 
  subtxt.text = "Something"; 

Peter
Telerik team
 answered on 28 Jun 2010
4 answers
107 views
Hello,

Our users don't use the subject field of the appointment... I want to make it optional (no validation) or default it to untitled, because there is a bug with client-side binding and loading the advanced form.

I try to default it like:

//form is the advanced form
form._getSubjectTextBox().set_value("Untitled");

But nothing is working, how to default the subject so the error doesn't appear off of the start?  Or, how do I make it optional so the radtextbox doesn't display the error off of the start...

Thanks.
Kevin Price
Top achievements
Rank 1
 answered on 28 Jun 2010
1 answer
131 views
I am working on a page having Rad List View and RadDataPager. I am using Rad Ajax manager and Rad Ajax Loading Panel to display loading image when navigating between pages.
Everything is functioning well until I am setting the AllowSEOPaging="true" in the Data Pager. When I set AllowSEOPaging="true" and SEOPagingQueryPageKey="Page" the data pager display appearance is wrong and the loading image is not appearing.
Whenever there is a post back IsPostBack Value is always false and this is a weird thing.

 <form id="form1" runat="server">
    <div>
         <asp:ScriptManager ID="Teets" runat="server">
        </asp:ScriptManager>
       <%-- <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />--%>
        <telerik:RadAjaxManager ID="radAjaxManager" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ListViewPanel1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" MinDisplayTime="0"
            EnableSkinTransparency="true" Transparency="50">
            <%--<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/ajax-loader.gif" AlternateText="loading" />--%>
            <table style="height: 100%; width: 900px" border="0">
                <tr>
                    <td width="900px" align="center" valign="middle">
                        <img src="Images/ajax-loader.gif" alt="" style="border: 0px;" />
                    </td>
                </tr>
            </table>
        </telerik:RadAjaxLoadingPanel>
        <asp:Panel ID="ListViewPanel1" runat="server">
            <telerik:RadListView ID="RadListView1" Width="100%" AllowPaging="true" runat="server"
                ItemPlaceholderID="ProductsHolder" OnPageIndexChanged="RadListView1_PageIndexChanged"
                DataKeyNames="id_product" OnNeedDataSource="RadListView1_NeedDataSource">
                <LayoutTemplate>
                    <fieldset style="width: 900px;" id="FieldSet1">
                        <legend>Products</legend>
                        <asp:Panel ID="ProductsHolder" runat="server" />
                        <table cellpadding="0" cellspacing="0" width="100%;" style="clear: both;">
                            <tr>
                                <td>
                                    <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1" Skin="Outlook"
                                        PageSize="7" SEOPagingQueryPageKey="xyz" AllowSEOPaging="true">
                                        <Fields>
                                            <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                                            <telerik:RadDataPagerButtonField FieldType="Numeric" />
                                            <telerik:RadDataPagerButtonField FieldType="NextLast" />
                                            <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " />
                                            <telerik:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go"
                                                TextBoxWidth="15" />
                                            <telerik:RadDataPagerTemplatePageField>
                                                <PagerTemplate>
                                                    <div style="float: right">
                                                        <b>Items
                                                            <asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.Owner.StartRowIndex+1%>" />
                                                            to
                                                            <asp:Label runat="server" ID="TotalPagesLabel" Text="<%# Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize) ? Container.Owner.StartRowIndex+Container.Owner.PageSize : Container.Owner.TotalRowCount %>" />
                                                            of
                                                            <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount%>" />
                                                            <br />
                                                        </b>
                                                    </div>
                                                </PagerTemplate>
                                            </telerik:RadDataPagerTemplatePageField>
                                        </Fields>
                                    </telerik:RadDataPager>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </LayoutTemplate>
                <ItemTemplate>
                    <div style="float: left;">
                        <table cellpadding="0" cellspacing="0" style="width: 230px; height: 100px">
                            <tr>
                                <td style="width: 20%;">
                                    Name:
                                </td>
                                <td style="width: 80%; padding-left: 5px;">
                                    <%# Eval("productName") %>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Alias:
                                </td>
                                <td style="width: 80%; padding-left: 5px;">
                                    <%# Eval("productAlias")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <hr />
                                </td>
                                <td>
                                    <hr />
                                </td>
                            </tr>
                        </table>
                    </div>
                </ItemTemplate>
            </telerik:RadListView>
        </asp:Panel>
    </div>
    </form>
Rosen
Telerik team
 answered on 28 Jun 2010
1 answer
110 views
Hello
I'm having a problem with checking filesize in RadUpload in my mvc project. I have made the changes to get radupload working with mvc http://www.telerik.com/help/aspnet-ajax/mvc-using-upload.html  and tried this solution http://www.telerik.com/help/aspnet/upload/clientsidefilesizecheck.html but the method never gets called.

javascript function
    function checkUploadedFilesSize(progressArea, args) { 
        //progressArea.confirmed is a custom variable, 
        // you can use another if you want to 
        alert('hei'); 
        if (!progressArea.confirmed && 
       args.get_progressData().RadUpload.RequestSize > 1) { 
            if (confirm("The total size of the selected files" + 
                 " is more than the limit." + 
                 " Do you want to cancel the upload?")) { 
                progressArea.cancelRequest(); 
            } 
            else { 
                progressArea.confirmed = "confirmed"
            } 
        } 
    } 

radupload
<telerik:RadUpload ID="imageUploader" runat="server" AllowedFileExtensions=".jpg,.jpeg,.gif,.png" 
    Language="nb-NO" Localization-Add="Legg til" Localization-Clear="Fjern" Localization-Delete="Fjern" 
    Localization-Remove="Fjern" Localization-Select="Velg" ViewStateMode="Inherit" Culture="nb-NO" CssClass="userImageUpload" Skin="Vista" 
    EnableFileInputSkinning="false"
</telerik:RadUpload> 
<telerik:RadProgressArea runat="server" ID="RadProgressArea1"  OnClientProgressUpdating="checkUploadedFilesSize"/> 
<telerik:RadProgressManager runat="server" ID="RadProgressManager1"  AjaxUrl="~/Telerik.RadUploadProgressHandler.axd" /> 

Also I don't know if this has anything to do with it but looking in firebug the first call when uploading a file always fails, and the last call seems to be waiting for a response forever. Uploading files still work okay though.

Anybody knows what might be the problem?





Genady Sergeev
Telerik team
 answered on 28 Jun 2010
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?