Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
We have to change the image library of the Image editor to root site image library. Please let us know the suitable options avialable in Rad Editor for MOSS.
Stanimir
Telerik team
 answered on 01 Apr 2010
3 answers
96 views
Hi,

In my project there is an requirement for adding more controls in "More Section" detail in radscheduler control. I have to add a dropdown, 2 listboxes and 2 buttons.

Based on the dropdown selection I need to show the listboxes. Also let me know how can I get these controls values in code behind and bind the values for it.

I am totally struggled with this requirement from past one week. Please help me out to fix this.

Thanks in advance.

Babu R

Peter
Telerik team
 answered on 01 Apr 2010
2 answers
59 views
Hello, I have an issue with the first and lastpage tooltips in the pagerstyle of GridTableViews. For some reason, whatever I fill in as text on the FirstPageToolTip or LastPageToolTip property in the detailviews, it will always show the tooltips as "First Page" and "Last Page". The odd thing is, the previous and next page tooltip work just fine. Also, when using the first and lastpagetooltips in the pagerstyle of MasterTableViews, they -do- work.

Might this be a bug, or am I missing a few settings?
Thijs van Gestel
Top achievements
Rank 1
 answered on 01 Apr 2010
5 answers
154 views
I'm having a hard time understanding the decisions that lead to the current filter behavior. Essentially without doing a bunch of custom coding you get 2 options, neither of which are perfect.

You can either leave AutoPostBackOnFilter as false which requires the end user to either click a filter icon, or select a filter type. Or you get the set this true and get the auto postback which works for most examples well. I really beleive there should be a third option which removes the auto post back on defocus of the filter input. Here's why.

Set AutoPostBackOnFilter to true, and try to use the between filter on a date field. Here's how it went for me.

1. Enter two dates seperated by a space
2. Move mouse to select between fiter
3. Page posts back and throws a "String was not recognized as a valid DateTime" exception.

So, start again:
1. Select the between filter
2. Page posts back, sees the filter is blank and resets the filter value to blank again
3. Goto process 1

So, the only way to get these 2 to work together that I have discovered is to do this:
1. Enter 2 dates seperated by space
2. Unfocus
3. Let the page post back, throw an exception
4. Hit the back button
5. previous page displays, with filter data in field, unfocused
6. Select between filter
7. Page posts back and shows the correct data filtered

Please tell me I'm really missing something here. My end users are not going to want to see an exception like that. Nor do I want to trap the exception and hide it for when they do put crap into the text field.

Wouldn't it make some sense to have a few different options for how to deal with filters. For instance removing the onBlur postback behavior, or adding a search button. Seems to me both of these would require custom programming at this point. But I'd really like to see both become part of the core package.

In addition, it seems to me tht it would make a lot of sense to preserve the selection of the filter type, even if the filter field was blank. Then the end user could go about his business either way, by selecting a filter first, or entering data into the field first.

So for now, can somone give me some insight on how I might go about removing the onBlur auto post back behavior. I really like the hit enter to filter behavior and want to keep that.

Thank you in advance.
Radoslav
Telerik team
 answered on 01 Apr 2010
21 answers
295 views
Hi,

