Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
211 views
Hello,

I am using the RadGrid (2007Q3) in a few pages and one of our end-user has found a bug which I was able to reproduce easily here.

The last column of a radgrad disappear when the the window is resized, even when using a horizontal scroll bar, the column does not appear at all!

When the window is enlarged or maximized the last column returns by magic.

A control upgrade is out of the question for now, unless the upgrade specifically corrects this behaviour.

I cannot post the whole page, but I will post only the code in question.

/page begin
<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>

....
<asp:Panel ID="Panel1" runat="server" Width="99%" Style="text-align: center" Visible="false">
.....
 <table class="SolidFrame" width="99%">
                <tr>
                    <td class="TitleCell">
                        <cc1:QuestionMark Text="<%$ Resources:Resource, DashAprTitle %>" ID="QuestionMark3"
                            runat="server" CssClass="UserMessage" Height="2em" QMarkOffsetRight="3px" QMarkOffsetTop="1px"
                            TextOffsetLeft="2px" TextOffsetTop="8px" Width="100%" TabIndex="52" RadSkin="" HelpId="HM007" />
                    </td>
                </tr>
                <tr>
                    <td class="ContentCell" align="right">
                        <div class="FrameSection">
                            <radG:RadGrid ID="grdApr" runat="server" AutoGenerateColumns="False" Height="100px"
                                Skin="none" OnItemDataBound="RadGrid_ItemDataBound" OnDataBound="grdApr_DataBound"
                                GridLines="Horizontal" OnNeedDataSource="populateGrdApr">
                                <ClientSettings>
                                    <ClientEvents OnGridCreated="GridCreated" OnRowSelected="ApprovalRowSelected" />
                                </ClientSettings>
                                <MasterTableView>
                                    <ExpandCollapseColumn Resizable="False" Visible="False">
                                        <HeaderStyle Width="20px" />
                                    </ExpandCollapseColumn>
                                    <RowIndicatorColumn Visible="False">
                                        <HeaderStyle Width="20px" />
                                    </RowIndicatorColumn>
                                </MasterTableView>
                                <ItemStyle Wrap="False" />
                            </radG:RadGrid><div style="text-align: center">
                                <asp:Label ID="lblNoApprovals" runat="server" Visible="False"></asp:Label></div>
                            <table width="100%">
                                <tr>
                                    <td align="left">
                                        <asp:Label ID="lblAprTotalRows" runat="server" Text="<%$ Resources:Resource, DashAprResult %>"></asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:Button ID="btnAprConsult" runat="server" Text="<%$ Resources:Resource, DashViewButton %>"
                                            OnClick="btnAprConsult_Click" Enabled="False" /></td>
                                </tr>
                            </table>
                        </div>
                        </td>
                </tr>
            </table>
        </asp:Panel>

Thanks,

Malek
Sebastian
Telerik team
 answered on 26 May 2009
3 answers
119 views

I’m trying to create a custom theme for all Telerik controls using ASP.Net themes.

I’ve set web.config not to use embedded base style sheet and embedded skins:
<appSettings>
<add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />
<add key="Telerik.EnableEmbeddedSkins" value="false" />
<add key="Telerik.Skin" value="Default" />
</appSettings>
<pages theme="ThemeName">

I’ve followed the instructions on
http://www.telerik.com/community/forums/aspnet-ajax/treeview/radtreeview-q3-2008-skins-available-for-download.aspx

In my theme folder I created a directory to hold Telerik styles – i’ve only added the styles for TreeView

ThemeName
 Telerik
  Default
   TreeView
   TreeView.Default.css
  TreeView.css

This works fine – and I can customise the styles.

But unfortunately once i add the rest of the files it all goes wrong - i have no other styling - so its not clashing

ThemeName
 Telerik
  Default
   TreeView
   TreeView.Default.css
   Editor
   Editor.Default.css
   ..Etc ...
  TreeView.css
  Editor.css
  ...Etc

Not sure what to try next?

Dimo
Telerik team
 answered on 26 May 2009
2 answers
113 views
Whenever I load my treeview, a popup shows up.
Here is the error:
"Stop running this script?
A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive."

