Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
1.5K+ views
I keep getting the following error on radcontrols. It does not go even when i rebuild the solution. Some times the error will get fixed if i close the visual studio 2008  and open it again but some times i need to reboot my machine.  I started having this issue when i started adding more controls to the page. Any idea why it may be causing?

"Element Radtxtbox is not a kown element.  This can occur if there is a compilation error in the website or web.config file is missing"

Thank you,
Maria Ilieva
Telerik team
 answered on 27 Jul 2010
1 answer
90 views
Hello,

I need to apply a css in Radgrid and export to excel with the layout Radgrid.

How can I do?

Thanks!
Schlurk
Top achievements
Rank 2
 answered on 27 Jul 2010
2 answers
121 views
Hi all,

The radchart is great and easy to use although I am having trouble positioning the legend and my labels on the X-axis are cutoff.  See the attached screenshot.

Any ideas?
Thanks in advance!
Tim
Mark Gregor
Top achievements
Rank 1
 answered on 27 Jul 2010
2 answers
220 views
I want to keep the my editor really simple, so I decided to not use the Full Screen button. My problem is that if I click on F11 the function is still available because the shortcut is hardcoded. How to disable this fonctionality?

Sébastien
Sébastien
Top achievements
Rank 1
 answered on 27 Jul 2010
1 answer
196 views
I've got a filtered column with a ComboBox displaying values ok, according to the example at:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

But I'm stuck converting the filter operation to use a stored procedure instead of appending a WHERE onto a select.

The ComboBox in my RadGrid column is fed by this:

<asp:SqlDataSource 
    ID="CategoriesDataSource" 
    runat="server" 
    ConnectionString="<%$ ConnectionStrings:Development %>" 
    SelectCommand="myApp_CategoriesSelect" 
    SelectCommandType="StoredProcedure">
</asp:SqlDataSource>

What do I need to do to get this adapted? I think it has to do with adding the parameters but I'm unsure how to go about hacking up the example above to that end.

Regards,
Richard
Schlurk
Top achievements
Rank 2
 answered on 27 Jul 2010
2 answers
146 views

Posted 22 hours ago (permalink)

Hi,

I'm having a problem when I enable the option:
"<Adapter ControlType="System.Web.UI.Page" adapterType="Telerik.Web.UI.RadSessionPageStateCompression" />"

What this occurrence is the following, I have a grid with more than 100 records, and I select an option, open another screen with information on using the RadWindow, and this is open another screen that the user passes to analyze the 100 records, which are stored in a session, but arrives at the 7th record the system loses the reference information of the screen, the configuration information of the grid, the combo box, all the screen information, however data is still stored in the session.

If you access another screen the system reverts to the information normally. Have you any idea why the problem?
Silderado
Top achievements
Rank 1
 answered on 27 Jul 2010
2 answers
195 views

Hi
My work includes design a  web application with RadGrid Control.
Earlier the Grid implementation was done using Infragistics.

The application contains a column of type 'GridTemplateColumn' with 4 different images to perform edit(1), delete(2) and redirections(3,4).
On clicking the edit image, the grid should show a pop-up form to edit the current row.

I havent been able to find any code in your samples section to do this.
Here is the snippet of my code for reference.
<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>
<!--script -->
     <script language="javascript" type="text/javascript"> 
            function showEditPopup(gridName)
            {              
                    __doPostBack(gridName,'');
            }
     </script>