Has the default height for the command row changed?  All of a sudden (Web20 skin) the height of the command row has been reduced by about 10-15 px (haven't measured yet).  In addition the colours seem to be washed out on what I can see of it.

Re the height issue does this mean that all grids now need to have a height set manually?

Pager buttons look better though.

Regards

Jon
Dimo
Telerik team
 answered on 01 Apr 2010
4 answers
238 views
i am using a radgrid with 3 level hierarchy. it was working perfectly until a few days ago, but it simply doesn't work now. the hierarchy index should come either as a single digit n or n_m format, but in client and server load modes, i always get 0, regardless of level. serverOnDemand mode returns either 0 or 0_0. thus i can't bind the proper data in the nested grids. can anyone help?

here is aspx and codebehind:

<telerik:RadAjaxPanel> 
<div id="pnlResult" runat="server" visible="true"> 
                <div class="pageHeader"> 
                    <asp:Label ID="lblResultLegend" runat="server" Text="Sulama Suyu Raporu"></asp:Label> 
                </div> 
                <telerik:RadGrid ID="gridResult" runat="server" Width="95%" ShowStatusBar="true" 
                    AutoGenerateColumns="False" AllowSorting="True" AllowMultiRowSelection="False" 
                    AllowPaging="true" PageSize="10" Visible="false" OnDetailTableDataBind="gridResult_DetailTableDataBind"> 
                    <PagerStyle Mode="NumericPages"></PagerStyle> 
                    <MasterTableView ShowHeadersWhenNoRecords="true" Font-Names="Tahoma" DataKeyNames="NO"> 
                        <DetailTables> 
                            <telerik:GridTableView Name="Summary"> 
                                <Columns> 
                                    <telerik:GridBoundColumn SortExpression="Ay" HeaderText="Ay" HeaderButtonType="TextButton" 
                                        DataField="Ay"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="B" HeaderText="B" HeaderButtonType="TextButton" 
                                        DataField="B"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="EC" HeaderText="EC" HeaderButtonType="TextButton" 
                                        DataField="EC"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="RSC" HeaderText="RSC" HeaderButtonType="TextButton" 
                                        DataField="RSC"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="RSCGORE" HeaderText="RSC'ye GÖRE" HeaderButtonType="TextButton" 
                                        DataField="RSCGORE"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="SAR" HeaderText="SAR" HeaderButtonType="TextButton" 
                                        DataField="SAR"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="SulamaSuyuSinifi" HeaderText="SSS" HeaderTooltip="Sulama Suyu Sınıfı" 
                                        HeaderButtonType="TextButton" DataField="SulamaSuyuSinifi"> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn SortExpression="SulamaSuyuKalite" HeaderText="Kalite Durumu" 
                                        HeaderTooltip="Kalite Durumu" HeaderButtonType="TextButton" DataField="SulamaSuyuKalite"> 
                                    </telerik:GridBoundColumn> 
                                </Columns> 
                                <DetailTables> 
                                    <telerik:GridTableView Name="Detail"> 
                                        <Columns> 
                                            <telerik:GridBoundColumn SortExpression="Parametre" HeaderText="Parametre" HeaderButtonType="TextButton" 
                                                DataField="Parametre"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn SortExpression="Deger" HeaderText="Deger" HeaderButtonType="TextButton" 
                                                DataField="Deger" UniqueName="Deger"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn SortExpression="Sinif" HeaderText="Sınıf" HeaderButtonType="TextButton" 
                                                DataField="Sinif" UniqueName="Sinif"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn SortExpression="Birim" HeaderText="Birim" HeaderButtonType="TextButton" 
                                                DataField="Birim" UniqueName="Birim"> 
                                            </telerik:GridBoundColumn> 
                                        </Columns> 
                                    </telerik:GridTableView> 
                                </DetailTables> 
                            </telerik:GridTableView> 
                        </DetailTables> 
                        <Columns> 
                            <telerik:GridBoundColumn SortExpression="AD" HeaderText="Istasyon Adi" HeaderButtonType="TextButton" 
                                DataField="AD"> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn SortExpression="NO" HeaderText="Istasyon No" HeaderButtonType="TextButton" 
                                DataField="NO"> 
                            </telerik:GridBoundColumn> 
                        </Columns> 
                        <CommandItemTemplate> 
                            <div style="width: 100%; float: left;"> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultBolgeTanim" runat="server" Text="Bölge: " Width="100px"></asp:Label></strong> 
                                    <asp:Label ID="lblResultBolge" runat="server" Text="" Width="150px"></asp:Label> 
                                </div> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultHavzaTanim" runat="server" Text="Havza: " Width="100px"></asp:Label></strong> 
                                    <asp:Label ID="lblResultHavza" runat="server" Text="" Width="150px"></asp:Label> 
                                </div> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultAyTanim" runat="server" Text="Ay: " Width="100px"></asp:Label></strong> 
                                    <asp:Label ID="lblResultAy" runat="server" Text="" Width="150px"></asp:Label> 
                                    <asp:HiddenField ID="hd_ResultAy" runat="server" /> 
                                </div> 
                                <div> 
                                    <strong> 
                                        <asp:Label ID="lblResultYilTanim" runat="server" Text="Yıl: " Width="100px"></asp:Label></strong> 
                                    <asp:Label ID="lblResultYil" runat="server" Text="" Width="150px"></asp:Label> 
                                </div> 
                            </div> 
                        </CommandItemTemplate> 
                    </MasterTableView> 
                    <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true" 
                        FileName="SulamaSuyu"> 
                        <Pdf PageTitle="Sulama Suyu Listesi" PaperSize="A4" Author="DSI" PageWidth="100%" /> 
                    </ExportSettings> 
                </telerik:RadGrid> 
            </div> 
            <%-- SuKalitesi Suyu Result --%> 
        </div> 
    </telerik:RadAjaxPanel> 

protected
 void gridResult_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e) 
        { 
 
 
            string hierarchy = e.DetailTableView.HierarchyIndex; 
            string[] temp = hierarchy.Split('_'); 
            int[] index = new int[temp.Length]; 
            for (int i = 0; i < temp.Length; i++) 
            { 
                index[i] = int.Parse(temp[i]); 
            } 
            DataTable dt = (e.DetailTableView.Name == "Detail") ? ((DataTable[][])Session["SulamaSuyu.detailTable"])[index[0]][index[1]] : 
            ((DataTable[])Session["SulamaSuyu.summaryTable"])[index[0]]; 
            e.DetailTableView.DataSource = dt; 
 
            
        } 