Do you have any suggestions on how to go around this error?

Thanks!

Von Aerich
Top achievements
Rank 1
 answered on 26 May 2009
1 answer
264 views

Hi,

 

I have two related questions.

1) If I define a custom edit form how can I achieve that both updating and inserting would work ?

If I use the following link button than also insert forms will execute an update command:
<asp:LinkButton runat="server" Text="Update" CommandName="Update" />

2) Which command name is used for inserting data ? ('Insert' did not work for me.)

Thanks.

Princy
Top achievements
Rank 2
 answered on 26 May 2009
3 answers
176 views
HI,
    How to hide rad
PopupControlExtender using javascript. the controle inside the rad grid
    can anyone help me
thx,
chandrasekaran.k
Iana Tsolova
Telerik team
 answered on 26 May 2009
4 answers
100 views
If I have dynamically created content in my panelbar items and I click on an object in my templated content, is there a client-side way I can find out which PanelBar item the content item I've clicked on is in?

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 26 May 2009
1 answer
131 views
The examples that utilize the GridPersistor are of no real help to me as they are either incomplete, over simplified or not quite exactly what i'm attempting.  I cannot for the life of me figure out how to:

  • Integrate the class using VB
  • Integrate the class into each of my declaritive events including SortEvent, PageIndexChanged, PageSizeChanged, Page_load, Page_Init, Page_Render, BtnClick, etc.
  • Determine whether to set the Grid Visible (it's programmatically invisible when the page first loads.  I only Bind with Data after a BtnClick event that passes search information to my SP and then binds the grid to the result set.

 

Can anyone help me.  Show me good working samples in VB and ASPNET AJax Grid.  Show me samples that set the state via the events listed above.

Been working on this for 5 hours.  Getting no where.  Almost ready to give up and try to pass the "state" variables via Querystring, which I know is NOT the way to do this.

Bruno
Top achievements
Rank 2
 answered on 26 May 2009
3 answers
217 views
Hi All,

Am Using Custom Paging in Telerik Grid. To do this custom paging I choosen Need Data Source method. My PageSize was 20. The custom paging process was working good.

But am allowing users to filter all the columns in my telerik grid. When user try to filter data am always getting time out expired. Because for the filter function custom paging was set to false.  But I understand that  if we implement filter function to telerik grid, the grid needs full set of records to filter. We implement the Custom paging because of grid performance. But when user try to filter again the grid don't have performance.

Could you please advise me how can i implement custom paging when the grid has filter option for each column.

  Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.WebControls.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource  
 
        Dim startRowIndex As Integer = IIf((ShouldApplySortFilterOrGroup()), 0, RadGrid1.CurrentPageIndex * RadGrid1.PageSize)  
        Dim maximumRows As Integer = IIf((ShouldApplySortFilterOrGroup()), AppBusinessHelper.getTotalRecords(Me.radDateFrom.SelectedDate, Me.radDateTo.SelectedDate) ,RadGrid1.PageSize)  
 
        RadGrid1.AllowCustomPaging = Not ShouldApplySortFilterOrGroup()  
        RadGrid1.DataSource = AppBusinessHelper.getCurrentPageRecords(Me.radDateFrom.SelectedDate, Me.radDateTo.SelectedDate,startRowIndex, maximumRows)  
 
    End Sub  
 
 
    Public Function ShouldApplySortFilterOrGroup() As Boolean  
        Return RadGrid1.MasterTableView.FilterExpression <> "" OrElse RadGrid1.MasterTableView.GroupByExpressions.Count > 0 OrElse RadGrid1.MasterTableView.SortExpressions.Count > 0  
    End Function 
 
padmaja
Top achievements
Rank 1
 answered on 26 May 2009
1 answer
82 views
Hi all,

How do we change the word "Show more..." to "More..." in RadScheduler
if we have items greater than MonthVisibleAppointmentsPerDay property ?

Thanks ,
Phong


Shinu
Top achievements
Rank 2
 answered on 26 May 2009
4 answers
117 views
How can I set the row heigth in a radGrid dynamicly, so that long terms  also can be seen?

Thanks

Christian
Princy
Top achievements
Rank 2
 answered on 26 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?