Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
98 views
Hi
   Slider Mode in Pager style is not working in firefox..
My code is

<telerik:RadGrid ID="RadGrid1" CssClass="RadGrid" EnableTheming="False" EnableEmbeddedBaseStylesheet="False" AllowSorting="True" AllowMultiRowSelection="true" AllowMultiRowEdit="true"
                 Skin="" runat="server" Width="100%" AllowPaging="True" AutoGenerateColumns="False" PageSize="5"    >
                      <ItemStyle CssClass="RadGridItem"></ItemStyle>
                     <HeaderStyle CssClass="RadGridHeader"></HeaderStyle>
                    <PagerStyle Mode="Slider" alwaysvisible="True" pagebuttoncount="5" CssClass="RadGridPager"></PagerStyle>
          
                     <ClientSettings EnablePostBackOnRowClick="false">
                        <Selecting AllowRowSelect="true" />
                    </ClientSettings>
                      <MasterTableView CommandItemDisplay="Top" DataKeyNames="SUserID" EditMode="InPlace" AutoGenerateColumns="False"   Width="100%">
                            <CommandItemTemplate>
                                <div style="padding:10px 0px;" class="newtd">
                                    &nbsp;&nbsp;
                                    <asp:LinkButton Style="vertical-align: bottom" ID="btnEditSelected" runat="server"
                                    CommandName="EditSelected" CausesValidation="false" Visible='<%# RadGrid1.EditIndexes.Count = 0 %>' ><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Edit.gif" /> Edit Selected PowerAdmin</asp:LinkButton>
                                    <asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Save.gif" /> Update PowerAdmin</asp:LinkButton>
                                    &nbsp;
                                    <asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" CausesValidation="false" Visible='<%# RadGrid1.EditIndexes.Count > 0 Or RadGrid1.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Cancel.gif" /> Cancel editing</asp:LinkButton>
                                    &nbsp;&nbsp;
                                    <asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Are You Sure ?');"
                                    runat="server" CommandName="DeleteSelected" CausesValidation="false" ><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Delet.gif" /> Delete Selected PowerAdmin</asp:LinkButton>
                                    &nbsp;&nbsp;&nbsp;
                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="../Images/icons/Refresh.gif" /> Refresh </asp:LinkButton>
                                </div>
                            </CommandItemTemplate>
                            <Columns>

                                <telerik:GridTemplateColumn UniqueName="SrlNo" AllowFiltering="False"  ItemStyle-HorizontalAlign="Left" ItemStyle-Width="2%" >
                                <ItemTemplate  >
                                    <asp:Label ID="lblSrlNo"  runat="server"  />&nbsp;&nbsp;
                                </ItemTemplate>                               
                                </telerik:GridTemplateColumn>
                                 <telerik:GridClientSelectColumn HeaderStyle-Width="3%" />
                                <telerik:GridBoundColumn DataField="SUserID" UniqueName="SUserID"  Visible="False"   ReadOnly="True"></telerik:GridBoundColumn>

                                <telerik:GridBoundColumn  DataField="Email" UniqueName="Email" SortExpression="Email" ItemStyle-HorizontalAlign="Left" HeaderText="Email" ShowSortIcon="false"  ></telerik:GridBoundColumn>
                               
                                <%--<telerik:GridTemplateColumn   UniqueName="Password"  HeaderText="Password" ItemStyle-HorizontalAlign="Left"   >
                                  <ItemTemplate>
                                     <asp:HyperLink ID="hplReset" style="cursor:pointer"   runat="server" Enabled='<%# Container.DataItem("SUserId") %>' OnClick='<%# "fn_Change(this," & Container.DataItem("SUserId") & ")" %>'
                                 Text="Reset">
                                </asp:HyperLink>
                                 </ItemTemplate>

                                    </telerik:GridTemplateColumn>--%>
                                    <telerik:GridTemplateColumn   UniqueName="Password"  HeaderText="Password" ItemStyle-HorizontalAlign="Left"   >
                                        <ItemTemplate>
                                                <asp:Label ID="lblrad" runat ="server" Text ="************" ></asp:Label>
                                        </ItemTemplate>
                                        <EditItemTemplate >
                                            <input type ="text" id="Text1" value ="************" name='<%# Container.DataItem("SUserId")%>' onclick='openPrompt(this.name)' class="textbox" readonly="true" />
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn  DataField="UserStatus" UniqueName="UserStatus" HeaderButtonType="TextButton" HeaderText="Status" ItemStyle-HorizontalAlign="Left"   >
                                <ItemTemplate>
                                    <asp:Label ID="lblStatus"     runat="server" text='<%# IIf(Container.DataItem("UserStatus")= 0,"Enabled","Disabled") %>' />
                                </ItemTemplate>
                                <EditItemTemplate >
                                <asp:RadioButton GroupName="grpuserstatus" runat="server" ID="checkDisable" text="Disabled" Checked='<%# IIf(Container.DataItem("UserStatus")= 0,"False","True") %>'/>
                                <asp:RadioButton  GroupName="grpuserstatus" runat="server" ID="checkEnable" text="Enabled" Checked='<%# IIf(Container.DataItem("UserStatus")= 0,"True","False") %>'/>

                                </EditItemTemplate>

                                </telerik:GridTemplateColumn>

                            </Columns>
                                  <EditFormSettings >
                                            <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                                            <FormCaptionStyle CssClass="RadGridHeader"></FormCaptionStyle>
                                            <FormMainTableStyle BackColor="White" GridLines="Horizontal" CellPadding="3" Width="100%" CellSpacing="0"></FormMainTableStyle>
                                            <FormTableStyle CellSpacing="0" CellPadding="2" CssClass="module" Height="110px" BackColor="White" />
                                            <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                                           <EditColumn CancelText="Cancel edit" InsertText="Insert Order"  UniqueName="EditCommandColumn1" ButtonType="ImageButton" UpdateText="Update record"></EditColumn>
                                            <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
                                  </EditFormSettings>

                                    <ExpandCollapseColumn>
                                    <HeaderStyle Width="20px"></HeaderStyle>
                                    </ExpandCollapseColumn>

                                    <RowIndicatorColumn>
                                    <HeaderStyle Width="20px"></HeaderStyle>
                                    </RowIndicatorColumn>
                       </MasterTableView>

                                <FilterMenu EnableTheming="True" Skin="WebBlue" enableembeddedbasestylesheet="False">
                                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                </FilterMenu>

                                <AlternatingItemStyle CssClass="RadGridItem"></AlternatingItemStyle>

                                <SortingSettings  SortToolTip="Click here to sort Email"></SortingSettings>
                 </telerik:RadGrid>