isocum
Top achievements
Rank 1
 answered on 01 Apr 2010
3 answers
181 views
hi,

this is shanker,I am doing one project .I am using hierarchy rad grid in my project my problem is When ever am change page size Am getting this error in itemcommand event  "Object reference not set to an instance of an object".How to find this error please give any solutions.

this is my code

protected void studentinformationGrid_ItemCommand(object source, GridCommandEventArgs e)
        {
           
                if (e.Item.OwnerTableView.Name == "student")
                {

                    if (e.CommandName == "InitInsert")
                    {
                        GetdataStudentinfomation();
                    }
                }
            
        }

 protected void studentinformationGrid_PageSizeChanged(object source, GridPageSizeChangedEventArgs e)
        {
           
                GetdataStudentinfomation();
            
        }

if (e.Item.OwnerTableView.Name == "student") this condition is required here .

how to solve this solution please give me please it's very argent am stooped my project this issues 

Thanks and regards
shanker.B
Pavlina
Telerik team
 answered on 01 Apr 2010
15 answers
210 views
Whatever you did to fix the Q3 2009 bugs in the rad splitter, has caused more issues. Since installing the SP1 version, my nested splitters don't display at all when VisibleDuringInit is set to "False" and they don't size (fill 100% w/h) properly when VisibleDuringInit is set to "True". This is the case in IE as well as Firefox. I have reverted back to the Q3 2009 version and it works, but of course, the previously known bugs with this and other controls are there.
Tsvetie
Telerik team
 answered on 01 Apr 2010
1 answer
143 views
I am working with the rater in a standard AJAX UpdatePanel and there appears to be a rendering issue in FF (PC).  Then panel has a number of hidden DIVs for sub-sections of a large form.  When I show the DIV containing the rater, the rater items are stacked in two rows rather than a single row.  If I click the button to make the DIV visible again, the rendering is corrected.

I have completely disabled my style sheet and the behavior remains.  Any ideas what could be causing the issue?
Tsvetie
Telerik team
 answered on 01 Apr 2010
2 answers
113 views
I am using radcomboBox that bounds data from the database and according the the selected index changed the grid fill automatically this works fine again i click on the RCB the menu open it with some white space,, tell me why this happend and what is the solution to resolve this issue.
Simon
Telerik team
 answered on 01 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?