Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
57 views
Can you point me where the documentation of the "RadTabstrip for ASP.NET AJAX" explains the "ClickSelectedTab" property (and all the other properties, for that matter). Searching for it yields only one result for me: http://www.telerik.com/help/aspnet-ajax/change-tabs-mouseover.html which is a code example in which the property is used.

Since I posted here, I have located this post: http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/force-selected-tab-to-reload.aspx which references this issue since last November. Is this what we can expect from Telerik going forward, as far as documentation is concerned. I would expect this kind of basic information in the first draft of your documentation.

This is important to users of your UI components. It is one thing to research the docs to find an answer. It is a complete waste of resources to research the documentation and find that there are holes in it that are obviously not a priority to fix.
Patrick Rivers
Top achievements
Rank 1
 answered on 02 Apr 2009
3 answers
141 views
Here is my my aspx page. I have paging set to true on the grid (which is working properly). I want to toggle the selected state of each of the checkboxes in the GridItems instead of just the GridItems on the current page.

Each GridItem has a chkInclude (its an ItemTemplate).

ASPX Code:
<asp:CheckBox ID="chkIncludeAll" runat="server" AutoPostBack="true" OnCheckedChanged="chkIncludeAll_OnCheckedChanged"
                    Text="Select/Deselect All" />
                <telerik:RadGrid ID="RadGrid1" AutoGenerateColumns="false" AllowPaging="True" AllowSorting="true"
                    Width="434px" Height="300px" BorderStyle="None" HorizontalAlign="Left" runat="server"
                    OnNeedDataSource="RadGrid1_NeedDataSource">
                    <ClientSettings Scrolling-AllowScroll="false">
                        <ClientEvents OnRowSelected="RadGrid1_RowSelected" />
                    </ClientSettings>
                    <MasterTableView ClientDataKeyNames="TimeZoneIndex,Roving" PageSize="15">
                        <Columns>
                            <telerik:GridTemplateColumn HeaderText="Include" HeaderTooltip="Include" UniqueName="Include">
                                <HeaderStyle Width="20px" />
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkInclude" runat="server" />
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn DataField="EmployeeId" UniqueName="EmployeeId" HeaderText="Id"
                                HeaderTooltip="Id">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="LastName" UniqueName="LastName" HeaderText="Last Name"
                                HeaderTooltip="Last Name">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="FirstName" UniqueName="FirstName" HeaderText="First Name"
                                HeaderTooltip="First Name">
                            </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>

C# Code:
protected void chkIncludeAll_OnCheckedChanged(Object sender, EventArgs e)
        {
            CheckBox checkboxIncludeAll = sender as CheckBox;
            if (checkboxIncludeAll is CheckBox)
            {
                foreach (GridItem item in RadGrid1.Items)
                {
                    if (item.ItemType != GridItemType.Item && item.ItemType != GridItemType.AlternatingItem)
                    {
                        continue;
                    }

                    CheckBox checkboxIncludeSingle = item.FindControl("chkInclude") as CheckBox;
                    if (checkboxIncludeSingle is CheckBox)
                    {
                        checkboxIncludeSingle.Checked = checkboxIncludeAll.Checked;
                    }
                }
            }
        }
Cade
Top achievements
Rank 1
 answered on 02 Apr 2009
3 answers
64 views
I am subscribing to the server side NodeExpand event to add child nodes, and if no childnodes are being added an empty node is still be rendered as follows;

<LI class="rtLI" _itemTypeName="Telerik.Web.UI.RadTreeNode">
<DIV class="rtMid">
    <SPAN class="rtSp"></SPAN>
    <SPAN class="rtMinus"></SPAN><IMG blah blah />
    <SPAN class="rtIn">File Listeners</SPAN>
</DIV>
<UL class="rtUL rtLines" style="VISIBILITY: visible; OVERFLOW: visible; POSITION: static; HEIGHT: auto">

The last UL is the empty node in which only the vertical line is rendered. I would like to get rid of this gap in the tree.

Thanks.
Atanas Korchev
Telerik team
 answered on 02 Apr 2009
