Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
We've been having some interesting issue in pasting from Word into RadEditor.  Here's one.  When I go to my machine that is running IE7 and paste text from a Word 2003 document into the editor window, it asks me whether I want to clean Word Formatting, I click yes, then it pastes the text as the symbol font instead of the latin character font it is in Word.  (The pasted text contains ordered lists that are coded as characters in the symbol font, which I assume is where it pull the font from.)  I noticed that there's a bar at the top of the browser saying that it wants to install ietag.dll.  I click to allow it to install this, and repaste it and it pastes it as latin characters.  What is ietag.dll and why is this happening?  What should I tell my users?  Not everyone is going to see the message at the top of the browser.  This does not seem to be an issue in Firefox.

Thanks.

Laurie
Lini
Telerik team
 answered on 31 Mar 2009
3 answers
295 views
I have a small radwindow pop up for the user select rows, and those rows are returned from the radWindow. Since the window is a pop up and not that big, the filter for a column of the grid gets cut off, and I cannot see the 'contains' or 'no filter'. How can I specify that I want the filtering list to go down below and not up above where it gets cut off?

Thanks,
Laura
Yavor
Telerik team
 answered on 31 Mar 2009
2 answers
194 views
Hi,
is there any way to pass values from server side to javascript with the grid? Eg. I have a grid using clientside binding and I need to pass the editpanel id to js.
staron
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
165 views
I am trying to use ajaxToolKit's PopupControlExtender control inside of the TitleBarTemplate inside a RadDock inside of an ASCX file. This works fine when viewed in a browser, but Visual Studio's design view gives this error:

Error Creating Control - RadDockLayout
Unable to create type 'ajaxToolkit"PopupControlExtender'. Could not load assembly 'System.Web.Extensions....' or one of its dependecies. Tye system cannot find the file specified. What am I doing wrong?

is it a problem with the web.config file?

Thanks,

Ajit

<%

@ Control Language="VB" AutoEventWireup="false" CodeFile="Test.ascx.vb" Inherits="Apps_MapViewer_Test" %>

 

<%

 

@ Register Assembly = "AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit"%>

 

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

 

<

asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">

 

</

 

asp:ScriptManagerProxy>

 

<

 

link href="../../common/css/page-styles.css" rel="stylesheet" type="text/css" />

 

<

 

div id="FullColDiv">

 

 

 

<telerik:RadDockLayout ID="RadDockLayout1" Runat="server">

 

 

 

<telerik:RadDockZone ID="RadDockZone1" Runat="server" Orientation="Vertical" FitDocks="true" EnableEmbeddedSkins="false" Skin="GNet">

 

 

 

<telerik:RadDock ID="RadDock1" Runat="server" DockMode="Docked" EnableDrag="false" EnableEmbeddedSkins="false" Skin="GNet" Resizable="false">

 

 

 

<Commands>

 

 

 

<telerik:DockExpandCollapseCommand AutoPostBack="false" ClientTypeName="Telerik.Web.UI.DockExpandCollapseCommand" />

 

 

 

<telerik:DockCommand ClientTypeName="Telerik.Web.UI.DockCommand" AutoPostBack="false" CssClass="rdNew" Name="New" Text="New Layer" />

 

 

 

</Commands>

 

 

 

 

<TitlebarTemplate>

 

 

 

<div id="TitleBarTitle">My Uploads</div>

 

 

 

<asp:Image ID="rdOptions" runat="server" ImageUrl="~/GNet/Dock/options.png" CssClass="rdOptions" />

 

 

 

<ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="rdOptions" PopupControlID="UploadOptions" Position="Bottom" />

 

 

 

</TitlebarTemplate>

 

 

 

 

<ContentTemplate>

 

 

 

</ContentTemplate>

 

 

 

 

</telerik:RadDock>

 

 

 

</telerik:RadDockZone>

 

 

 

</telerik:RadDockLayout>

 

 

 

 

<asp:Panel CssClass="popupMenu" ID="UploadOptions" runat="server" style="display:none;">

 

 

 

