Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
92 views
New to telerik and trying to use the RadTreeview to replace our old tree. I am trying to display more that one image on a node.

something like this
    
Root
    |
    ------Item1 (Image1) (Image2) (Image 3)
    |
    ------Item1 (Image1) (Image2) (Image 3)

Is this possible? if so, can you provide an example of how to do?
Boyan Dimitrov
Telerik team
 answered on 11 Feb 2013
1 answer
105 views
Hi,

I have rad grid on my page.In radgrid AllowKeyboardNavigation property is set true. 


when i rebind the grid selected row is not cleared

  Please find my attachment.

Let me know the solution..........................




Thanks,
Prasanna.
Eyup
Telerik team
 answered on 11 Feb 2013
1 answer
123 views
i need to know how to dynamically sort the column's data.i just placed a radgrid and dynamically binded through the following...


con = new SqlConnection("Data Source=ServerName;Initial Catalog=Databasename;User ID=sa;Password=*******");
        con.Open();
        cmd = new SqlCommand("select * from TableName where Department ='FieldName'", con);
        reader = cmd.ExecuteReader();
        RadGrid1.DataSource = reader;
        RadGrid1.DataBind();
        con.Close();

and i aslo enable the radgrid properties such as sorting , paging, auto generate columns, at the design time itself ...when i click on the column header at runtime .. it shows error like below..

Server Error in '/' Application.

Invalid attempt to call FieldCount when reader is closed.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: Invalid attempt to call FieldCount when reader is closed.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[InvalidOperationException: Invalid attempt to call FieldCount when reader is closed.]
   System.Data.SqlClient.SqlDataReader.get_FieldCount() +5033848
   System.Data.Common.DbEnumerator.BuildSchemaInfo() +19
   System.Data.Common.DbEnumerator.MoveNext() +156
   Telerik.Web.UI.GridResolveEnumerable.GetCollectionItemType(Boolean noItemsInEnumerator, Type& collectionItemType, Object& collectionFirstObject) +337
   Telerik.Web.UI.GridResolveEnumerable.ParseProperties() +90
   Telerik.Web.UI.GridResolveEnumerable.Initialize() +13
   Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +24
   Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +208
   Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +129
   Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +404
   Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +164
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +33
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +66
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +128
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143
   Telerik.Web.UI.GridTableView.PerformSelect() +16
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
   Telerik.Web.UI.GridTableView.DataBind() +272
   Telerik.Web.UI.GridPageChangedEventArgs.ExecuteCommand(Object source) +1299
   Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +136
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +38
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +87
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +125
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +169
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +9
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

pls reply me quick...i i'm in urgent
Shinu
Top achievements
Rank 2
 answered on 11 Feb 2013
4 answers
79 views
Hi,
Currently in one of our application we are planning to use RadRotator for rotating the items (e.g. Images) on click of left , right buttons. I found this can be achieved by setting the RotatorType="Buttons" in RadRotator. We have a requirement that, the number of items displayed and number of items scrolled on click of left or right button is configurable. From documentation i figured out how to configure the number of items to be displayed (i.e. by setting ItemWidth and Width properties appropriately). Is there any way to configure the number of items to be scrolled on click of right or left button.
Thanks in advance.

Slav
Telerik team
 answered on 11 Feb 2013
3 answers
231 views
I'm looking for a TriState CheckBox control but there isn't one in the Telerik Asp.net Ajax Controls.

The RadTreeView had a TriState checkbox, so isn't it possible to use that TriState?

If not, any plans on releasing a TriState checkbox?
Bozhidar
Telerik team
 answered on 11 Feb 2013
1 answer
151 views
Is it possible to change the currency despite the cuture(only currency). Becouse i have an app that changes the language depending on culture info but i wan`t to keep the same currency.

When i change only the currency it doesn`t work:

CultureInfo currentCulture = new CultureInfo(System.Threading.Thread.CurrentThread.CurrentCulture.LCID);
currentCulture.NumberFormat.CurrencySymbol = "zł";
System.Threading.Thread.CurrentThread.CurrentCulture = currentCulture;
Eyup
Telerik team
 answered on 11 Feb 2013
2 answers
120 views
Hey Guys,

We are facing the problem with the RadComboBox that if the value of the box contains quotes, the value is gone after a postback.
It looks like this is the only character which makes trouble.
Everything else works as expected.

Is this a known issue and any workaround?

Cheers,
Thomas
Thomas Luck
Top achievements
Rank 1
 answered on 11 Feb 2013
1 answer
97 views
Hi,

Is it possible to change the RadNumericTextBox currency symbol through javascript?

Vasil
Telerik team
 answered on 11 Feb 2013
4 answers
131 views
I have the next code:

<telerik:GridTemplateColumn 
                        HeaderText="<%$ Resources:Nervia.Plus.Axon, NUMERO_SERIE %>" 
                        UniqueName="NUMEROSERIE" 
                        AllowFiltering="True"
                        >
                        <ItemTemplate>
                        <%# Eval("Articulos.NUMEROSERIE")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <telerik:RadComboBox 
                                ID="rcbNumeroSerie" 
                                runat="server" 
                                Width="130px"
                                DropDownWidth="560px" 
                                ShowMoreResultsBox="True" 
                                EnableVirtualScrolling="True"
                                Filter="Contains">
                                <HeaderTemplate>
                                    <table style="width: 360px" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 110px;"> <asp:Label ID="lbl1" runat="server" Text="<%$ Resources:Nervia.Plus.Axon, MARCA %>" Font-Bold="True"></asp:Label></td>
                                            <td style="width: 200px;"> <asp:Label ID="lbl2" runat="server" Text="<%$ Resources:Nervia.Plus.Axon, MODELO %>" Font-Bold="True"></asp:Label></td>
                                            <td style="width: 200px;"> <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Nervia.Plus.Axon, NUMERO_SERIE %>" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                    </table>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table style="width: 360px" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container, "Attributes['MARCA']")%>
                                            </td>
                                            <td style="width: 200px;">
                                                <%# DataBinder.Eval(Container, "Attributes['MODELO']")%>
                                            </td>
                                            <td style="width: 200px;">
                                                <%# DataBinder.Eval(Container, "Text")%>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>
                        </EditItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="140px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="140px" />
                    </telerik:GridTemplateColumn>

the values of radcombobox it's loaded in the server but when i enter in insert mode and load the newValues, numeroSerie don't show in the array, even newValues["NUMEROSERIE"] = null :S

thanks for your helps and sorry for my english.
Santos
Top achievements
Rank 1
 answered on 11 Feb 2013
1 answer
81 views

I have a timer which refreshes the browser every 30 seconds. If I try to drag a task from Radgrid to RadScheduler, at that point if the timer refreshes the browser the task freezes/getting stuck somewhere. (Please see screenshot). It is disappearing when I hit F5.

How can I fix this issue?

Thanks in advance

      

Boyan Dimitrov
Telerik team
 answered on 11 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?