Telerik Forums
UI for ASP.NET AJAX Forum
20 answers
270 views

Hello,

Telerik version : 2010.2.826.35

I use a RadFilter with RadGrid and I see just the first column and the last 29 columns of the grid.

I tried with no RadGrid and 32 RadFilterTextFieldEditor. I had the same result.

Just a little remark, there is a problem with css when I use design time. : CssClass="RadFilter RadFilter_Default "

 

 

 
An other question :
How can add RadFilterTextFieldEditor to a RadFilter with a FilterContainerID ?

Anne

 

 

 

 

 

 

 

Michael
Top achievements
Rank 1
 answered on 23 Mar 2011
3 answers
73 views

We just implemented RadEditor AjaxSpellCheck feature in a intranet website (with Integrated Windows Authentication) and it works fine for me. However, when users click on 'Add to dictionary' option for mis-spelt words, they are facing windows security alert and when hit on Cancel button its coming up with Spell Check Handler error:401.

It seems like this is happening due to users not having permissions on '~\App_Data\RadSpell' folder to create 'en-US-Custom.txt' file where all new users words get stored when hit on Add to dictionary option.

I would appreciate if someone can suggest me a fix for this i.e., through either RadEditor settings or giving write permission on ~\App_Data\RadSpell folder using some property in web setup msi?

I already tried setting the property AllowWriteAccess to True for both the folders 'App_Data' and 'RadSpell' in Web Setup project but it still fails with the same erorr.

Regards,
Sameer

Marin Bratanov
Telerik team
 answered on 23 Mar 2011
2 answers
354 views

