Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
294 views
When the edit popup window appears in the RadGrid, the modal covers the whole screen. This prevents you from using the popup window. I could only reproduce this error in IE7 on one specific RadGrid. I've confirmed that my settings are similar to the working RadGrid, but I still can't manage to make the popup appear in front of the modal. See attached image and ASP code below. This only occurs for the the "usersRadGrid".


<telerik:RadAjaxLoadingPanel ID="usersGroupsLoadingPanel" runat="server" Skin="Vista" />
        <telerik:RadAjaxPanel ID="usersGroupsPanel" runat="server" LoadingPanelID="usersGroupsLoadingPanel">
 
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Vista" MultiPageID="RadMultiPage1"
            SelectedIndex="0">
            <Tabs>
                <telerik:RadTab Text="Users">
                </telerik:RadTab>
                <telerik:RadTab Text="Groups">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">
 
            <telerik:RadPageView ID="RadPageView1" runat="server">
                <telerik:RadGrid ID="usersRadGrid" runat="server" AutoGenerateColumns="false" AllowPaging="true" OnItemCommand="usersRadGrid_ItemCommand" OnItemDataBound="usersRadGrid_ItemDataBound">
                    <MasterTableView runat="server" CommandItemDisplay="Top" NoMasterRecordsText="No user records found. Please try another search."
                    EditMode="PopUp">
                     
                        <Columns>
                            <telerik:GridEditCommandColumn />
                            <telerik:GridBoundColumn DataField="FirstName" AllowFiltering="true" HeaderText="First Name" />
                            <telerik:GridBoundColumn DataField="LastName" AllowFiltering="true" HeaderText="Last Name" />
                            <telerik:GridBoundColumn DataField="EmployeeID" AllowFiltering="true" HeaderText="Employee ID" />
                            <telerik:GridBoundColumn DataField="ID" AllowFiltering="true" HeaderText="ID" Visible="false" />
                        </Columns>
                        <CommandItemSettings AddNewRecordText="Add New User" ShowAddNewRecordButton="true" />
                        <CommandItemTemplate>
                            <telerik:RadTextBox ID="userSearchFirstName" runat="server" EmptyMessage="Search First Name" CssClass="padding" />
                            <telerik:RadTextBox ID="userSearchLastName" runat="server" EmptyMessage="Search Last Name" CssClass="padding" />
                            <telerik:RadTextBox ID="userSearchID" runat="server" EmptyMessage="Search Employee ID" CssClass="padding" />
                            <telerik:RadButton ID="userSearchBtn" runat="server" Text="Search" CssClass="padding" OnClick="userSearchBtn_Click" />
                            <asp:Label ID="userSearchNotify" runat="server" Text="* At Least One Field Must Be Filled Out" CssClass="error" Visible="false" />
 
                            <div style="float:right;padding-right:20px;margin:5px 5px 5px 0px;">
                              <input class="rgAdd" style="margin-right:0px;" />
                              <asp:LinkButton ID="userAddRecord" runat="server" CommandName="InitInsert">Add New User</asp:LinkButton>
                            </div>
                        </CommandItemTemplate>
                        <EditFormSettings PopUpSettings-Modal="true" EditFormType="Template" PopUpSettings-Width="500px">
                        <FormTemplate>
                            <table width="500px" border="0">
                                <tr>
                                    <td>First Name: </td>
                                    <td><telerik:RadTextBox ID="editUserFirstName" runat="server" /></td>
                                    <td>Last Name: </td>
                                    <td><telerik:RadTextBox ID="editUserLastName" runat="server" /></td>
                                </tr>
                                <tr>
                                    <td>Employee ID: </td>
                                    <td>
                                        <telerik:RadTextBox ID="editUserID" runat="server" />
                                        <asp:Label ID="userID" runat="server" Text='<%#Bind("ID") %>' Visible="false" />
                                    </td>
                                    <td>Department: </td>
                                    <td><telerik:RadTextBox ID="editUserDepartment" runat="server" EmptyMessage="No Department Set" /></td>
                                </tr>
                                <tr>
                                    <td>Email: </td>
                                    <td><telerik:RadTextBox ID="editUserEmail" runat="server" EmptyMessage="No Email Set" /></td>
                                    <td>Last Updated: </td>
                                    <td><telerik:RadTextBox ID="editUserLastUpdate" runat="server" ReadOnly="true" /></td>
                                </tr>
                                <tr>
                                    <td>Active: </td>
                                    <td>
                                        <telerik:RadComboBox ID="editUserActive" runat="server" Width="60px">
                                            <Items>
                                                <telerik:RadComboBoxItem Value="1" Text="Yes" />
                                                <telerik:RadComboBoxItem Value="0" Text="No" />
                                            </Items>
                                        </telerik:RadComboBox>
                                    </td>
                                    <td>Vendor User: </td>
                                    <td>
                                        <telerik:RadComboBox ID="editUserVendor" runat="server" Width="60px">
                                            <Items>
                                                <telerik:RadComboBoxItem Value="1" Text="Yes" />
                                                <telerik:RadComboBoxItem Value="0" Text="No" />
                                            </Items>
                                        </telerik:RadComboBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>User Name: </td>
                                    <td><telerik:RadTextBox ID="editUserUsername" runat="server" /></td>
                                    <td>Password: </td>
                                    <td><telerik:RadTextBox ID="editUserPassword" runat="server" EmptyMessage="No Password Set" /></td>
                                </tr>
                                <tr>
                                    <td>PIN: </td>
                                    <td colspan="3"><telerik:RadTextBox ID="editUserPIN" runat="server" /><asp:Label ID="PINvalue" runat="server" Visible="false" /></td>
                                </tr>
                                <tr>
                                    <td>User Groups: </td>
                                    <td><telerik:RadListBox ID="editUserCurrentGroups" runat="server" AllowTransfer="true" TransferToID="editUserAvailGroups" EnableDragAndDrop="true" SelectionMode="Multiple" EmptyMessage="User Doesn't Belong To Any Groups" width="190px" Height="200px"/></td>
                                    <td colspan="2"><telerik:RadListBox ID="editUserAvailGroups" runat="server" EnableDragAndDrop="true" SelectionMode="Multiple" EmptyMessage="No Groups Available" width="175px" Height="200px" /></td>
                                </tr>
                                <tr>
                                    <td colspan="1"><telerik:RadButton ID="editUserUpdateBtn" runat="server" Text="Save" CommandName="Update" /></td>
                                    <td colspan="1"><telerik:RadButton ID="editUserClearBtn" runat="server" Text="Clear Badge" OnClick="editUserClearBtn_Click" /></td>
                                    <td colspan="2"><asp:Label ID="editUserNotify" runat="server" Text="" CssClass="error" Visible="false" /></td>
                                </tr>
                            </table>
                        </FormTemplate>
                        </EditFormSettings>
                    </MasterTableView>
                </telerik:RadGrid>
            </telerik:RadPageView>
 
            <telerik:RadPageView ID="RadPageView2" runat="server">
                <telerik:RadGrid ID="groupsRadGrid" runat="server" AutoGenerateColumns="false" DataSourceID="groupsRadGridDataSource" AllowAutomaticUpdates="true">
                    <MasterTableView runat="server" CommandItemDisplay="Top" NoMasterRecordsText="No Groups Found" EditMode="InPlace" DataKeyNames="ID">
                        <Columns>
                            <telerik:GridEditCommandColumn HeaderStyle-Width="60px" />
                            <telerik:GridBoundColumn DataField="Name" AllowFiltering="true" HeaderText="Group Name" />
                        </Columns>
                        <CommandItemSettings AddNewRecordText="Add New Group" ShowRefreshButton="false" ShowAddNewRecordButton="false" />
                    </MasterTableView>
                </telerik:RadGrid>
                <asp:SqlDataSource ID="groupsRadGridDataSource" runat="server"
                ConnectionString="<%$ ConnectionStrings:AssetWhereConnectionString %>"
                SelectCommand="SELECT ID, Name FROM dbo.UserGroup" SelectCommandType="Text"
                 UpdateCommand="UPDATE dbo.UserGroup SET Name=@Name WHERE ID=@ID">
 
                 <UpdateParameters>
                    <asp:Parameter Name="ID" />
                    <asp:Parameter Name="Name" />
                 </UpdateParameters>
                </asp:SqlDataSource>
            </telerik:RadPageView>
 
        </telerik:RadMultiPage>
        </telerik:RadAjaxPanel>
