Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
130 views

Basically when a user runs an old browser or IE8 in compatiblity mode, my RadButtons at the top of one of my RadPanels appear to hover on the right as you scroll down and then when you move your mouse over them they disappear and don't come back.  It works completely correct in IE8 and if it is not in a RadSplitter.  I am running the 2011.2.915.35 version of the tools.  To demonstrate this, I have created the following ASPX page to demonstrate:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head id="Head1" runat="server">
    <title>Playground Page</title>
</head>
<body class="BODY">
    <form runat="server" id="mainForm" method="post">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
<telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" Width="100%" 
    ResizeWithBrowserWindow="true" ResizeWithParentPane="true" Orientation="Vertical" >
        <telerik:RadPane ID="SearchPane" runat="server" Width="280" BackColor="#DDDDDD" >
            <asp:Panel ID="SearchResultGroup" runat="server" Height="100%" >
                Some stuff here
            </asp:Panel>
        </telerik:RadPane>
        <telerik:RadPane ID="ContentPane" runat="server" Scrolling="Both" >
            <asp:Panel ID="ContentGrouping" runat="server" >
        <table width="100%">
            <tr>
                <td align="center">Page Header Here</td>
                <td align="right" width="350px" style="padding-top:5px;">
                    <telerik:RadButton ID="testButton" Text="Test Button" runat="server" >
                       <Icon PrimaryIconCssClass="rbHelp" />
                    </telerik:RadButton><br />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <% for (int i=0; i < 80; i++) { %>
                        ROW <%= i %> ADDED TO CREATE SCROLL<br />
                    <% } %>
                </td>
            </tr>
        </table>
</asp:Panel>
</telerik:RadPane>
</telerik:RadSplitter>
    </form>
</body>
</html>

Thanks, I would like to resolve this since IE8 runs intranet sites by default in compatiblity mode and thus most of my users are effected by this.
Shane
Shane
Top achievements
Rank 1
 answered on 30 Sep 2011
2 answers
122 views
Hi

<table width="100%">
          <tr>
              <td width="75%">
<telerik:RadScheduler ID="RadScheduler1" runat="server" 
          DataDescriptionField="Description" DataEndField="EndTime" DataKeyField="keyid" 
          DataRecurrenceField="Recurrence" 
          DataRecurrenceParentKeyField="RecurrenceParentKey" 
          DataReminderField="Reminders" DataSourceID="SqlDataSource1" 
          DataStartField="StartTime" DataSubjectField="Subject" 
          EnableDescriptionField="True" FirstDayOfWeek="Monday" SelectedView="MonthView" 
          Skin="Sitefinity"  OverflowBehavior="Expand" 
          EnableCustomAttributeEditing="False" 
          onappointmentinsert="RadScheduler1_AppointmentInsert" 
          StartEditingInAdvancedForm="False" onload="RadScheduler1_Load"   >
            
          <Reminders Enabled="True" />
      </telerik:RadScheduler>
              </td>
              <td width="25%" valign="top" bgcolor="#FFFFA6" >
              <asp:Label ID="RadTextBox1" Runat="server" Text="Select an entry to view its description." ></asp:Label>
           </td>
          </tr>
          <tr>
              <td>
                   </td>
              <td>
                   </td>
          </tr>
      </table>


This is the simple layout, a table with 2 columns and 1st column has RadScheduler.  Inspite of simple layout,  it does not render properly on screen.

As you can see on first image (rs-ErrorScreen1.jpg),  that inspite of specifying 75% width, its occupying more.  

By just switching between day and month view, it resets itself as per given 75%.   See second image (rs-ErrorScreen2.jpg),  
so I do not understand why on inital load the scheduler  is not in its given boundries?

More worse case is when I switch to "edit mode"  The controls simply expand its width too much, that it goes beyond boundries
Save and cancel button are far off the screen. 

I just don;t understnad where things are wrong.   I can upload the video using screen capture (if you allow).

Regards
JD






Ivan Zhekov
Telerik team
 answered on 30 Sep 2011
1 answer
56 views
Hi Guys,

Here is the video with the issue: http://screencast.com/t/gmZ3lVcpP

So, when you paste image using "Insert Media" it works good but there is an error with "Image Manager".

Do you have any ideas?

Best regards,
Anton
Dobromir
Telerik team
 answered on 30 Sep 2011
5 answers
308 views
I'm using one of the older css (green) for the new RadGrid.  The css shows up fine (I've turned off the EnableEmbeddedSkins)

I've set the css path to:

<

link href="css/Green/Grid.Green.css" rel="stylesheet" type="text/css" />

In my master page -- the grid shows up green, but the images are not showing up AND it does not update all of the image paths.

I've set the image path to:

css\green\grid

and the css is in
css\green