<asp:UpdatePanel runat="server" ID="upZipCodes" UpdateMode="Conditional">
        <ContentTemplate>
            <br />
            <br />
            <telerik:RadAjaxPanel ID="GeoTarget" runat="server">
                <telerik:RadPanelBar runat="server" ID="trpbGeoTarget" ExpandMode="SingleExpandedItem">
                    <Items>
                        <telerik:RadPanelItem Expanded="True" Text="Discreate ZipCodes List" runat="server"
                            Selected="true">
                            <Items>
                                <telerik:RadPanelItem Value="DiscreateZipCodes" runat="server" Expanded="true">
                                  <ItemTemplate>
                                    
                                   <div class="text" style="background-color: #edf9fe">
                                  <asp:Panel runat="server" ID="pnlDiscrete">
                                        <table border="1" style="width: 790px; height: 476px;">
            <tr>
                <td class="style17">
                    <asp:Label ID="Label4" runat="server" SkinID="InputRegular">Discrete List:</asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style26">
                    <asp:Button ID="btnAddAll" runat="server" OnClick="btnAddAll_Click" Style="z-index: 1;
                        left: 83px; top: 2px; position: relative; width: 105px; height: 26px;" Text=" Add ZipCodes "
                        ToolTip="Click here to Add zipcode in List" />
                          <asp:Button ID="btnClearList" runat="server"
                        OnClick="btnClearList_Click" Style="z-index: 1; top: 3px; position: relative;
                        width: 74px; left: 175px" Text="Clear List" ToolTip="It Removes all ZipCode from List" />
                             
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:TextBox ID="txtZipCode" runat="server" Height="47px" SkinID="Long" TextMode="MultiLine"
                        ToolTip="Enter ZipCodes" Width="454px"></asp:TextBox>
                    <uc2:Helper ID="Helper3" runat="server" ResourceKey="ZipCode" />
                    <ajaxToolkit:FilteredTextBoxExtender ID="Validatior" runat="server" FilterType="Custom, Numbers"
                        TargetControlID="txtZipCode" ValidChars="," />
                    <asp:RequiredFieldValidator ID="rfvZip" runat="server" ControlToValidate="txtZipCode"
                        Display="Dynamic" ErrorMessage="* Enter Comma Sepertaed ZipCodes" SetFocusOnError="true"
                        SkinID="ClientMessaging"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:Panel ID="pnlGeoTargetProfile" runat="server" ScrollBars="Both">
                        <asp:GridView ID="grdZipDiscreateList" runat="server" AutoGenerateColumns="False"
                            DataKeyNames="ZipCode" EnableModelValidation="True" RowStyle-Height="1px" ShowFooter="True"
                            SkinID="view" Width="779px" AllowPaging="True" overflow="auto" ScrollBars="Both">
                            <Columns>
                                <asp:BoundField DataField="ZIPCode" HeaderText="ZipCode" ReadOnly="true" />
                                <asp:BoundField DataField="City" HeaderText=" City Name" ReadOnly="true" />
                                <asp:BoundField DataField="State" HeaderText="State" ReadOnly="true" />
                                <asp:TemplateField HeaderText="Action" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:Panel ID="pnlDelete" runat="server">
                                            <asp:LinkButton ID="lnkRemove" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ZIPCode") + "," + DataBinder.Eval(Container, "RowIndex") %>'
                                                OnClientClick="return confirm('Are you remove want to remove this ZipCode from the Discrete list ? Do you wish to continue.');"
                                                Text="Remove"><img alt="" src="../Images/Icons/remove.png" border="0" title="remove"></asp:LinkButton>
                                        </asp:Panel>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                            </Columns>
                            <RowStyle Height=".5px" />
                        </asp:GridView>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td>
                     <asp:Button ID="btnSave" runat="server" SkinID="btnSave" Text=" Updates ZipCodes "
                        ToolTip="Click here to Update zipcodes in List" ValidationGroup="ClientDegree"
                        Width="157px" />
                    <asp:Button ID="btnCleargrid" runat="server" OnClick="btnCleargrid_Click" Style="z-index: 1;
                        left: 140px; top: 0px; position: relative; width: 133px; height: 26px" Text="Delete All ZipCodes"
                        ToolTip="It Removes all ZipCode from List" />
                    <asp:Button ID="btnClose" runat="server" OnClick="btnClose_Click" Style="z-index: 1;
                        left: 186px; top: 0px; position: relative; width: 52px; height: 26px" Text="Close" />
                                       
                </td>
            </tr>
        </table>
         
    </asp:Panel>
                                    </div>
                                        <ul class="formList" id="accountInfo">
                                  </ItemTemplate>
                                 </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Expanded="True" Text="States List" runat="server" Selected="true">
                            <Items>
                                <telerik:RadPanelItem Value="States List" runat="server">
                                    <ItemTemplate>
                                        <div class="text" style="background-color: #edf9fe">
                                        </div>
                                        <ul class="formList" id="accountInfo">
                                            <asp:Panel runat="server" ID="pnlStateList">
                                                <table border="1">
                                                    <tr>
                                                        <td class="style15">
                                                            <uc1:campus ID="campus" runat="server" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </asp:Panel>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Expanded="True" Text="ZipCodes Within Radius" runat="server"
                            Selected="true">
                            <Items>
                                <telerik:RadPanelItem Value="ZipCodes in Radius" runat="server">
                                    <ItemTemplate>
                                        <ul class="formList" id="accountInfo">
                                            <asp:Panel ID="pnlMiles" runat="server">
                                                <table border="1">
                                                    <tr>
                                                        <td class="style25">
                                                            <asp:Label ID="lblZipCodes" runat="server" Text="ZipCodes within: "></asp:Label>
                                                            <asp:TextBox ID="txtMiles" runat="server" Width="32px"></asp:TextBox><asp:RequiredFieldValidator
                                                                ControlToValidate="txtMiles" ID="RequiredFieldValidator3" runat="server" Display="Dynamic"
                                                                ErrorMessage="* Enter Miles" SetFocusOnError="true" SkinID="ClientMessaging"
                                                                ValidationGroup="ClientDegree"></asp:RequiredFieldValidator>
                                                            <asp:Label ID="lblMilesOfRadious" runat="server" Text="Miles Of Radius: "></asp:Label>
                                                            <asp:TextBox ID="txtZipInMiles" runat="server" Width="90px"></asp:TextBox>
                                                            <uc2:Helper ID="Helper4" runat="server" ResourceKey="ZipCode" />
                                                            <asp:RequiredFieldValidator ControlToValidate="txtZipInMiles" ID="RequiredFieldValidator4"
                                                                runat="server" Display="Dynamic" ErrorMessage="* Enter Numric ZipCodes" SetFocusOnError="true"
                                                                SkinID="ClientMessaging" ValidationGroup="ClientDegree"></asp:RequiredFieldValidator>
                                                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
                                                                FilterType="Custom, Numbers" TargetControlID="txtZipInMiles" ValidChars="," />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </asp:Panel>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelItem>
                    </Items>
                    <CollapseAnimation Duration="100" Type="None" />
                    <ExpandAnimation Duration="100" Type="None" />
                </telerik:RadPanelBar>
            </telerik:RadAjaxPanel>
            <%--  <Items>
                <telerik:RadPanelItem Text="Discrete List Of ZipCodes" Expanded="True">
                    <Items>
                        <telerik:RadPanelItem Text="Personal Folders" />
                         
                    </Items>--%>
            <br />
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>
I am unable to access my controls in my code behind and when i am trying to access my Controls i am getting an  error of "Controls are not existing in current context".
I have attached my error file. I have very basic understanding of rad panal Bar. So can you please explin me in detail what the ploblem is.?
Thanks in advance.
Sankar
Top achievements
Rank 1
 answered on 23 Mar 2011