Need Help..




nallamani
Top achievements
Rank 1
 answered on 08 Oct 2008
1 answer
85 views

I have the structure in my treeview:

Node1
    childnode 1.1
    childnode 1.2
Node2
    childnode 2.1
    childnode 2.2

How can I know the value of my node1 or node2 if the pisition is in  childnode21

I need the value of parent node bacuse a work this database and I need the value to add a new record.

Thanks Jorge Pineda

ramya
Top achievements
Rank 1
 answered on 08 Oct 2008
1 answer
126 views
I have a detail table inside a master table, and both only include the template column with Eval<> function in each column. I bind the master table, and it will automatically bind data in the detail table. However, I don't want detail table to bind the data until I expand the each single data item in the master table. Is there a way to achieve this?
Vladimir
Top achievements
Rank 1
 answered on 08 Oct 2008
4 answers
165 views
Is it possible to display one context menu (items a, b, c...) when you click on a node and a different context menu (items x, y, z...) when you click over the empty area of the tree (outside of any nodes)?
Thanks!
roger
Top achievements
Rank 1
 answered on 08 Oct 2008
2 answers
83 views
I have a splitter control with width set to 100%. It has a left pane, a splitbar, and a right pane. The right pane has a combobox with an onclientfocus event.

When the page loads, both the left and right panes are completely collapsed. If I remove the 100% width, or set it to a fixed pixel width, it works as expected. Also, if I remove the onclientfocus event from the combobox, it works as expected.