It will update some of the images but not all in the grid.  It also does not show the images for the one's it has updated.  Have I missed somthing? (grid below).

Also, when I try to use the filter drop down, it appears to not know what skin to apply (its has no style).

What is needed for that to appear?

(BTW -- the images are in the web path and are named the same:
css\green\grid\)

<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowFilteringByColumn="True" AllowSorting="True" DataSourceID="SqlDataSource1" ShowGroupPanel="True" Skin="Green" EnableEmbeddedSkins="False" ImagesPath="css\green\grid">

<MasterTableView AutoGenerateColumns="False" DataKeyNames="part_id" DataSourceID="SqlDataSource1" >

<RowIndicatorColumn Visible="False" FilterImageUrl="css\green\grid\Filter.gif" SortAscImageUrl="css\green\grid\SortAsc.gif" SortDescImageUrl="css\green\grid\SortDesc.gif">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False" CollapseImageUrl="css\green\grid\SingleMinus.gif" ExpandImageUrl="css\green\grid\SinglePlus.gif" FilterImageUrl="css\green\grid\Filter.gif" SortAscImageUrl="css\green\grid\SortAsc.gif" SortDescImageUrl="css\green\grid\SortDesc.gif">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

<EditColumn CancelImageUrl="Cancel.gif" EditImageUrl="Edit.gif" FilterImageUrl="Filter.gif"

InsertImageUrl="Insert.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif"

UpdateImageUrl="Update.gif">

</EditColumn>

</EditFormSettings>

<Columns>

<telerik:GridBoundColumn DataField="part_id" DataType="System.Int32" HeaderText="part_id"

ReadOnly="True" SortExpression="part_id" UniqueName="part_id" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="part_nbr" HeaderText="part_nbr" SortExpression="part_nbr"

UniqueName="part_nbr" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="part_msuf" HeaderText="part_msuf" SortExpression="part_msuf"

UniqueName="part_msuf" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="part_nm" HeaderText="part_nm" SortExpression="part_nm"

UniqueName="part_nm" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="program_cd" HeaderText="program_cd" SortExpression="program_cd"

UniqueName="program_cd" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="site_cd" HeaderText="site_cd" SortExpression="site_cd"

UniqueName="site_cd" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="type_cd" HeaderText="type_cd" SortExpression="type_cd"

UniqueName="type_cd" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="hert" HeaderText="hert" SortExpression="hert"

UniqueName="hert" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridCheckBoxColumn DataField="is_active" DataType="System.Boolean" HeaderText="is_active"

SortExpression="is_active" UniqueName="is_active" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridCheckBoxColumn>

<telerik:GridCheckBoxColumn DataField="is_reported" DataType="System.Boolean" HeaderText="is_reported"

SortExpression="is_reported" UniqueName="is_reported" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridCheckBoxColumn>

<telerik:GridBoundColumn DataField="part_group" HeaderText="part_group" SortExpression="part_group"

UniqueName="part_group" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="part_group_text" HeaderText="part_group_text"

SortExpression="part_group_text" UniqueName="part_group_text" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridCheckBoxColumn DataField="is_new" DataType="System.Boolean" HeaderText="is_new"

SortExpression="is_new" UniqueName="is_new" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridCheckBoxColumn>

<telerik:GridBoundColumn DataField="full_name" HeaderText="full_name" ReadOnly="True"

SortExpression="full_name" UniqueName="full_name" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="PartName" HeaderText="PartName" ReadOnly="True"

SortExpression="PartName" UniqueName="PartName" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">

</telerik:GridBoundColumn>

</Columns>

<CommandItemSettings AddNewRecordImageUrl="AddRecord.gif" RefreshImageUrl="Refresh.gif" />

<PagerStyle FirstPageImageUrl="PagingFirst.gif" LastPageImageUrl="PagingLast.gif"

NextPageImageUrl="PagingNext.gif" PrevPageImageUrl="PagingPrev.gif" />

</MasterTableView>

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowDragToGroup="True">

<Selecting AllowRowSelect="True" />

</ClientSettings>

<PagerStyle FirstPageImageUrl="PagingFirst.gif" LastPageImageUrl="PagingLast.gif"

NextPageImageUrl="PagingNext.gif" PrevPageImageUrl="PagingPrev.gif" />

</telerik:RadGrid>



-Thanks! 
-Don
Saumil
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
80 views
Hello everyone,

I want to create a grid where the user will be able to edit all values (In place editing).
I tried to use the example for Excel-like grid but I cannot adjust it to my needs.

My main problems is that the "select" stored procedure takes about 5s to fetch all the results.
To avoid that I would like to aplly some filters, and custom paging to my grid.
Now I am trying to use the example for Batch Update(http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx) .