Veli
Telerik team
 answered on 30 Dec 2011
2 answers
188 views
Hi All,

When user clicks on Edit, I would like that row automatically selected in the selected mode.
Please help

Thanks.

Andy.
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2011
0 answers
74 views
hi,
If A is assigned task to B once task status is completed i need to send an email to A person immediatly can anyone tell how its possible



Thanks,
Abu
Abu
Top achievements
Rank 1
 asked on 30 Dec 2011
1 answer
159 views
Hi all,

With the last update to the telerik controls, that I did through Visual Studio 2010, I lost the skins, and now every reference to a skin (like for example in a RadFormDecorator) throws an error like the following:


Telerik.Web.UI.RadFormDecorator with ID='RadFormDecorator1' was unable to find embedded skin with name 'Telerik'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.


Any ideas?

Thanks,
Brumo
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2011
0 answers
88 views
Hi,

I am using RadMenu for my website. I want to make the menu entirely keyboard friendly. Using AccessKey I can Navigate to a specific menu item but pressing Enter key does not do any thing. I want to fire the same event with the enter key which fires when we click the menu item.
Following is my code snippet:

<radM:RadMenu ID="RadMenu1" runat="server" UseEmbeddedScripts="False" Skin="System"
                                            CausesValidation="False" OnClientItemFocus="OnClientItemFocus">
                                            <Items>
                                                <radM:RadMenuItem ID="RadMenuItem_Home" runat="server" Text="Home"   NavigateUrl="Default.aspx">
                                                </radM:RadMenuItem>
                                                <radM:RadMenuItem ID="RadMenuItem_Create" runat="server" Text="Create" AccessKey="C">
                                                    <Items>
                                                        <radM:RadMenuItem ID="abc" runat="server" Text="abc"
                                                            NavigateUrl="abc.aspx">
                                                        </radM:RadMenuItem>
                                                        <radM:RadMenuItem ID="xyz" runat="server" NavigateUrl="xyz.aspx"
                                                            Text="xyz">
                                                        </radM:RadMenuItem>                                                      
                                                    </Items>
                                                </radM:RadMenuItem>