1 answer
72 views
Hi,
I am using RadScheduler in a SharePoint site. If I enable all day row the width of the appointment is very small and I can't actually see it in Internet Explorer 8. With the other browsers this doesn't happen.
I have added the following scripts
div.RadScheduler .rsHorizontalHeaderTable, div.RadScheduler .rsContentTable
{
     width: /*\**/ 100%\9 !important;
}           
* + html div.RadScheduler .rsHorizontalHeaderTable, * + html div.RadScheduler .rsContentTable
{
     width: auto !important;
}

and tried adding something like
div.RadScheduler .rsAllDayRow > td
{
      width: auto !important;      
}

for the all day row but with no success. If I set width: 100% !important then the width of the first all day appointment is the whole scheduler.
Could you please suggest me anything?
Thanks in advance,
Ilias
Kalina
Telerik team
 answered on 23 Mar 2011
1 answer
202 views
hi friends.

i got problems when i converted my project to a newer version using telerik web controls,
my project has an assembly 'Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763', i've already used Telerik.Web.UI.dll instead of Telerik.Charting.dll and added Telerik.Web.UI in my project so i had to remove Telerik.Charting from my project, then i set my web.config file like the code i give bellow but it still occurs bugs, does anyone know this issue?, please help me to resolve it, and here is the code in my web.config file.

  1. <runtime>
  2. <assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
  3. <dependentAssembly>
  4. <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
  5. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  6. </dependentAssembly>
  7. <dependentAssembly>
  8. <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
  9. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  10. </dependentAssembly>
  11. <dependentAssembly>
  12. <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4"/>
  13. <bindingRedirect oldVersion="2008.2.826.35" newVersion="2009.2.826.35"/>
  14. </dependentAssembly>
  15. </assemblyBinding>
  16. </runtime>

im using Visual Web Developer 2008 Express Edition and Telerik web controls ASP.NET AJAX 2009.

thanks in advance.

best regards.
Giuseppe
Telerik team
 answered on 23 Mar 2011
4 answers
99 views
I have a TreeView where clicking a context menu will add a new node and put it into edit view (as per the many examples on here). I have the inital new node text as "default", just like the example.  If I press the Enter key after editing, it works as expected and it is renamed and saved.

But if instead, during edit mode, I click on another node (or even the same node), it DOES save the changes behind the scenes but the node text resets back to the initial text of "default" until the entire page is refreshed (or another TreeView databind).

I have tried everything I can think of but I can't tell at what point it's getting saved verses when it's running the nodeclick event.

Any ideas?
Chameleoki
Top achievements
Rank 2
 answered on 23 Mar 2011
