Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views
Hello,

We have been using Telerik controls in our asp.net application, everything looks fine in development environment, but after deploying the application in test server we found the styles not getting rendered correctly.

For example the calendar icon is not rendered next to the telerik date picker, and the grid header looses styling and also the filter icons are not rendered on the grid header for filtering, but the functionality as such is working fine. Just the styling is missing. PFA the sample image
But after 2 to 3 days, all the styles were rendered correctly automatically and we were able to see the calendar icons, filter icons..

But again now we deployed the application on new server and the same behavior happens, not sure why. We have added all the necessary config file entries.

Please suggest a solution to solve this strange issue.

Thanks in Advance
Galin
Telerik team
 answered on 22 Oct 2013
1 answer
232 views
I have  a page that has nothing but a radupload control and a submit button. Recently, the textbox part of the upload box is no longer visible. Only visible is the select button that opens the file upload dialog. 

Here is the aspx code:

<rad:RadUpload ID="RadUpload" runat="server" MaxFileInputsCount="1" OverwriteExistingFiles="false" ControlObjectsVisibility="None" OnValidatingFile="RadUpload_ValidatingFile" AllowedFileExtensions=".csv" InputSize="32" ToolTip="Select exceptions file to upload">
</rad:RadUpload>

Telerik version is 2013.2.611.40

Any ideas? It's happening in IE and Chrome and a quick search through the markup/css in Developer Tools doesn't seem to find any CSS hiding the input.
Peter Filipov
Telerik team
 answered on 22 Oct 2013
1 answer
365 views
I have a stored procedure that get a list of categories from my database
Select Category from Categories
I then have some code that execute the stored procedure and returns the data to a datatable
Public Shared Function GetDescription() As DataTable
            Dim comm As DbCommand = GenericDataAccess.CreateCommand()
            comm.CommandText = "GetDescriptions"
 
            Return GenericDataAccess.ExecuteSelectCommand(comm)
        End Function
I then call this method to bind to the auto complete box
Protected Sub txtSearch_DataBinding(sender As Object, e As EventArgs) Handles txtSearch.DataBinding
 
       txtSearch.DataSource = GetMethods.GetDescription()
 
   End Sub
then call the databind on page load
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       If Not IsPostBack Then
           txtSearch.DataBind()
       End If
   End Sub
This is my front end code for the autocomplete
<telerik:RadAutoCompleteBox ID="txtSearch" DataTextField="Category" DataValueField="Category" runat="server" EmptyMessage="Please enter search term"></telerik:RadAutoCompleteBox>
when I run the page and start typing i get the attached error message.  Have I missed something really simple here?
Bozhidar
Telerik team
 answered on 22 Oct 2013
3 answers
342 views
there are some broken functionality with that option,

i can write the same item over and over again

myitem, seconditem , myitem, myitem, seconditem.

items wont checked automaticly when there is a match.

when i check/uncheck an item it deletes all items that i wrote (using keyboard).

auto complete seperator doesnt effect the selected items

my seperator is ";" and but the showing seperator is allways ","
Peter Filipov
Telerik team
 answered on 22 Oct 2013
4 answers
142 views
Hi all,

I want to access rad ribbonbar items in client side and set/get its values. Please help me to achieve this.
I want to do the following things.
1.Get and Set values to ddlText (RibbonBarDropDown )
2.Get and Set values to cbSize (RibbonBarComboBox)
3.How can I bind data to ddlText  and cbSize

NB: I am using Telerik  2013.1.220.40