3 answers
96 views
I'm having a problem with the drag and drop function. It seems on every drag and drop, any HTML tags are removed from the node text. I have these things being added with images, font differences, etc. I can reset the text on each drag and drop, but that's sort of a pain. Is there any way I can fix this?
Atanas Korchev
Telerik team
 answered on 02 Apr 2009
3 answers
110 views
It seems that the get_expanded() function of a node returns false even if the node has been expanded but has 0 children. I will appreciate if you could please look into it and let me know if it is actually an issue or am I missing something. If it is actually an issue then I will appreciate a work around.

Thanks
Som
Atanas Korchev
Telerik team
 answered on 02 Apr 2009
2 answers
108 views
I am using DNN 4.9 and I have RadEditor (7.3.3). I would like to set MakeUrlsAbsolute, but not sure how. In the web.config I tried MakeUrlsAbsolute="true" but that is not doing it. How do I set this for the Rad Editor in the web.config or in the tools.config?

Can it be set in the /Providers/HtmlEditorProviders/RadHtmlEditorProvider/RadHtmlEditerProvider.vb file?

Thanks,
Joe
Joseph
Top achievements
Rank 2
 answered on 02 Apr 2009
1 answer
283 views
Hello,

I've stumbled upon a "hidden feature" in the radchart i guess :)

I've got some code coloring my chart as follows

 try 
            {  
                Palette ColorPalette = CreatePalette();  
                Chart.SeriesPalette = "";  
 
                int SerieIndex = 0;  
                foreach (int ColorIndex in ColorIndexes)  
                {  
                    Chart.Series[SerieIndex].Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;  
                    Chart.Series[SerieIndex].Appearance.FillStyle.MainColor = ColorPalette.Items[ColorIndex].MainColor;  
                    Chart.Series[SerieIndex].Appearance.FillStyle.SecondColor = ColorPalette.Items[ColorIndex].SecondColor;  
                      
                    SerieIndex++;  
                }  
            } 
Where Colorindexes is a list of integers representing the colors to be used.

When I use the filltype Solid, everything is working fine.
When I use filltype Gradient, it seems that it doesn't show the colors i defined, but the colors of the seriespalette (which in my case is default).
When i use filltype ComplexGradient, i get an alert on the client with an errormessage like "An unexpected error has occured. Please review the innerexception for more details."

This happens only with barcharts. I've never had a problem with line charts. The remaining filltypes are working fine as well.
I'm using the solid filltype now, but a gradient would be nice :)

Greetings
Velin
Telerik team
 answered on 02 Apr 2009
1 answer
135 views
I understand that the RadEditor's FileUpload event runs in its own context.
That means that ViewState is uninitialized so I can't pass variables that way.
I want to pass the id of the current user so that I can make a database entry that says who uploaded the file.
How can I pass the id within the context of the FileUpload event?
Tervel
Telerik team
 answered on 02 Apr 2009
4 answers
198 views
It works fine in IE7.    Tool bar pops up and allows edit, but in FF 3.07, no toolbar pops up and I cannot type anything.

       <div id="divApprovals" runat="server" style="float:none; border-style: solid; border-width: 1px; background-color: #d5ffff; padding: 5px; margin-top: 2px; width: 740px;">
            <div id="divNewComment" runat="server" style="float:none; border-style: none; padding: 0px; width:98%">
                  <span class="SectionTitle">NEW COMMENT:</span><br />

                <telerik:RadEditor ID="txtNewComment" runat="server" AutoResizeHeight="True" Skin="Office2007"
                      BorderStyle="none" BorderWidth="0" ToolbarMode="ShowOnFocus" ToolsWidth="345px"
                    EditModes="Design" ToolsFile="BasicTools.xml"
                      Width="720px" Height="100px" TabIndex="21">
                </telerik:RadEditor>
            </div>
</div>



Francois MARTIN
Top achievements
Rank 2
 answered on 02 Apr 2009
3 answers
112 views
Does anyone know of a way to have a placeholder (some sort of box, say with a red border) show up where a broken image would be?

I find that if there is a broken image in the content of a page that I am editing, unless I specifically view the HTML and check all images, there isn't a way to know if any images are broken.

Shawn
Rumen
Telerik team
 answered on 02 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?