Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
198 views
Good Morning, 

I've a column in my Grid as GridBoundColumn(it's working), I need change this column to stay as GridDropDownColumn(dont working). 
Below is my GridBoundColumn and the attempt to change, don't appears error but the column is empty.

                           
     <telerik:GridBoundColumn DataField="TM_NOME" FilterControlAltText="Filter column column"
     HeaderText="Tipo de Módulo" UniqueName="TM_NOME">
     </telerik:GridBoundColumn>

       <telerik:GridDropDownColumn HeaderText="Tipo do Módulo" DataField="TM_NOME" ListTextField="NOME"                                                ListValueField="TM_NOME" DropDownControlType="RadComboBox" DataType="System.Int32">
       </telerik:GridDropDownColumn> 

ps( I saw in a example that have a parameter to GridDropDownColumn ( DataSourceID="" ), I don't know what data I must put here because in my other Columns I don't need this field.

Thanks!

Ricardo
Top achievements
Rank 1
 answered on 09 Apr 2013
3 answers
375 views
I just updated my RadControls for ASP.NET AJAX, and am now having problems getting the cell text of GridBoundItems when visible is set to false.

item["NonVisibleColumnName"].Text is always returning a blank space (&nbsp;).

Has anyone run into this issue?
Billy
Top achievements
Rank 1
 answered on 09 Apr 2013
1 answer
136 views

Setup :
  • Our application uses radTabs instead tabbing off each time in new browser tab
  • We have reports that we generate in PDF and then they are brought up in Adobe's PDF viewer and each such report is opened in individual radTab  that I mentioned above.
  • This Adobe PDf viewer is in an iframe

Issue :
  • IE 8 & 9 Everything is flawless & works great !
  • IE 10, even if user opens a new radTab, the Adobe PDF viewer stays on the screen, it never disappears,I have attached the screen snip, showing this error.
  • Our application is IE only (at least for now)

  • IE 8 & 9 Everything is flawless & works great !

IE 10, even if user opens a new radTab, the Adobe PDF viewer stays on the screen, it never disappears,I have attached the screen snip, showing this error.


Thanks for your help,
-Aarsh


Nencho
Telerik team
 answered on 09 Apr 2013
1 answer
345 views

I have a RadComboBox that displays a list of appropriate addresses to ship to from the user's address book.  When choosing which address to ship to they select from this dropdown.  However, they want the ability to edit their address book without having to leave the Order Form.  I solved this with an additional button that opens in a RadWindow the same page they use to edit their address book from their profile.  They can add, change, search for addresses easily from this window.  When they close the window however the changes are not reflected in the RadComboBox.

I am using Ajax on the page already and it is a form so if I allow the page to postback it can sometimes lose some of the information that was in the form if the user changed it.

Is there a way that I can rebind the RadComboBox to fetch the latest information similar to how the RadGrid can rebind?

Javascript:
<script type="text/javascript">
    function ShowAddressBook(button, args) {
        if (!confirm('This action will redirect you to your Address Book.  You will lose all unsaved information. Are you sure?')) {
            return false;
        }
        else {
            $find("<%=AddressBookWindow.ClientID %>").show();
        }
    }
    function RefreshAddresses() {
        location.reload();
    }
</script>

ASPX
<telerik:RadComboBox runat="server" ID="rcbAddress" Width="200px" EnableItemCaching="false" EnableLoadOnDemand="true"
                            DataSourceID="dsAddressBook" DropDownWidth="250px" HighlightTemplatedItems="true"
                            EmptyMessage="Select Address" DataTextField="AddressName" DataValueField="AddressID">
                            <ItemTemplate>
                                <div class="boxitem">
                                    <div class="addressLabel"><%# DataBinder.Eval(Container.DataItem, "AddressName") %></div>
                                    <div class="boxdetail">
                                    <div class='<%# DataBinder.Eval(Container.DataItem, "AddressTypeClass") %>'> </div>
                                    <div class="addressFormat">
                                        <strong><%# DataBinder.Eval(Container.DataItem, "RecipiantName") %></strong><br />
                                        <%# DataBinder.Eval(Container.DataItem, "Address1") %><br />
                                        <%# DataBinder.Eval(Container.DataItem, "Address2") %><br />
                                        <%# DataBinder.Eval(Container.DataItem, "City") %>, <%# DataBinder.Eval(Container.DataItem, "State") %> <%# DataBinder.Eval(Container.DataItem, "ZIP") %>
                                        <%# DataBinder.Eval(Container.DataItem, "Country") %>
                                    </div>
                                    </div>
                                </div>
                            </ItemTemplate>
                        </telerik:RadComboBox>
 
<telerik:RadButton ID="btnShowAddressBook" CausesValidation="false" AutoPostBack="false" runat="server" OnClientClicked="ShowAddressBook" Text="Edit Address Book">
<Icon PrimaryIconCssClass="rbOpen" PrimaryIconLeft="4" PrimaryIconTop="4" />
</telerik:RadButton>
 
---
 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    <Windows>
        <telerik:RadWindow ID="AddressBookWindow" Modal="true" VisibleStatusbar="false" OnClientClose="RefreshAddresses" Title="Manage Address Book" NavigateUrl="/SiteControls/AddressBook.aspx" runat="server" AutoSize="true" style="z-index:8000;" />
    </Windows>
</telerik:RadWindowManager>
Hristo Valyavicharski
Telerik team
 answered on 09 Apr 2013
2 answers
253 views
Hello, one of the requirements for my company's product is that when a user has a row selected in the radgrid, but then does an insert or update via add new record command or the edit button in the edit column, that row remains selected when the modal popup closes.  

I haven't seen any solutions for this in the forums or by web search.  We are utilizing a RadAjaxPanel if that's relevant.  Is there a straightforward way to solve this?
Luke
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
186 views
How can I add user control inside the header template of radpanelitem dynamically (from code behind)?
In my parent page, I'm having a RadPanelBar which contains two RadPanelItems. I want to add user control in header template of the second radpanelitem. When I tried to add user control in header template, the panel header height becomes wider and shows the user control in second line of panel. My user controls contains a small image button icon, which opens a radwindow.
Kate
Telerik team
 answered on 09 Apr 2013
0 answers
122 views
I am trying to move the selected cell in client side code after calling out to a service. On row click, I am setting the cells background color to indicate to the user which cell is selected.  I am then passing that column to a service, which is writing some data to the corresponding field in the database.  On success I am performing a rebind on the client side which updates my radgrid with the new data.  I am also trying to "highlight" the next cell in the row, but have been unsuccessful in my efforts thus far.

Any ideas?
Jimmy
Top achievements
Rank 1
 asked on 09 Apr 2013
2 answers
218 views
dear friends,
I tried blow code but rounded corners does not work. if I use Skin="" parameter it works but this time picker button disappers and "Open the calendar popup" text appears (as expected)
is there a solution ?

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" EnableRoundedCorners="true" />
<div id="jjj">
    <telerik:RadTextBox ID="RadTextBox1" runat="server" Skin=""></telerik:RadTextBox>
    <telerik:RadDatePicker ID="RadDatePicker2" runat="server" Calendar-CultureInfo="en-US">
    </telerik:RadDatePicker>
</div>

thanks.
Tom
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
141 views
Hi,

I have spent hours trying to get RadNumericTextBox to accept something as simple as 1.25. It rounds, or displays an alert. I have reviewed multiple forum posts and the documentation and something this simple seems to be pretty elusive. here is the markup (this is in a RadGrid ItemTemplate that displays in Edit mode). I have tried multiple combinations of the various parameters shown here with no good result. I am only showing the EditItemTemplate for brevity. Any help appreciated. 

 <EditItemTemplate>

                                         <telerik:RadNumericTextBox ID="rtbCMEHours" MaxLength="5" runat="server" Type="Number" MinValue="0.00" MaxValue="100.00" AllowOutOfRangeAutoCorrect="true" ToolTip="Enter the Hours Claimed here." Text='<%#Eval("HoursClaimed") %>' >

                                        <numberformat allowrounding="False" keepnotroundedvalue="False" DecimalDigits="2" ></numberformat>

                                         </telerik:RadNumericTextBox>

                                     </EditItemTemplate>

Angel Petrov
Telerik team
 answered on 09 Apr 2013
1 answer
182 views
I'm getting the following error when trying to run the Grid demo on my local machine:

The database 'C:\PROGRAM FILES (X86)\TELERIK\RADCONTROLS FOR ASP.NET AJAX Q1 2013\LIVE DEMOS\APP_DATA\TELERIK.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported.
Could not open new database 'C:\PROGRAM FILES (X86)\TELERIK\RADCONTROLS FOR ASP.NET AJAX Q1 2013\LIVE DEMOS\APP_DATA\TELERIK.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q1 2013\Live Demos\App_Data\Telerik.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Andrey
Telerik team
 answered on 09 Apr 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?