My rad ribbonbar looks like follows.

 <telerik:RibbonBarGroup Text="Font" EnableLauncher="false" Value="Font">
                        <Items>
                            <telerik:RibbonBarControlGroup Orientation="Vertical">
                                <telerik:RibbonBarControlGroup Orientation="Horizontal" >
                                    <telerik:RibbonBarDropDown ID="ddlText"   Width="97" >
                                        <Items>
                                            <telerik:RibbonBarListItem Text="Arial" />
                                            <telerik:RibbonBarListItem Text="Calibri (body)"  Selected="true" />
                                            <telerik:RibbonBarListItem Text="Comic Sans" />
                                            <telerik:RibbonBarListItem Text="Tahoma" />
                                            <telerik:RibbonBarListItem Text="Verdana" />
                                        </Items>
                                    </telerik:RibbonBarDropDown>
                                    <telerik:RibbonBarComboBox ID="cbSize"  Width="40" >
                                        <Items>
                                            <telerik:RibbonBarListItem Text="8"  />
                                            <telerik:RibbonBarListItem Text="9" />
                                            <telerik:RibbonBarListItem Text="10" Selected="true" />
                                            <telerik:RibbonBarListItem Text="11" />
                                            <telerik:RibbonBarListItem Text="12" />
                                            <telerik:RibbonBarListItem Text="14" />
                                            <telerik:RibbonBarListItem Text="16" />
                                            <telerik:RibbonBarListItem Text="18" />
                                            <telerik:RibbonBarListItem Text="20" />
                                            <telerik:RibbonBarListItem Text="22" />
                                            <telerik:RibbonBarListItem Text="24" />
                                            <telerik:RibbonBarListItem Text="26" />
                                            <telerik:RibbonBarListItem Text="28" />
                                        </Items>
                                    </telerik:RibbonBarComboBox>
                                </telerik:RibbonBarControlGroup>
                                <telerik:RibbonBarControlGroup Orientation="Horizontal">
                                    <telerik:RibbonBarToggleButton  ID="tgleBold" Size="Small" Text="Bold" ImageUrl="images/icons/formD-Small-Icon-Bold.png"
                                        DisabledImageUrl="images/icons/formD-Small-Icon-Bold.png" Value="BOLD" />
                                    <telerik:RibbonBarToggleButton Size="Small" Text="Italic" ImageUrl="images/icons/formD-Small-Icon-Italic.png"
                                        DisabledImageUrl="images/icons/formD-Small-Icon-Italic.png" Value="ITALIC" />
                                    <telerik:RibbonBarToggleButton Size="Small" Text="Underline" ImageUrl="images/icons/formD-Small-Icon-Underline.png"
                                        DisabledImageUrl="images/icons/formD-Small-Icon-Underline.png" Value="UNDERLINE" />
                                    <telerik:RibbonBarToggleButton Size="Small" Text="Strikethrough" ImageUrl="images/icons/formD-Small-Icon-Strike.png"
                                        DisabledImageUrl="images/icons/formD-Small-Icon-Strike.png" Value="STRIKE" />
                                    <telerik:RibbonBarToggleList>
                                        <ToggleButtons>
                                            <telerik:RibbonBarToggleButton Size="Small" Text="Superscript" ImageUrl="images/icons/Superscript.png">
                                            </telerik:RibbonBarToggleButton>
                                            <telerik:RibbonBarToggleButton Size="Small" Text="Subscript" ImageUrl="images/icons/Subscript.png">
                                            </telerik:RibbonBarToggleButton>
                                        </ToggleButtons>
                                    </telerik:RibbonBarToggleList>
                                </telerik:RibbonBarControlGroup>
                            </telerik:RibbonBarControlGroup>
                        </Items>
                    </telerik:RibbonBarGroup>

 
Thank you
Abhi
Bozhidar
Telerik team
 answered on 22 Oct 2013
1 answer
361 views
I have a problem with regards on hiding  or Disabling "Upload" toolbar

Here is the scenario:

I have a Parent Folder - Folder 1
and a Child Folder - Folder 2
and a Child Sub-Folder - Folder 3

What I want to achieve is
Hide or Disable the upload button on Parent folder and Child Sub-folder
and the user can upload files inside Child Folder

but I don't know how can I achieve this.

Thank you very much.
Hoping for your reply soon
Vessy
Telerik team
 answered on 22 Oct 2013
1 answer
419 views
In your examples when using load on demand with web service
or client side code, there is a nice loader showing until the loading is completed.

However , when using server side load on demand there is no loader and the control is simply "stuck" until the data is retreved.

Is there any way to get the loader on server side load on demand?

Thanks,
Omer
Bozhidar
Telerik team
 answered on 22 Oct 2013
12 answers
250 views
Hi,

I am using your RadInputs and RadButtons for our subscribe application. I have an issue with history back and automatic restore of the historical data in the form. When i fill some textboxes and togglebuttons, go to other page (link or redirect) and go back with history back, the data in textboxes will be restored as expected but it seems it's thinking it's empty and shows the data as emptymessages and will be lost after next postback. The state of togglebuttons will not be restored. 

I tried with normal html inputs and this will be restored correctly. 

We need this because the users will go back to correct the data sometimes.
Is this an known issue?

See for example
http://screencast.com/t/wnUnvPxo

Tested this in Chrome.

Thanks.
Jelle
Eyup
Telerik team
 answered on 22 Oct 2013
1 answer
156 views
Hi

I have a Radgrid and initially it's empty.
When the user click "Add" button, a RadWindow popup to show another Radgrid with exactly same format(columns) as one in the parentpage. Except in this RadWindow the grid is binded with several rows.

What I want to do is when the user click "Choose" button in the RadWindow, the rows in the grid choosed by the user in the RadWindow will be added into the grid in the parent page.

I've seen the demo of passing values from RadWindow to parent page. But the demo is just passing text. How to pass a datarow to the parent page?

Thanks
Eyup
Telerik team
 answered on 22 Oct 2013
15 answers
767 views
Dear Telerik,

At the moment i am experiencing a strange behaviour with the radgrid. The problem is with the pager. It does not update properly when we use a filter on the grid. Say we have a pager with pagesize 20, and 30 items show. It will show 2 pages. After filering though, it will for example only show 5 items in the grid. The pager however still shows 30 items and 2 pages.

This problem only occurs when we use the property UseAllDataFields="true" on our mastertableview.
(i've seen several threads from the past with the same problem, and i've seen that those people also had the same property set).

Note: we do need this property to be set due an excel export. Not sure if we can workaround this by setting it in the code behind only during export.

Information about our grid / scenario:
We have a grid with:
- simple paging (just default paging with total number of items and pages)
- simple filter (just the default telerik textbox in the header, when typed grid gets filtered)
- grid is ajaxified in ajaxmanager
- advanced databinding in the onneeddatasource event. Here we simply set the grid.datasource to a collection of items

We use Telerik version 2012.1.215.35

Thanks in advance!

Ramon

Eyup
Telerik team
 answered on 22 Oct 2013
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?