Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
164 views
I am using Asp.net ajax telerik rad chart to create  some reports. Chart which i am using is bar chart with one series. I would like to increase the space between each bars in the chart. Please find the attachment.

Rosko
Telerik team
 answered on 01 Aug 2012
1 answer
62 views

Hi Telerik

 We decided to use your new feature (Multi columns) in a RadGrid.

 
<telerik:GridCheckBoxColumn DataField="Image" HeaderText="Image" ColumnGroupName="Image" />

 

In our scenario we are dynamically adding controls to a header cell.

 protected void RadGridImages_ItemCreated(object sender, GridItemEventArgs e)

 {

     if (e.Item is GridHeaderItem)

     {

         GridHeaderItem headeritem = (GridHeaderItem)e.Item;

         CheckBox checkBox = new CheckBox();

         checkBox.Checked = ShowAll;

         checkBox.Text = "Show all";

         checkBox.ID = "CheckBoxShowAll";

         checkBox.AutoPostBack = true;

         checkBox.CheckedChanged += new EventHandler(checkBox _CheckedChanged);

         headeritem["ShowAll"].Text = "Show all";

         headeritem["ShowAll"].Controls.Add(checkBox);

     }

 }

 

It works perfect without using the multi columns function. However, a problem by adding a control dynamically occurs. We have obtained this error:

 “Specified argument was out of the range of valid values. Parameter name: index”

Is there any way to dynamically add control to header cell in case of using multi column function, please?

By removing the information about group and group definition, everything works perfect again. When we apply multi columns functionality and delete the functionality of dynamically control adding, everything works well too.

Thank you in advance for your advice.

Pavlina
Telerik team
 answered on 01 Aug 2012
2 answers
225 views
Hello, I have a problem with the property width of control radcombobox within a Iframe and the IFrame is within a RadPageView.
the radComboBox is render with table with="0px". Is this a bug with IE8 and IE9?. I look fine in other browsers.

Code:
  <telerik:RadTabStrip ID="rtsDetail" runat="server" MultiPageID="rmpDetail">
            <Tabs>
                <telerik:RadTab runat="server" PageViewID="rpvCO" Text="Customer Order">
                </telerik:RadTab>
                <telerik:RadTab runat="server" PageViewID="rpvWO" Text="WorkOrder">
                </telerik:RadTab>
                <telerik:RadTab runat="server" PageViewID="rpvOP" Selected="True" 
                    Text="Operations">
                </telerik:RadTab>
                <telerik:RadTab runat="server" PageViewID="rpvEDI" Text="EDI">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="rmpDetail" runat="server" Height="100%">
                                    <!-- Begin Details Tabs -->
            <telerik:RadPageView ID="rpvCO" runat="server" 
                Height="100%">
            <telerik:radcombobox ID="RadComboBox5" Runat="server">
                <Items>
                    <telerik:RadComboBoxItem Value="1" Text="Uno" />
                    <telerik:RadComboBoxItem Value="2" Text="Dos" />
                    <telerik:RadComboBoxItem Value="3" Text="Tres" />
                </Items>
                </telerik:radcombobox>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvWO" runat="server" Height="100%">
               <iframe width='100%' src='WebCombo.aspx' height='100%' scrolling='yes'></iframe>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvOP" runat="server" Height="100%">
                <telerik:radcombobox ID="RadComboBox3" Runat="server">
                <Items>
                    <telerik:RadComboBoxItem Value="1" Text="Uno" />
                    <telerik:RadComboBoxItem Value="2" Text="Dos" />
                    <telerik:RadComboBoxItem Value="3" Text="Tres" />
                </Items>
                </telerik:radcombobox>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvEDI" runat="server" Height="100%">
                <telerik:radcombobox ID="RadComboBox4" Runat="server">
                    <Items>
                        <telerik:RadComboBoxItem Value="1" Text="Uno" />
                        <telerik:RadComboBoxItem Value="2" Text="Dos" />
                        <telerik:RadComboBoxItem Value="3" Text="Tres" />
                    </Items>
                </telerik:radcombobox>
            </telerik:RadPageView>
                                    <!-- End: Details Tabs -->
                                </telerik:RadMultiPage>


Code WebCombo.aspx

