Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
182 views
I would like to customize the Rad Editor to allow only certain HTML tags.
In particular, those tags supported by Adobe Flash player, as mentioned in this web page:

Examples:
As of now, when the user makes a text bold, the HTML code that is produced by the editor has <strong> tag; instead of this tag, the editor should produce, <b> tag in the HTML code, whenever the user clicks the button B in the editor.

Similarly, instead of <em>, the editor should produce <i> in the HTML code, whenever the user clicks the I button.
Instead of <span style="text-decoration: underline;">Underlined Text</span>, it should produce <u>Underlined Text</u>.
In the same way, all the tags mentioned in the above web page - and only those tags - should be supported by the custom Rad Editor.

How do I customize the Editor in this way?

Thanks in advance. I appreciate your help in this.
Regards!
Rumen
Telerik team
 answered on 11 May 2010
1 answer
159 views
Hi,

I have a requirement to show a 2 pie charts side by side with common legend. 1 chart with actual values and aother one with %. for both Charts source is same(DataSet). Is it possible to display 2 charts? If yes, please provide reference. For sample, I have attached snapshot. This is urgent requirement and any help would be greatly appreciated.

Thanks,
Mulagundla
Ves
Telerik team
 answered on 11 May 2010
3 answers
111 views
hi All

in my page i am using treeview and tabstrip control.in treeview employee is displaying in child node and branch is displaying in parent Node. when i am selecting child node every thing is working properly but while selecting parent node then it's throwing nullrefrence Exception.
and one more thing i am using Telerik latest control i.e. 2010.
    previously it was working with 2009. but now it's throwing Exception
so how to get parent Node is seleted or not in Treeview.

my code Is:-

 protected void treeOppGroups_NodeClick(object o, RadTreeNodeEventArgs e)
    {
        //if (treeOppGroups.SelectedNode.ParentNode.Selected)
       if(e.Node.ParentNode.Selected)
        {
            DoReadOnly();
        }
        else
        {
            DoReadOnlyFalse();
       }
  }


Please Help Meeeeeeeeeeeeeeeeee......
Nikolay Tsenkov
Telerik team
 answered on 11 May 2010
1 answer
101 views
Good Day All

Let me explain my Previous look of a Viewer before i used Telerik. this is a Custom built interface , built with normal asp.net and a lot of css at runtime. I am changing to Telerik Scheduler and its doing nice things for me.

I am trying to customize the Viewer. My Previous Viewer was like this

Screen-shot of the Old Viewer

as you can see the above viewer it has 2 Slots that i defined like this in the Database

Screen-Shot of Stots Data in the Database

By the Look at the Old Viewer it combined the DayView and the Month View. Now i am using Telerik Schedular that looks like this when all appointments are binded

Screen-Shot of Telerik Schedular

Now as you can see this one too, it different views, but the Currently displayed is a Month-view. When a user Clicks on the more it brings it in a Day View. Now i want to implement the Slot  style as depicted in the Oldviewer Screenshot.  I want to have Sessions and Days at the Top as depicted in the following Screen-shot

Screen-Shot of what i want

As you can see the 2nd Period. if an activity of subject takes double period it should be displayed as that and the time should be removed there, there should be Sessions. if i put it in simple english. On sunday 7 i have Seminar as period 1 and Labour Law as period 2 and Period 3 because it is a double period and on the 4th Period i have Advanced Constitutional Law

How can i achieve this,

Thank you


Chip
Top achievements
Rank 1
 answered on 11 May 2010
2 answers
120 views

When I am loading the page I want to select a value in Combobox with Treeview.

I am using following code, It selects correct value from a tree view but combo box doesn’t show this selected value, it always says “Select”.

How to I a show selected value on page load?

I am using following code.

      Dim tvCategory As RadTreeView = DirectCast(cboCategory.Items(0).FindControl("tvCategory"), RadTreeView)

                        tvCategory.FindNodeByValue(LCase(project.SubscriberCategory.Id.ToString)).Selected = True

A K
Top achievements
Rank 1
 answered on 11 May 2010
1 answer
93 views
I am writing a app that sends email to recipients based on templates.

Templates have a one to many relationship to recipients

I'm using radgrid to display the email templates and do inserts/updates.  With a formtemplate popup with another radgrid on it for the recipients.

When I'm inserting a new email template,  I have the situation where I need to perform the row insert without closing the formtemplate / popup, so I have a key for the recipients.

Is there a way to do this sort of thing?
Tsvetoslav
Telerik team
 answered on 11 May 2010
1 answer
137 views
Anyone have any examples that show how I would do the following.

I need a radtextbox and a radgrid.  The grid by default shows all the data table's records but when the user starts typing into textbox,  it automatically starts filtering the grid client-side (keyup event).

Would this be something I could use as a guide by changing out the combobox for textbox?  http://demos.telerik.com/aspnet-ajax/xmlhttppanel/examples/gridinxmlhttppanel/defaultvb.aspx
Shinu
Top achievements
Rank 2
 answered on 11 May 2010
2 answers
206 views
I am trying to get a basic grid working using a linqDataSource which is populated with a stored procedure.

    <div style="width:100%;overflow:auto;"> 
 
        <telerik:RadGrid ID="RadGrid1" Width="3000px" AllowPaging="True" PageSize="15" runat="server" AllowSorting="true" 
            GridLines="None" DataSourceID="linq_mySP"> 
            <MasterTableView Width="100%" /> 
            <PagerStyle Mode="NextPrevAndNumeric" /> 
            <FilterMenu EnableTheming="True"> 
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
            </FilterMenu> 
        </telerik:RadGrid> 
            
    </div> 
 
     <asp:LinqDataSource AutoPage="True" ID="linq_mySP" runat="server"></asp:LinqDataSource> 


Imports System.Data 
Imports Telerik.Web.UI 
 
Partial Class gridPages_telerikGrid 
    Inherits System.Web.UI.Page 
 
 
    Protected Sub linq_mySP_Selecting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.LinqDataSourceSelectEventArgs) Handles linq_mySP.Selecting 
        Using context As New DataClassesDataContext 
 
            Dim fromdate As DateTime = DateAdd(DateInterval.Year, -5, DateTime.Now) 
            Dim todate As DateTime = DateTime.Now 
 
            e.Result = context.spTest(49, fromdate, todate) 
 
        End Using 
    End Sub 
 
 
End Class 

The problem I have is that on page load I get an 'object reference not set to an instance error', which I believe it is refering to the grid.  I can get the grid to work not using linqDataSource by binding the data to the grid on page load, but i need to get it working using a linqDataSource.

Any help would be much appreciated.
mabs
Top achievements
Rank 1
 answered on 11 May 2010
1 answer
60 views
Hi im using the GridTableView.filter() client side function and it works great.
But only on columns that are actually displayed in the grid.

I would like to call GridTableView.filter() on a column in the data source that is not displayed.
I have added the column name to MasterTableView ClientDataKeyNames property.

Is this possible? How do I do it? I guess a work-around would be including the columns with a 0 width - but i'd prefer something more efficient.

Thank you!
Topher
Tsvetoslav
Telerik team
 answered on 11 May 2010
1 answer
146 views
Can the file type icons be removed from the grid portion of the fileexplorer control?
Petio Petkov
Telerik team
 answered on 11 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?