Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
341 views
I am trying to use an Appointment Template for a RadScheduler with WebService data binding. However, the template is not display. How could that happen?

Peter
Telerik team
 answered on 20 Oct 2011
1 answer
75 views
Hello,
I wants to change image in radscheduler appointmnet template at runtime.
Means in my data there are one column status which contains data like active, new, pending etc.
Now i wants to display image as per status in above column.

Or how to find image control in event RadScheduler_AppointmentDataBound(object sender, SchedulerEventArgs e) .


Thanks
Plamen
Telerik team
 answered on 20 Oct 2011
1 answer
106 views
Hello,
I wants to change image in radscheduler appointmnet template at runtime.
Means in my data there are one column status which contains data like active, new, pending etc.
Now i wants to display image as per status in above column.

Or how to find image control in event RadScheduler_AppointmentDataBound(object sender, SchedulerEventArgs e) .


Thanks
Plamen
Telerik team
 answered on 20 Oct 2011
2 answers
141 views
Hi.

I'm trying to build a dynamic 3 level tabstrip. Every tabstrip has data read from a DataSource and every tab in every tabstrip level has a tabstrip associated. Depending on the 1st level tab selected, the tabstrip's at second level might be different and depending on the 1st level tab selected, and 2nd level tab selected, a different tabstrip should be loaded.
the first 2 levels only have the tabstrip on the pageview associated to his tabs and only on the 3rd level it has some content ( some checkboxlist with some values obtained from 1st,2nd and 3rd level tabs selected.
The problem is that only 1st and 2nd level tabstrips show, the 3rd level tabstrip doesn't show at all
Here's what i have done :
- On the form design i only have the 1st level tabstrip and multipage
- on the code behind, on pageload (or init, i have tried both options) i have something like this:

the 3 subs here do the following steps:
bindTabStrip ( do the databind of the tabstrip)
bindMultiPage( read datatable and create n pageviews and add them to multipage)
bindViewid( set tab.pageview id = pageview.id)

BindTabStrip(level1TabsStrip, Level1DataTable)
      
        For rootTabIndex = 0 To level1TabsStrip.Tabs.Count - 1
            BindMultiPage(getLevel1Data, level1MultiPage)
            BindViewIDs(level1TabsStrip, level1MultiPage)
.

            For Each PV As PageView In level1MultiPage.PageViews

                level2Multipage = New RadMultiPage
                level2TabStrip = New RadTabStrip
                level2TabStrip.MultiPageID = level2Multipage.ID

                BindTabStrip(level2TabStrip, getLevel2Data)
                BindMultiPage(getLevel2Data, level2Multipage)
                BindViewIDs(level2TabStrip, level2Multipage)
                PV.Controls.Add(level2TabStrip)

 
                For Each PV2 As PageView In level2Multipage.PageViews
                    level3Multipage = New RadMultiPage
                    level3TabStrip = New RadTabStrip
                    level3TabStrip.MultiPageID = level3Multipage.ID
                 
                    BindTabStrip(level3TabStrip, getLevel3Data)
                    BindMultiPage(getLevel3Data, level3Multipage)
                    BindViewIDs(level3TabStrip, level3Multipage)
                    PV2.Controls.Add(level3TabStrip)

                Next

            Next

        Next
        level1TabsStrip.SelectedIndex = 0



Dimitar Terziev
Telerik team
 answered on 20 Oct 2011
11 answers
291 views
Hi,

I'm using version 5.6.2 in a WCM scenario, and am having problems adding an iframe into the HTML.

In my page layout I have the editor specified like this:

<telerik:RadHtmlField runat="server" DisplayWidth="100%" ID="docAbstract" FieldName="ACAbstract" InputFieldLabel="Article content" AllowSpecialTags="True" AllowScripts="True"/>

I have also made AllowScripts True in the ConfigFile.xml, but it's still stripping out the tag on saving the page.  Is there something I'm missing? 

Thanks,

Richard
Richard Earle
Top achievements
Rank 1
 answered on 20 Oct 2011
3 answers
102 views
Hi there,

All the sudden, the RadComboBox acts very strange in IE browser even if I do not change any code and it just started a week ago. I am not sure if this is due to Microsoft update or what else could cause it.

Here is the code.

Case: 1
                        <telerik:RadComboBox ID="rcbCompany" runat="server" DataSourceID="SQLDS_CompanyList"
                            Skin="Gray" AutoPostBack="True" Height="200px" Width="390px" MarkFirstMatch="True" 
                            DataValueField="companyGuid" DataTextField="company" OnSelectedIndexChanged="rcbCompany_SelectedIndexChanged" />

Say one of the company is "My Company".

When I typed "My" it does not show the company. However, if I type "ym", it will show. It will not happen to FireFox and Chrome.

Case: 2

                                <telerik:RadComboBox ID="rcbModel" runat="server" DataSourceID="SQLDS_Model" Skin="Gray"
                                    AutoPostBack="False" Height="200px" Width="200px" MarkFirstMatch="True" DataValueField="model"
                                    DataTextField="model" AllowCustomText="true" ToolTip="Enter or select model" />

Say one of the model is "PT-9500".

When I typed "pt-", the first letter that I type will be the end of the word that I typed. In this case, it will change from "pt-" to "t-p" and it will not find what I would like to.

I have not updated the code for at least two weeks and it just happened for IE only. Please let me know how do I solve this problem.

Thank you,

Sompop





Dimitar Terziev
Telerik team
 answered on 20 Oct 2011
2 answers
150 views
;Hello,

I need to get a rtf text from a SQL field and convert it to a normal string.

after this i will convert it again to xml and send it by a soap service.

i'm using the rad editor control to convert from rtf to string using the  following code:

var entity= _container.someting.First();
 
          Telerik.Web.UI.RadEditor editor = new Telerik.Web.UI.RadEditor();
 
          editor.LoadRtfContent(entity.rtfText);
 
          var text = editor.Content.ToString();

But the variable text have html values.... i was expecting pure text content.

Is there a way to convert rtf to normal text?

Best Regards,
Marco



Marco Teodoro
Top achievements
Rank 1
 answered on 20 Oct 2011
1 answer
81 views
Hi,

I am using Telerik Radgrid in my page.I am providing pagination 
facility to the columns in the grid. Here in the grid for the first time pagesize is selected as 10  and we can change the page size accordingly. If records in the grid are less than 10 then i am not showing the pagination . It is working fine in IE and Firefox but in Chrome for the first time blank space is coming below the horizontal scroll bar  but when a postback occurs from then it is coming fine.

Can you please help me on this issue.

 <PagerStyle Mode="NextPrevAndNumeric" />

Thanks in advance.

Shinu
Top achievements
Rank 2
 answered on 20 Oct 2011
1 answer
217 views

hi dear telerik team :
my radgrid column like below :

<telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn_Benefit" DataField="Benefit"
                    HeaderText="Benefit" UniqueName="TemplateColumn_Benefit" FilterImageToolTip="Filter">
                    <ItemTemplate>
                        <asp:Label ID="lblBenefitInsideGrd" runat="server" Font-Size="11px" Text='<%# (bool)Convert.IsDBNull(Eval("Benefit")) ? "<span class=\"lblInsideGrd\">Empty</span>" : String.Format("{0:#,0 Dollar;#,0- Dollar}", Eval("Benefit")) %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                </telerik:GridTemplateColumn> 

how can i String.Format(reformat) Sum result in footer for this template column ?
mean i want something like {0:#,0 Dollar;#,0- Dollar} in output...

best regards

thanks in advance

Phil
Top achievements
Rank 2
 answered on 20 Oct 2011
3 answers
129 views

I have a real problem for my application. Hopefully it is just a setting I overlooked. If I select a non-root item and collapse the branch it is on, it remains selected even though I selected another visible item without the using the shift or control keys. I have selected an item and collapsed its branch. Then I selected another item. When I expand the branch with the previously selected item, it is still selected. Visible selections are cleared with new selections, so hidden selections should be cleared with new selections.
What am I missing?

Thanks,
Paul

Tsvetina
Telerik team
 answered on 20 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?