<table>

 

 

 

<tr><td>Option 1</td>

 

 

 

<td><asp:DropDownList ID="DropDownList1" runat="server">

 

 

 

<asp:ListItem>Option 1</asp:ListItem>

 

 

 

<asp:ListItem>Option 2</asp:ListItem>

 

 

 

<asp:ListItem>Option 3</asp:ListItem>

 

 

 

</asp:DropDownList>

 

 

 

</td></tr>

 

 

 

<tr><td>Option 2</td>

 

 

 

<td><asp:CheckBoxList ID="CheckBoxList1" runat="server">

 

 

 

<asp:ListItem>Checkbox 1</asp:ListItem>

 

 

 

<asp:ListItem>Checkbox 2</asp:ListItem>

 

 

 

</asp:CheckBoxList>

 

 

 

</td></tr>

 

 

 

<tr><td>Option 1</td>

 

 

 

<td><asp:RadioButtonList ID="RadioButtonList1" runat="server">

 

 

 

<asp:ListItem>Radiobutton 1</asp:ListItem>

 

 

 

<asp:ListItem>Radiobutton 2</asp:ListItem>

 

 

 

</asp:RadioButtonList>

 

 

 

</td></tr>

 

 

 

<tr><td align="right" colspan="2">

 

 

 

<asp:ImageButton ID="cancel" runat="server" ImageUrl="~/images/small_cancel.png" />

 

 

 

<asp:ImageButton ID="apply" runat="server" ImageUrl="~/images/small_apply.png" />

 

 

 

</td></tr>

 

 

 

</table>

 

 

 

</asp:Panel>

 

</

 

div>

 

 


Petio Petkov
Telerik team
 answered on 31 Mar 2009
4 answers
85 views
hi,

I am using radgrid in my aspx page. i have also included scrolling option. the problem that we are facing is the radgrid shows black color at the header portion above the scroll bar. on analysing we found the GridHeader_Default class is used. we have also override the class but it is not working. we are facing this problem in IE 7.

Please provide us solution to fix this problem.
Sebastian
Telerik team
 answered on 31 Mar 2009
1 answer
126 views
I am using the GridMaskedColumn while trying to prevent the user from entering alphabetical and special characters other then numbers, need a way to specify the alignment for the text within the column textbox when in edit mode, such that it is always right aligned. The text is align left by default.
I tried using the CssClass property and setting the text-align style to right align but it does not work. Any suggestions?
Princy
Top achievements
Rank 2
 answered on 31 Mar 2009
1 answer
173 views
Is it not possible to place a RadTabStrip inside a RadAjaxPanel with a RadAjaxLoadingPanel?

I currently have:

   <style type="text/css"
 
    .centerLoadingPanel 
    { 
        background:gray url(<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>) center center no-repeat; 
    } 
 
    </style> 
 
<snip> 
 