<div>


          <telerik:RadScriptManager ID="sp" runat="server">
          </telerik:RadScriptManager>
          <telerik:RadComboBox ID="rcbEquipment" runat="server" AllowCustomText="false" MarkFirstMatch="false"
            EnableLoadOnDemand="false" HighlightTemplatedItems="true" EnableTextSelection="false"
             Width="100%" EmptyMessage="" DropDownWidth ="130px" Height="50px"  >
            <ItemTemplate>
                <asp:CheckBox runat="server" ID="chk1"  />
                <asp:Label runat="server" ID="Label1" AssociatedControlID="chk1">
                <%# Eval("Value") %>
                </asp:Label>
            </ItemTemplate>
        </telerik:RadComboBox>
    </div>

I attach picture of html render.


I use telerik Telerik.Web.UI_2012_1_411


I hope some comment. 

Ivan Zhekov
Telerik team
 answered on 01 Aug 2012
2 answers
207 views
Hello,

I added a rad captcha control, a button and  the "validationgroup" to each of the controls to a page that has nothing else.

On Page Load I added the following code:
        If RadCaptcha1.IsValid Then
            Response.Write("Valid")
        Else
            Response.Write("NOT VALID")
        End If

I get "Valid" when the page loads and there is no text in the captcha textbox.

what am I missing?

Please help - thank you.
Slav
Telerik team
 answered on 01 Aug 2012
1 answer
72 views
I've been able to get External Stylesheets to work. This part works great but it introduces a new issue.

I can't figure out a way to put the content into a certain context of the page.

For example. If the content I'm editing is the content of a page and i'm loading the pages stylesheet. The body background is black but the page wrapper is white with black text (not specified, just natural from the body).

RADeditor loads everything directly into the body which will be black text on black bg.

Is there a way around this? can I insert a wrapper div or something around the content? Can I add a css class to the body so that it could receive the css for the page wrapper?
Rumen
Telerik team
 answered on 01 Aug 2012
1 answer
75 views
I have problem with the checked property , it returns false even it 's checked

The issue occurs only if going to another page then clicking on the browser back button.

And what's abnormal, is that only the first checked node returns false, the remaining checked nodes return true
source Code

 

 

<telerik:RadTreeView ID="tvwCSI" runat="server" BorderColor="Silver" BorderStyle="Solid"

 

 

 

CssClass="box" CheckBoxes="True" DataTextField="Description" DataValueField="ID"

 

 

 

Height="250" Skin="Hay" Width="300px">

 

 

 

<CollapseAnimation Duration="1" Type="OutQuint" />

 

 

 

<ExpandAnimation Duration="1" />

 

 

 

</telerik:RadTreeView>

 



Any hint


Riade
Plamen
Telerik team
 answered on 01 Aug 2012
1 answer
111 views
Hello Team,

We are seeing some weird behavior for the Rad Editor Link Manager, we upgraded from MOSS 2007 to SharePoint server 2010.
We are using MossLinkManager that we updated in ToolsFiles and ListToolsFile.

Say we are selecting some Text ex: manual in below sceenclip and click hyperlink


and we selected some link i.e. index.aspx from pages document library, see below


and once we click OK, the actual Text in the editor manual is changing to index.aspx, see below

RadEditor Version: 6.1.6.0, this is not the case in MOSS 2007, we are seeing this issue only in SharePoint Server 2010
Is this a Know issue? Is there any Fix for this?
Rumen
Telerik team
 answered on 01 Aug 2012
1 answer
125 views
Hi folks.

I'm exporting the content of a RadGrid using the BIFFExporting (because I need to add an extra sheet with various informations), but apparently there's an issue with the date fields, for they are not displayed in the correct culture (though I set the culture for the application in the web.config and for the radGrid programmatically).

Is there any specific configuration one needs to take into account when exporting using BIFFExport so that the date fields are properly formatted?

Many thanks in advance.
Daniel
Telerik team
 answered on 01 Aug 2012
4 answers
144 views
Hi All

I am creating a new grid and using the RadGrid grouping facilities. My Grid is displaying what i need but i would like some advice on how to format the GroupHeader, I was able to set font etc but I would like to have equal spacing between the Titles etc.. I have attached the grid to show what it currently looks like. 

Thanks
Stuart
Top achievements
Rank 1
 answered on 01 Aug 2012
1 answer
80 views
I have created a custom control by extending the RadGrid.

Please tell me how to override Radgrid properties.
I was able to override PageSize, but I could not override "MasterTableView.CommandItemSettings.ShowExportToCsvButton"
please tell me how to override this Property or tell me in which event I have to set the default value to the same
Maria Ilieva
Telerik team
 answered on 01 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?