<radM:RadMenu>

Here when the focus is on Menu Item "xyz", when I press enter, I want it to navigate to URL: xyz.aspx

Thanks,
Bhavik
Bhavik
Top achievements
Rank 1
 asked on 30 Dec 2011
1 answer
111 views
Good morning all.  I just installed Telerik.Web.UI.  During installaion of Telerik, VS2010 was closed.  After Telerik installed I opened VS2010 and clicked new telerik web project VB.  My tool box is loaded with Telerik controls and everything seems ok except that the default.aspx page html code has squiggly lines on anything that says RadScriptManager, ScriptReferance, RadStyleSheetManager with a message of  ":'*** is not a known element.  This can occur if there is a compilation error in the web site, or the web.config file is missing."  Did I miss a step in setting up the project?  Can someone please tell me what I need to do to get the error messages to go away?

<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp1._Default" %>

<!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></title>
 <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  <Scripts>
   <%--Needed for JavaScript IntelliSense in VS2010--%>
   <%--For VS2008 replace RadScriptManager with ScriptManager--%>
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
  </Scripts>
 </telerik:RadScriptManager>
 <script type="text/javascript">
  //Put your JavaScript code here.
    </script>
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
 </telerik:RadAjaxManager>
 <div>

 </div>
 </form>
</body>
</html>

Juan
Top achievements
Rank 1
 answered on 30 Dec 2011
4 answers
68 views
Hi,

Recently, I upgraded to the 2011 Q3 Ajax ASP.NET Framework 3.5 release.  Every RadGrid in my project promptly gave a skin not found error since only the Default skin is now present in the Telerik.Web.UI.dll.  I have attempted to follow the documentation that has been placed on the web to get my Simple skin back, but have had no success including copying and referencing the Telerik.Web.UI.Skins.dll.

Please provide examples of how to get the RadGrid Simple skin under this upgrade.

Thanks,
Don
Top achievements
Rank 1
 answered on 29 Dec 2011
5 answers
134 views
Hi,

I have a radgrid in which I'm binding the data. For instance I have the column "SER" in the grid. The value of "SER" in the grid is
"NG  101101". The length is fixed i.e 10.

When i export the above data using export to excel, the radgrid exports the above data to "NG 101101".  It removes one space. I don't want the excel to remove the space. I need to maintain the data as such.

Could you please help me achieve what I want.

Thanks,
Raji

Raja Rajeswari Mohan Venkataraman
Top achievements
Rank 1
 answered on 29 Dec 2011
12 answers
190 views
Hi i have a problem! I have RadGrid and i have FormTemplate. In FormTemplate i have a html button (System.Web.UI.HtmlControls.HtmlInputSubmit) with runat = "server" and I can't find  this control(
System.Web.UI.HtmlControls.HtmlInputSubmit p = (System.Web.UI.HtmlControls.HtmlInputSubmit)item.FindControl("openWinbut") return null!!! If i find a aspnet Button then it doesn't return null! Help please)))
Elliott
Top achievements
Rank 2
 answered on 29 Dec 2011
3 answers
175 views
Hey I am having a problem with a rad grid.  i am adding columns programmatically and setting a datasource in the

 

NeedDataSource event.  The problem is that i can't seem to "unlock" the checkbox column so that the user can check/uncheck the field.  what am i missing?  i can't find anything in docs describing how to do this.  i have made grid item edtible on pre render - to no effect; i have made readonly property false - also to no effect.  please help.

it is embedded in a user control like below

 

<% @ Control Language="C#" AutoEventWireup="true" CodeFile="ActiveFileTable.ascx.cs" Inherits="ActiveFileTable" %>

 

<asp:Panel ID="Panel1" runat="server" Height="531px" Width="865px">

 

<telerik:RadGrid ID="RadGrid1" runat="server">

 </telerik:RadGrid>

 

</asp:Panel>

 

 c#

 dataLayerDataContext dataLayer = new dataLayerDataContext();

RadGrid1.AutoGenerateColumns = false;

GridCheckBoxColumn boundColumn4 = new GridCheckBoxColumn();

boundColumn4.UniqueName = "Is Active";

boundColumn4.DataField = "isactive";

boundColumn4.HeaderText = "Active";

boundColumn4.Visible = true;

boundColumn4.ReadOnly = false;

 

RadGrid1.MasterTableView.Columns.Add(boundColumn4);

RadGrid1.DataSource = dataLayer.getActiveInvFilePT();

Chris
Top achievements
Rank 1
 answered on 29 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?