Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
254 views
We need the RTF conversion capability for our Telerik products.  However, there is definitely some problems with handilng multiple font styles within the same document.  To reproduce, use the link to your demo, http://demos.telerik.com/aspnet-ajax/editor/examples/rtfexport/defaultcs.aspx

Highlight the middle paragraph, then change the font to something other than Times New Roman (like MS Sans Serif).  When you select the 'Export RadEditor content to RTF' button, the resulting file still shows Times New Roman for all paragraphs.  Thinking it was not using the data in the control, I even added some custom text.  The new text showed in the output file, but the font still went back to Times New Roman.

Any ideas on this? 
Rumen
Telerik team
 answered on 26 Aug 2011
6 answers
147 views
In My grid I have a filter that uses a template with a dropdown. Everything works except when the dropdown is selected , the grid is filtered but the filter dropdown item that was selected is not selected anymore, the 1st item in the list is. How can I keep the item selected in the dropdown list?

Thanks

<FilterTemplate>
  <telerik:RadComboBox runat="server" ID="FilterCombo" DataSourceID="StatusList" UniqueName="StatusFilterCombo"
                       DataValueField="StatusID" DataTextField="Status" AutoPostBack="True"
                       OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged">
  </telerik:RadComboBox>
</FilterTemplate>
Najid Hanif
Top achievements
Rank 2
 answered on 26 Aug 2011
4 answers
135 views
Hi all,
How do I open a radWindow from a hyperlink that resides inside a formview. I need to pass some ID to the querystring, this is what my current FormView looks like:

<asp:FormView ID="FormViewLatestBlog" runat="server" Width="100%" OnDataBound="FormViewLatestBlog_DataBound"
    <ItemTemplate> 
        <div class="post"
            <h1 class="title"
                <a href="#"
                    <asp:Label ID="LabelTitle" runat="server" Text='<%#Bind("BLOG_TITLE") %>'></asp:Label></a></h1> 
            <div class="entry"
                <asp:Label ID="LabelContent" runat="server" Text='<%#Bind("BLOG_CONTENT") %>'></asp:Label> 
            </div> 
            <p class="meta"
                Posted by <a href="#"
                    <asp:Label ID="LabelAddedBy" runat="server" Text='<%#Bind("BLOG_ADDED_USERNAME") %>'></asp:Label></a> 
                (<asp:HyperLink ID="HyperLinkEditBlog" runat="server" CssClass="comments" NavigateUrl='<%# String.Format("~/Admin/Blogs.aspx?Edit=True&BlogID={0}", Eval("BLOG_ID")) %>' 
                    Visible="false">Edit</asp:HyperLink>) on 
                <asp:Label ID="LabelAddedDate" runat="server" Text='<%#Bind("BLOG_ADDED_DATE") %>'></asp:Label>&nbsp;&bull;&nbsp; 
                <asp:HyperLink ID="HyperLinkComment" runat="server" CssClass="comments" NavigateUrl='<%# String.Format("/Blog/Comment.aspx?BlogID={0}", Eval("BLOG_ID")) %>'>Leave A Comment</asp:HyperLink> 
                (<asp:Label ID="LabelCommentCount" runat="server" Text='<%#Bind("BLOG_COMMENT_COUNT") %>'></asp:Label>)&nbsp;&bull;&nbsp; 
                <asp:HyperLink ID="HyperLinkReadFullArticle" runat="server" CssClass="comments" NavigateUrl='<%# String.Format("~/Blog/Default.aspx?BlogID={0}", Eval("BLOG_ID")) %>'>Read full article</asp:HyperLink></p> 
        </div> 
    </ItemTemplate> 
</asp:FormView> 

Now I want to make the "HyperLinkComment" to open a radWindow instead of going to that page, what should I do?
Thank you very much.
Jay
Top achievements
Rank 1
 answered on 26 Aug 2011
1 answer
64 views
Attached is the chart and I need to apply same style to the chart. Suggest how to achieve this.
Evgenia
Telerik team
 answered on 26 Aug 2011
1 answer
116 views
Hi,
  I have issue relating to hierarchical Rad Grid Horizontal Scrolling in below given code.

<telerik:RadGrid ID="gvFilteredResults1" runat="server" ShowStatusBar="True"
                                                                            AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True" OnDetailTableDataBind="gvFilteredResults_DetailTableDataBind"
                                                                            AllowCustomPaging="True" OnPageIndexChanged="gvFilteredResults_OnPageIndexChanged"
                                                                            OnPageSizeChanged="gvFilteredResults_OnPageSizeChanged" OnPreRender="gvFilteredResults_OnPreRender"
                                                                            Skin="Office2007" OnSortCommand="gvFilteredResults1_OnSortCommand" meta:resourcekey="gvFilteredResults1Resource1" 
                                                                            GridLines="None">                                                                            
                                                                            <MasterTableView AllowMultiColumnSorting="True" DataKeyNames="Policy Number" 
                                                                                GridLines="Horizontal">
                                                                                <DetailTables>
                                                                                    <telerik:GridTableView runat="server" AllowCustomPaging="False" AllowPaging="False"
                                                                                        AutoGenerateColumns="True" BorderWidth="1px" GridLines="Both" meta:resourceKey="GridTableViewResource1"
                                                                                        Name="TransactionWise" AllowSorting="False" Width="95%">
                                                                                    </telerik:GridTableView>
                                                                                </DetailTables>
                                                                                <ExpandCollapseColumn Visible="True">
                                                                                </ExpandCollapseColumn>
                                                                                <Columns>
                                                                                    <telerik:GridTemplateColumn meta:resourcekey="GridTemplateColumnResource1" UniqueName="TemplateColumn">
                                                                                        <ItemTemplate>
                                                                                            <asp:CheckBox ID="chkPolicyNumber" runat="server" meta:resourceKey="chkPolicyNumberResource1" />
                                                                                        </ItemTemplate>
                                                                                        <HeaderStyle Width="3%" />
                                                                                    </telerik:GridTemplateColumn>
                                                                                    <telerik:GridBoundColumn DataField="Policy Number" HeaderText="Policy Number" meta:resourcekey="GridBoundColumnResource4"
                                                                                        UniqueName="Policy Number">
                                                                                    </telerik:GridBoundColumn>
                                                                                </Columns>
                                                                                </MasterTableView>
                                                                            <ClientSettings>
                                                                                <Scrolling AllowScroll="True" UseStaticHeaders="True"  />                                                                                
                                                                            </ClientSettings>
                                                                            <PagerStyle AlwaysVisible="True"></PagerStyle>
                                                                        </telerik:RadGrid>