I am quite confused about which approach I should use.
I like the second one more, but I am not sure If it is the best solution.

Could you suggest me what whould be the better for 10000-20000 records with filters and paging?
I would also like to ask you about the dropdown lists in the grid for the Batch Update example.
Below is the code for my Dropdownlist where DOCUMENT_PERSONS_LEGAL_USER_REL_ID is the value that i get from my main query.
<telerik:GridTemplateColumn UniqueName="LEGAL_USER" HeaderText="LEGAL_USER" SortExpression="LEGAL_USER" headerStyle-Width="8%">
                    <ItemTemplate>
                        <asp:Label ID="lblLEGAL_USER" runat="server" Text='<%# Eval("LEGAL_USER") %>' />
                        <asp:DropDownList ID="ddlLEGAL_USER" runat="server" DataTextField="LEGAL_USER_LASTNAME"
                            DataValueField="LEGAL_USER_ID" DataSourceID="SqlDataSource2" SelectedValue='<%# Bind("DOCUMENT_PERSONS_LEGAL_USER_REL_ID") %>'
                            Style="display: none" />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>


<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:CCSI %>"
        SelectCommand="SELECT DISTINCT [LEGAL_USER_ID]  , LEGAL_USER_LASTNAME FROM LEGAL_USERS" />

The problem is that when the grid loads, at the column LEGAL_USER I see the value of the dropdown list, but I want to see the Text for the selected value.
For example
LEGAL_USER = 1
LEGAL_USER_LASTNAME = Peny
DOCUMENT_PERSONS_LEGAL_USER_REL_ID = 1

Now I at the grid I see the value 1 but i want to see Peny.  How could I do that?

I would really appreciate your help.

Regards,
Peny



Princy
Top achievements
Rank 2
 answered on 30 Sep 2011
1 answer
292 views
Hi

I am working on an application who's main window brings up a RadWindow.

The user selects something in the grid presented in this first level RadWindow,
then clicks on a ToolBar Button.

Clicking on this button runs some client side code that triggers a .show() for a
 second RadWindow. This second RadWindow uses the NavigateURL mechanism for defining the
control layout.

I need to pass three pieces of information to this second RadWindow, then have the code behind
use this information to get some data from our database.

I have attempted to define the argument attribute of the first RadWindow and put my three
data items there, and this works, but how do I get access to these elements in my code behind for the 
second window?????

Any help greatly appreciated.

TIA 
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2011
1 answer
151 views
hi everbody

I added checkboxes in radcombobox but checkboxes is visible in the items that has null or empty value. how do i hide the checkboxes when item has an empty value.

thank you...
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2011
7 answers
464 views
I downloaded the trial version of telerik asp.net ajax controls 2008.2 826.  I see a couple references to Telerik.WebControls in the code examples, but there was not webcontrols dll in my download?  Where do I get the assembly from?  
Iana Tsolova
Telerik team
 answered on 30 Sep 2011
7 answers
113 views
Hi.
I'm basically following this demo (http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx).
I only have the monthly view active (and just readonly) where i'm binding my appointments which spans multiple months.
I am using radtooltipmanager for the tooltip the same way it is implemented in the demo.

Once my data is bounded to my scheduler, all tooltips work perfectly on the initial month view. However, once i switch to the following months (NavigationCommand), the tooltips no longer works.

Has anyone experienced this??


Randal
Top achievements
Rank 1
 answered on 30 Sep 2011
3 answers
561 views
I have a grid that uses a GridTemplateColumn.  In the ItemDataBoundEvent  I want to get access to the underlying column data, heres the markup

<telerik:GridTemplateColumn DataField="SportingEvent" UniqueName="IsSportingEvent" HeaderText="Sporting Event ?"
                                               <ItemTemplate> 
                                               <asp:Label ID="LabelSporting" runat="server" Text='<%#Eval("SportingEvent") %>'></asp:Label> 
                                            </ItemTemplate> 
                                        </telerik:GridTemplateColumn> 
  and the codebehind

protected void RadGridCategories_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) 
        { 
            if (e.Item is GridDataItem) 
            { 
                GridDataItem item = e.Item as GridDataItem; 
                 
                string se = item["IsSportingEvent"].Text; 
                               
                Label lbl = item["IsSportingEvent"].FindControl("LabelSporting") as Label; 
                if (lbl.Text == "False") 
                { 
                    lbl.Text = "No"
                } 
                if (lbl.Text == "True") 
                { 
                    lbl.Text = "Yes"
                } 
                 
                 
 
            } 
        } 
  Ive tried to use the item index method, but its always empty, in the end I had to resort to getting the value of the label.  How do I gain access to the underlying data from the columns ?

surely string se = item["IsSportingEvent"].Text;  should have worked
Princy
Top achievements
Rank 2
 answered on 30 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?