<!--grid code-->
<telerik:RadGrid ID="grdWatches" Skin="MyCustomSkin" runat="server" EnableViewState="true"
    EnableEmbeddedSkins="false" GridLines="Both" ShowFooter="false"
    AutoGenerateColumns="False" VirtualItemCount="50000"
    HorizontalAlign="Left" PageSize="5"
    AllowSorting="True" AllowPaging="True"
    OnNeedDataSource="grdWatches_InitializeDataSource" OnUpdateCommand="grdWatches_UpdateCommand">
    <itemstyle wrap="true" verticalalign="Top" />
    <headerstyle wrap="True" verticalalign="Middle" horizontalalign="Center" />
    <footerstyle wrap="True" />
    <alternatingitemstyle wrap="True" verticalalign="Top" />
    <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" />
    <mastertableview name="vwCaseWatches" commanditemdisplay="None" allowcustomsorting="false" allownaturalsort="false" EditMode="PopUp"
    allowsorting="true" DataKeyNames="WatchID">
      <Columns>
        <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" EditImageUrl="~/images/editwatch.gif" visible="true" >
        </telerik:GridEditCommandColumn>
        <telerik:GridTemplateColumn HeaderText="Manage" UniqueName="TemplateColumn1">
            <ItemTemplate>
            <table class="customTable">        
                <tr>
                <td align=center>
                    <asp:imagebutton id="btnUpdate" ImageUrl="~/images/editwatch.gif" style="color:green;" runat="server"
                    commandname="Update"></asp:imagebutton>
                </td>    
                <td align="center">                  
                    <a href="showEditPopup('<%=grdCaseWatches.ClientID%>')">
                    <img SRC='images/editWatch.gif' border="0" width="23" height="23" title='Edit Watch'>
                    </a>
                </td>
                <td align="center">                  
                    <a href='#'>
                    <img SRC='images/Delete.gif' border="0" width="23" height="23"  title='Delete'
                        onclick="ShowModalPopUp('<%# Container.DataItem("WatchID")%>', '<%# Container.DataItem("STATUSDESCRIPTION")%>')">
                    </a>
                </td>
                <td align="center">                  
                    <a href='~/InformParty.aspx?Watch= <%# Container.DataItem("WatchID")%>'>
                    <img SRC='images/listview.gif' border="0" width="17" height="17" title='View InformParty'/>
                    </a>
                </td>
                <td align="center">                  
                    <a href='~/DoTransact.aspx?Watch=<%# Container.DataItem("WatchID")%>'>
                    <img SRC='images/DollarSymbol.gif' border="0" width="16" height="16" title='View Charges'/>
                    </a>
                </td>
                </tr>
            </table>   
            </ItemTemplate>
        </telerik:GridTemplateColumn>
    </Columns>
    <EditFormSettings InsertCaption="Edit Case Details" CaptionFormatString="<b>Case Name:</b>"
        EditFormType="Template"  PopUpSettings-Modal="true" >
        <FormTemplate>
        <asp:RequiredFieldValidator ID="rfvannotation" runat ="server" Text ="Please enter the Case Name."
            EnableClientScript ="true" ControlToValidate ="txtCaseName" ValidationGroup ="rvfAnnotation"
            Display ="Dynamic">
        </asp:RequiredFieldValidator>
        <table id="Table1" cellspacing="1" cellpadding="1" border="0" width="250">
            <tr>
            <td>
                <b>Case Name:</b>
            </td>
            <td>
                <asp:TextBox ID="txtCaseName" runat="server" Text='<%# Bind("Case_Name") %>'>
                </asp:TextBox>
            </td>
            </tr>
            <tr>
            <td>
                FILE NUM:
            </td>
            <td>
                <asp:TextBox ID="txtClientMatter" runat="server" Text='<%# Bind("FILENO") %>' TabIndex="1">
                </asp:TextBox>
            </td>
            </tr>
        </table>
        <table style="width: 100%">
            <tr>
            <td align="left">
                <asp:Button ID="Button1" Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>'
                runat="server" CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'>
                </asp:Button> 
                <asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">
                </asp:Button>
            </td>
            </tr>
        </table>
        </FormTemplate>
    </EditFormSettings>
     </mastertableview>
</telerik:RadGrid>
<!--misc code-->
    You can notice that:
    Firstly,clicking the edit image invokes the javascript function showEditPopup()
    that would bring up the popup form - THIS IS NOT WORKING AS I M UNABLE to pass the appropriate Control ID to be used for popping up the FormControl.

    Second,I am able to successfully popup the Edit form using GridEditCommandColumn. But I am trying to avoid this as it would mean moving the edit image to a separate column.

    I am looking forward to suitable suggestion to solve my purpose and affirm the choice of Telerik as the right development tool.
    thanks
    Kumar.

Kumar
Top achievements
Rank 1
 answered on 27 Jul 2010
7 answers
179 views
Is anyone using the colorpicker control in an update panel and having issue with how it renders? I have it in a RadAjaxPanel so that I can hide and show it whan a specific radio button is selected. If the page loads with it in the hidden state and then it is set to visible in an ajax postback it render really large in firefox. After it hides and shows again on the postback it looks correct. I had seen this a couple of times on IE but it hasn't happened on that browser since I updated the program to the 2009 Q3 release. It is consistantly doing it on Firefox.

Image attached
Tsvetie
Telerik team
 answered on 27 Jul 2010
2 answers
194 views
I have a rating control in a ListView, used for display only.  ViewState is disabled.  When the ListView is databound, the rating control doesn't update to the new values.  This doesn't appear to be a client cache issue as the generated HTML is still at the old values as well.  you can see in the attached tooltip the value is correct, but the display is wrong.

Here is the code in the ListView ItemTemplate:

<telerik:RadRating runat="server" ID="rating" Value='<%# Eval("Score") %>' ReadOnly="true" Skin="Default"  Precision="Exact" EnableToolTips="false"/>
<telerik:RadToolTip runat="server" TargetControlID="rating" Text='<%# Eval("Score","{0:#.##} / 5.0 - ") + Eval("votes","{0:n0} votes") %>' Skin="Sunset" />

You can see this at *removed* (please don't pass around this link as the site is still in development ;) ).  If you change the sort order, the rating controls will not reflect the new values, however clicking a paging link which changes the URL will update the rating control.
ViNull
Top achievements
Rank 1
 answered on 27 Jul 2010
3 answers
212 views

If I copy "日本語" from a rich text editor (e.g. Character Map, Wordpad) and paste it into a RadEditor, the following is pasted instead:

Z

If I paste it into a plain text editor (e.g. Notepad), re-copy, and paste into a RadEditor, it pastes correctly. I have observed this under XP and Vista IE7, and Win7 IE8. It works ok in Firefox and Safari. I used your demo page at http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx to confirm the issue.

Rumen
Telerik team
 answered on 27 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?