Actually i have added 20 columns in child grid but i'm able to see only 14 columns (based on screen REsolution) , rest of the columns are inside that grid. If i get scrolling to that Child grid then i'm able to see those columns properly. But there are no property to enable scrolling for detailed Table view. Ultimately Horizontal scrolling is not at all working for Parent Grid also. Can you suggest me how to Enable Horizontal Scrolling
Pavlina
Telerik team
 answered on 26 Aug 2011
3 answers
89 views
Greeting folks,

I'm using the custom advance form approach in my scheduler project,.

I've just been trying to update to a newer telerik DLL verison and this is yet another update that has been plagued with advanced form layout problems.

I simply update the DLL and suddenly the controls that make up the recurrence div section are a layout mess.

Can anyone comment on why this might be happening?

I'm updating from the retro 2009.3.1314.35 to 2011.1.413.

regards,
Plamen
Telerik team
 answered on 26 Aug 2011
1 answer
117 views

Hi,

We use the RadScheduler control(using the telerik dll(Version : 2010.1.519.40)) in our project, when we click the  "Week"/"Month" tab in the top right corner, it shows all the days for a  "week"/"Month". When we click a particular day in scheduler, it shows that particular day in "Day" mode in the browser mentioned below.

  • Browser mode : IE7,IE8,IE9  and Document Model (IE9 Standards (default)).  

My issue is when we click a particular day in "Week"/"Month" mode, it does not show that particular day in "Day" mode in the browser version mentioned below.

  • Browser mode : IE7,IE8,IE9 and Document Model (Quirks ,IE7,IE8).

However it is working fine in all document model. When we use the telerik dll(Version : 2011.1.413.40).

Please suggest us to solve this issue for the telerik dll version 2010.1.519.40(that is with out updating to new dll).

Regards,
Bala..

Plamen
Telerik team
 answered on 26 Aug 2011
1 answer
92 views
I'm running into a weird issue with drag and dropping of items in the RadGrid.  It turns out in the RowDrop event, the DestinationTableView property of the event args always seems to be returning the MasterTableView, instead of the DetailTableView of the item that I'm dropping the row onto.

Some info on the grid so I don't have to post a gigantic wall of code:
  • The grid itself is just a two level Master/Detail grid, with the MasterTableView named "PrivilegeCategories" and the only DetailTable named "Privileges". 
  • Each grid only has two columns- a boundfield named "Name" and a templatefield with edit/cancel buttons.
  • The grid is bound in the codebehind using NeedDataSource and DetailTableDataBinding events.
  • The MasterTableView has one DataKey named "PrivilegeCategoryID" while the detail table has two, "PrivilegeID,PrivilegeCategoryID"

The DestDataItem property is still returning the correct item; it's only the DestinationTableView that's incorrect:

Debug.Write(e.DestDataItem.OwnerTableView.Name); // correctly writes "Privileges"
Debug.Write(e.DestinationTableView.Name); // incorrectly writes "PrivilegeCategories"

One thought I had was I could work around this by just using e.DestDataItem.OwnerTableView, but that won't work if the row is dropped onto a CommandRow or other non-data row.

Are there some additional troubleshooting steps I could take to diagnose this further?

Thanks.
Tsvetina
Telerik team
 answered on 26 Aug 2011
1 answer
86 views
Hi,

   I wanted to know how this deletion of temporary files is handled from temporary directory,

just want to confirm that when multiple users are using this multiple upload, files should not get mixed up with the users if the files seem to be same and properly it should be handled..

also while deleting I want to know how the file is getting deleted by itself even if I close the browser, that's really some thing unusual..

want to make sure that files are deleted properly and does not mess up the things..

So will you please let me know how multi file upload and file deletion is actually handled when many users are using this
simultaneously ??..

Awaiting for your reply..

thanks
Pramodh
Peter Filipov
Telerik team
 answered on 26 Aug 2011
1 answer
93 views
I am having a problem validating a combo box using a custom validator but only when AllowCustomText = True.  If I remove the AllowCustomText="True" property it will fire the validation.  Any idea of what's going on here??  I have seen plenty of examples on the site using validation with Allowing custom text.

<telerik:RadComboBox ID="cboFromName" 
runat="server" 
Skin="Vista" 
AllowCustomText="True" 
MarkFirstMatch="True" 
Width="311px">
</telerik:RadComboBox>
<asp:CustomValidator ID="CustomValidator1" 
runat="server" 
ClientValidationFunction="validateFromName"
ControlToValidate="cboFromName" 
CssClass="body" 
ErrorMessage="From Name required"></asp:CustomValidator>
Shinu
Top achievements
Rank 2
 answered on 26 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?