I have duplicated this same problem with the onclientblur event of the combobox, and with the onclientnodeclicked event of the treeview control.

So it seems to be an overall problem when adding a client side event to a telerik control which is nested within a splitter control with width set to 100%.

I am using version 2008.2.826.35 of the Telerik.Web.UI.dll.

Here is a simple code sample:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> 
<!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="ASPNET_ScriptManager" runat="server" /> 
        <telerik:radsplitter id="radSplitter1" runat="server" width="100%">  
            <telerik:radpane id="pane1" runat="server">  
 
            </telerik:radpane> 
            <telerik:radsplitbar id="splitbar1" runat="server" collapsemode="Forward" /> 
            <telerik:radpane id="pane2" runat="server">  
                <telerik:radcombobox id="rcb" runat="server" onclientfocus="test">  
                  
                </telerik:radcombobox>    
            </telerik:radpane> 
        </telerik:radsplitter> 
  </form> 
</body> 
</html> 
Cyber High
Top achievements
Rank 1
 answered on 07 Oct 2008
0 answers
149 views
Not a question but a piece of information.  I have noticed that when the height of a group of child items in a RadPanelBar is set to be smaller than the space needed, a scroll-bar appears ... some of the time!   Using the Inox skin, I see a scroll-bar whenever my child items exceed the specified height (as it should); however, with the Web20 skin, it's missing sometimes.  Also, it didn't always appear in the custom skin that I made (which I had based on the Web20 skin).

The answer was to add the following style directive to my CSS file:

.RadPanelBar_mySkinName .rpGroup
{
    overflow-x: hidden;
    overflow-y: auto;
}

This works for custom skins, although I haven't yet been able to override the default skins.  Editions made to the PanelBar.Web20.css file (in ~\Program Files\telerik\RadControls for ASPNET AJAX Q2 2008\Skins\Web20), for example, don't seem to appear in web-pages where the default Web20 skin is used.

Ed
Top achievements
Rank 1
 asked on 07 Oct 2008
1 answer
98 views
Is there a Select event for the nodes? We need to expand the node on click of the "folder icon" and open up a new window on selecting the Node Text.  We are also hiding the + & - icons for the tree using css and attaching an event handler for the click event of the folder icon.  Is there a way to achieve this?


Basically different functionality for click and select.

Thanks
Som
 
Som
Top achievements
Rank 1
 answered on 07 Oct 2008
3 answers
166 views
Hi, All:

I am a beginner to use StackedBar chart.

Please give some code sample on how to populate the two sections of each vertical bar in RadChart.

thanks.

Stanley Huang
Esperanza Ramos
Top achievements
Rank 1
 answered on 07 Oct 2008
6 answers
162 views
When I adding the RADGRID in my project, 
it appears the error: "System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.web.ui, Version = 2007.3.1218.35, Culture = neutral, PublicKeyToken = 121fae78165ba3d4' or which of its dependencies. "

Who knows what can be?
Silderado
Top achievements
Rank 1
 answered on 07 Oct 2008
8 answers
168 views
Hi, when I'm trying to use the file ProductDetails.ascx.cs, as an example, this occurs below the error, which would be?


C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Web.Design\2007.3.1218.20__121fae78165ba3d4\Telerik.Web.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\ce2a1f20\0031b9d4_f940c801\Telerik.Web.UI.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\d8c66082\00a6952d_e23fc801\RadCombobox.Net2.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\8a49ac73\007cd58e_ab40c801\RadGrid.Net2.DLL" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\a8de168f\005087a3_181fc901\Delivery.DAL.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\9777b92e\0091ae77_7441c801\SessionDataSource.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Charting\1.7.0.0__d14f3dcc8e3e8763\Telerik.Charting.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\mnsoj4lh.res" /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.1.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.2.cs"

Microsoft (R) Visual C# 2008 Compiler version 3.5.21022.8
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

h:\Teste\ProductDetails.ascx.cs(912305,33): error CS0115: 'ASP.productdetails_ascx.FrameworkInitialize()': no suitable method found to override

Silderado
Top achievements
Rank 1
 answered on 07 Oct 2008
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?