3 answers
78 views
Hello,
I'm wondering if I could get some assistance or an answer on making the RadSpell control work with a textbox that's inside a RadWindow.  I am using Q1 2011 controls, and have it working, but only when running in debug from Visual Studio 2010.  I'm trying to build a sample application but now when I click the Spell Check button nothing happens.  No error message (local or in the event viewer).  We are trying to use the RadWindow as a simple popup "Contact Us" type form and would like to add spell checking functionality, is this possible?  I will try to attach a sample project, but wanted to pose the question first.

Thanks,
Sean
Rumen
Telerik team
 answered on 23 Mar 2011
4 answers
162 views

I have put in a RadComboBox control in a simple ASPX page and when I run it in DRIP tool, I see a lot of memory leaks. If I remove the combobox , then the memory leaks go away. Please advice if you have any fix for the leaks in Rad ASP.Net controls?

below is a simple ASPx snippet

--------------------------------

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

html xmlns="http://www.w3.org/1999/xhtml">

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body >

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<telerik:radcombobox id="RadComboBox1" runat="server" allowcustomtext="True" showdropdownontextboxclick="False" font-italic="True">

<Items>

<telerik:RadComboBoxItem runat="server" Text="Consultant ID" Value="Consultant ID"

ForeColor="#CCCCCC" Font-Italic="True" />

</Items>

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

</telerik:radcombobox>

</form>

</

body>

</

html>
----------------------------------

Simon
Telerik team
 answered on 23 Mar 2011
1 answer
87 views
Hi

I have a RadMultipage with a width Set at 100%, within the multipage i have a RadPageView also with a width of 100%, within the PageView i have a grid with a width of 100% the grid is defined as below see code example

My problem is that the grid extends beyond the width of the Pageview, my grid columns are bound at run time so am not specifying any column widths, if i collapse the grouping then the grid fits within the Pageview, how can i control the width when the grouping is expanded ?

MyGrid:
<telerik:RadGrid ID="GridAwaitingAction" runat="server" Skin="WebBlue" AllowPaging="True"
    AllowSorting="True" Culture="en-GB" GridLines="None" 
    AllowFilteringByColumn="True" Width="100%">
    <GroupingSettings GroupByFieldsSeparator=";" />
    <ClientSettings>
        <Selecting AllowRowSelect="true" />
        <ClientEvents OnRowClick="RowClick" />
    </ClientSettings>
    <MasterTableView DataKeyNames="WSARecordID" Width="100%">
                    <GroupByExpressions>
        <telerik:GridGroupByExpression>
                                <SelectFields>
                <telerik:GridGroupByField FieldAlias="Status" FieldName="Status"></telerik:GridGroupByField>
            </SelectFields>
            <GroupByFields>
                <telerik:GridGroupByField FieldName="Status"></telerik:GridGroupByField>
            </GroupByFields>
        </telerik:GridGroupByExpression>
    </GroupByExpressions>
        <CommandItemSettings ExportToPdfText="Export to Pdf" />
        <RowIndicatorColumn>
            <HeaderStyle Width="20px" />
        </RowIndicatorColumn>
        <ExpandCollapseColumn>
            <HeaderStyle Width="20px" />
        </ExpandCollapseColumn>
        <Columns>
           
            <telerik:GridButtonColumn CommandName="ViewWSA" 
                ImageUrl="~/App_Themes/Merlin/Images/410.png" Text="Preview Report" UniqueName="ViewWSA">
            </telerik:GridButtonColumn>
           
        </Columns>
    </MasterTableView>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_WebBlue" 
        EnableImageSprites="True">
    </HeaderContextMenu>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 23 Mar 2011
1 answer
114 views
Hi guys,
I have a simple textfield (with required field validatior) and a radbutton in a RadPopup. and on button_click require field validation occurs, when i type text in the textfield the validation error message disappears but the button does not respond. Does anybody have a solution for that..

Thank you for the time.

Regards,
Umair Mehmood
Pero
Telerik team
 answered on 23 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?