<rad:RadAjaxManager ID="RadAjaxManager1" runat="server"
        <AjaxSettings> 
            <rad:AjaxSetting AjaxControlID="SearchButton"
                <UpdatedControls> 
                    <rad:AjaxUpdatedControl ControlID="ADuserGrid" /> 
                </UpdatedControls> 
            </rad:AjaxSetting>             
         </AjaxSettings> 
    </rad:RadAjaxManager> 
 
    <rad:RadAjaxLoadingPanel CssClass="centerLoadingPanel" ID="RadAjaxLoadingPanel2" Transparency="25" runat="server" HorizontalAlign="Center" IsSticky="false"
    </rad:RadAjaxLoadingPanel>  
             
    <rad:RadAjaxPanel ID="rapMain" runat="server" LoadingPanelID="RadAjaxLoadingPanel2">   
    <div> 
        <table> 
            <tr> 
                <td> 
                    <rad:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" Width="100%"
                        <Tabs> 
                            <rad:RadTab runat="server" Text="User Filter"/> 
                            <rad:RadTab runat="server" Text="Group Filter"/> 
                        </Tabs> 
                    </rad:RadTabStrip> 
                     <rad:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Width="100%"
                        <rad:RadPageView runat="server" ID="RadPageView" BorderWidth="1" Width="100%"
                        <fieldset id="FilterFieldSet" runat="server"
                            <legend>Filter</legend> 
                            <table cellspacing="0" cellpadding="0" border="0" style="width: 800px;"
                                <tr> 
                                    <td><span runat="server">First Name:</span></td
                                    <td><asp:TextBox runat="server" ID="FirstNameTextBox" Width="150"/></td> 
                                    <td>Last Name:</td> 
                                    <td><asp:TextBox runat="server" ID="LastNameTextBox" Width="150"/></td> 
                                </tr>         
                                <tr> 
                                    <td>Email:</td> 
                                    <td><asp:TextBox runat="server" ID="EmailTextBox" Width="150"/></td> 
                                    <td>Login:</td> 
                                    <td><asp:TextBox runat="server" ID="LoginTextBox" Width="150"/></td> 
                                </tr>         
                                <tr> 
                                    <td colspan="4" align="center"
                                        <br /> 
                                        <asp:Button ID="SearchButton" runat="server" Text="Go...." onclick="SearchButton_Click" /></td
                                </tr>         
                                <tr> 
                                    <td colspan="4"
                                        <asp:Label ID="AddedUserLabel" runat="server" Visible="false">User Added!</asp:Label><br /> 
                                        <asp:Label ID="ResultLabel" runat="server" Visible="false"></asp:Label> 
                                    </td> 
                                </tr> 
                            </table> 
                        </fieldset>                         
                        </rad:RadPageView> 
 
                    </rad:RadMultiPage> 
                     
                </td>
            </tr>
            <tr>
                <td>
                    <br />
                    <rad:RadGrid ID = "ADuserGrid" runat ="server"
                        EnableAJAX="True" onitemcommand="ADuserGrid_ItemCommand"
                        GridLines="None" onneeddatasource="ADuserGrid_NeedDataSource"
                        AutoGenerateColumns="false" >
                        <MasterTableView Width="100%">
                            <Columns>
                                    <rad:GridTemplateColumn UniqueName="addUserButtonColumn">
                                        <ItemTemplate>
                                        <asp:LinkButton Text= "Add" runat= "server" CommandName ="addUserCommand" Visible ="true" />
                                        </ItemTemplate>
                                    </rad:GridTemplateColumn>
                                    <rad:GridBoundColumn DataField="Email" HeaderText="Email" SortExpression="Email">
                                        <HeaderStyle Width="200px" />
                                    </rad:GridBoundColumn>
                                    <rad:GridBoundColumn DataField="GivenName" HeaderText="First Name">
                                        <HeaderStyle Width="200px" />
                                    </rad:GridBoundColumn>
                                    <rad:GridBoundColumn DataField="Name" HeaderText="Full Name">
                                        <HeaderStyle Width="200px" />
                                    </rad:GridBoundColumn>
                                    <rad:GridBoundColumn DataField="SamAccountName" HeaderText="Login Name">
                                        <HeaderStyle Width="200px" />
                                    </rad:GridBoundColumn>
                                    <rad:GridBoundColumn DataField="DistinguishedName" HeaderText="Distinguished Name">
                                        <HeaderStyle Width="400px" />
                                    </rad:GridBoundColumn>
                            </Columns>
                            </MasterTableView>
                            <PagerStyle Position="Bottom" Mode="NumericPages" HorizontalAlign="Center"/>
                    </rad:RadGrid>
                </td>
            </tr>
        </table>
    </div>
</rad:RadAjaxPanel>




I have the RadAjaxPanel over everything so that I can get the whole page to be covered by my loadingpanel.

Everything is fine, the request is made the loading panel is displayed, however when the loading panel closes down after the request has been completed I get the javascript error message:

Line: 2710
Error: Sys.ArgumentException: Value must not be null for Controls and Behaviours.
Parameter name: element

Followed by:

Line 4723
Error: Sys.ArgumentNullException: Value cannot be null
Parameter name: panelsUpdated[0]


The error appeared when I placed the TabStrip and the MultiPages inside the RadAjaxPanel. Is this the problem, is there a way around it?

Thanks
Mike

Pavlina
Telerik team
 answered on 31 Mar 2009
1 answer
91 views
I have a RadGrid which needs to get updated from new data coming from Database once i create a new user. This grid actually shows all users existing for the Application. I have user creation form on the right panel on which when i create user after clicking Create User Account Button the left side RadGrid should get updated with the new data set. But after clicking on the button user's information is not getting updated in left RadGrid and I am getting this error

Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ctl00_ContentPlaceHolder1_divapplicationUserPropertiesPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.

divapplicationProperties is the panel which is my Create User form. Can any one help me in this.
Yavor
Telerik team
 answered on 31 Mar 2009
2 answers
127 views
Hello again,
I'm using radcontrols in a rtl environment.
that's means i have the following code segment:

<div dir="rtl">
<telerik:RadCalendar .... />
</div>

the calendar's tables are all performing the right to left just fine, except the next/prev months buttons.
in previous versions only the images were wrong, but the functionality was fine.
now it's the other way around - the images are set right, but the functionality is all wrong...

help!
Roy
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
137 views

If I place the Grid in a table, the horizontal resize fails. If I increase IE window width, the grid resizes properly. If I decrease IE window width, the grid does not resize and IE starts to display an horizontal scrollbar.

 

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TelerikGrid.aspx.cs" Inherits="Application_Test_TelerikGrid" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

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

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
 <style type="text/css">
  html,
  body,
  form
  {
   margin:0px;
   padding:0px;
   height:100%;
  }
 </style>
</head>
<body>
    <form id="form1" runat="server">
  <asp:ScriptManager ID="ScriptManager1" runat="server" />
  <table style="width:100%;height:100%">
   <tr>
    <td style="height:100%">
     <telerik:RadGrid
      ID="RadGrid1"
      runat="server"
      DataSourceID="XmlDataSource1"
      AllowPaging="true"
      PageSize="40"
      Width="100%"
      Height="100%"
      style="border:0;outline:none"
      >
      <MasterTableView TableLayout="Auto"/>
      <ClientSettings EnableRowHoverStyle="true">
       <Selecting AllowRowSelect="true" />
       <Scrolling AllowScroll="true" UseStaticHeaders="true" />
      </ClientSettings>
      <PagerStyle Mode="NextPrevAndNumeric" />
     </telerik:RadGrid>
    </td>
   </tr>
  </table>
  
  <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/datasource.xml" />
  
 </form>
</body>
</html>

If I change <table> by <div> it works properly. I am using 2009.1.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TelerikGrid.aspx.cs" Inherits="Application_Test_TelerikGrid" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

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

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
 <style type="text/css">
  html,
  body,
  form
  {
   margin:0px;
   padding:0px;
   height:100%;
  }
 </style>
</head>
<body>
    <form id="form1" runat="server">
  <asp:ScriptManager ID="ScriptManager1" runat="server" />
  <div style="width:100%;height:100%">
     <telerik:RadGrid
      ID="RadGrid1"
      runat="server"
      DataSourceID="XmlDataSource1"
      AllowPaging="true"
      PageSize="40"
      Width="100%"
      Height="100%"
      style="border:0;outline:none"
      >
      <MasterTableView TableLayout="Auto"/>
      <ClientSettings EnableRowHoverStyle="true">
       <Selecting AllowRowSelect="true" />
       <Scrolling AllowScroll="true" UseStaticHeaders="true" />
      </ClientSettings>
      <PagerStyle Mode="NextPrevAndNumeric" />
     </telerik:RadGrid>
  </div>
  
  <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/datasource.xml" />
  
 </form>
</body>
</html>

 

 

 

This is happening on IE 7 and 8. Both code samples work properly on FF 3.0.7.

 

Thanks

Dimo
Telerik team
 answered on 31 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?