Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
182 views
Hello,

I just started working with the RadGrid and I have a question. Is it possible to bind a detail table to the grouping of the mastertable?
I'll explain my question with an example. Let's say we have following mastertable:

Order ID: 1 (grouping)
    record A 
        detail **
    record B
        detail **
    record C
        detail **
Order ID: 2 (grouping)
    record X
        detail --
        detail --
    record Y
        detail --
        detail --

Order ID: 3 (grouping)
    record Z

You'll notice that the records from the detail table are the same for every record under a certain group (e.g. Order ID 1).
Is it possible to let the detail table expand only once for each group, so to have following:

Order ID: 1 (grouping)
    record A 
    record B
    record C
        detail **

Thanks in advance for suggestions!!

Marc

Veli
Telerik team
 answered on 19 May 2010
13 answers
194 views
Hello Telerik,
                I am having nested grid which is also having two child grid placed in each tab section. The grid is also having the scrolling feature.

If I expand the last row parent item to view its corresponding child items, the grid focus does not go to my expanded child item. I need to scroll down  then only i can view the expanded child item.

When i expand any of parent row item at any position to see its child item, the grid need to automatically focus to last expanded item, So that we do not need to scroll down and up to view the expanded item.
I hope you could understand my scenario.  So please let me the possibilities of the scenario.

Regards,
Chandran
Radoslav
Telerik team
 answered on 19 May 2010
2 answers
122 views
Hi all,

I am confuse when reading ms-help://telerik.aspnetajax.radcontrols.2010.Q1/telerik.aspnetajax.radgrid.2010.Q1/custom-option-for-filtering.html help file.

I have 3 columns (name=text,startdate=datetime,enddate=datetime).  The name column is set to VaryByDataType. On the startdate, I want the filter item nofilter, equalto and greaterthanorequalto.  For the enddate, I would like nofilter, equalto and lessthanorequalto.

I can't seem to get it right without affecting the other columns.
Protected Sub RadGrid1_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.Init         
        Dim menu As GridFilterMenu = RadGrid1.FilterMenu 
        Dim i As Integer = Menu.Items.Count - 1 
        While i >= 0 
            If menu.Items(i).Text = "NoFilter" Or menu.Items(i).Text = "Contains" Or menu.Items(i).Text = "GreaterThanOrEqualTo" Then 
                'menu.Items.RemoveAt(i) 
            ElseIf menu.Items(i).Text = "Custom" Then 
                menu.Items(i).Text = "LessThanOrEqualTo" 
            Else 
                menu.Items.RemoveAt(i) 
            End If 
            System.Math.Max(System.Threading.Interlocked.Decrement(i), i + 1) 
        End While 
 
    End Sub 


Thanks,
Khanh
Khanh
Top achievements
Rank 1
 answered on 19 May 2010
1 answer
68 views
I changed the Location propertyies's Add,Clear,.Delete,Remove and Select.But it displays only part of the chinese words.I don't know how to fix it.Anybody here can give some advices? Thanks! There is a attachment which points the problem.

<telerik:RadUpload ID="RadUpload1" runat="server" ToolTip="上传附件" Width="100%"  
                        AllowedFileExtensions="增加附件"  CssClass="RadUploadFont" > 
                        <Localization Add="添加附件" Clear="清空" Delete="删除" Remove="去除" Select="选择" /> 
                    </telerik:RadUpload> 



Kamen Bundev
Telerik team
 answered on 19 May 2010
1 answer
79 views
Hi,
I have an issue with XmlHttpPanel.Here I need to upload a file using FileUpload control.When i try to access the FileUpload from the ServiceRequest event of XmlHttpPanel the FileName of FileUpload(FileUpload1.FileName)becomes null.We have the same issue with RadAjaxManager also.Right now I need a solution for  XmlHttpPanel.So please help me with a solution.

 

Pero
Telerik team
 answered on 19 May 2010
5 answers
174 views
I have a RadComboBox in a GridTemplateColumn.  When I set the custom skin, the "Contains" filter no longer works.  I will start typing and the dropdownlist doesn't start filtering.  If I hit backspace in the text, then it filters.  If I remove my custom skin and use the default embedded skin, then the filtering works as I type.

My combobox is:
<rad:RadComboBox ID="ddlItems" runat="server" Width="250" Filter="Contains" EmptyMessage="Choose an item:" 
   DataSourceID="dsItems" DataTextField="Item" DataValueField="Id" Skin="Custom" EnableEmbeddedSkins="false" AllowCustomText="true">  
</rad:RadComboBox> 

I copied the ComboBox.Office2007.css stylesheet, renamed it ComboBox.Custom.css, added a link reference to my page and then the only thing I modified was
.RadComboBox_Custom td.rcbInputCellLeft { background-position: 0 200; }  
.RadComboBox_Custom td.rcbArrowCellLeft { background-position: 0 200; }  
.RadComboBox_Custom td.rcbArrowCellRight { background-position: 0 200; } 
just to bump the images off so the ComboBox has the appearance of a label when it's not being used.  Every other style I left the same.

Any idea why the Contains filter isn't working anymore?
Simon
Telerik team
 answered on 19 May 2010
1 answer
117 views
Hi,

I'm getting this error a lot working with the ajax telerik controls:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'Telerik.Web.UI 2010.'.

any idea?

Thank you,
Robert
Iana Tsolova
Telerik team
 answered on 19 May 2010
0 answers
151 views
Hi,

this is shanker i do one project am using windows7 skin in telrik .but i face this Telerik.Web.UI.WebResource size .this file size in my project 860kb that relative page have radgrid ,total screen taking 990 kb how to reduce that size .am using radscriptmanager and radstlyesheetmanagerin master page and in .aspx using RadAjaxManagerProxy.And also am using radcompression in my webconfig file .please how to reduce that .please give me any solution.am trying also cdn but no use . 

i am using this type 

in masterpage 

 <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="scm" runat="server" ScriptMode="Release"  >
    </telerik:RadScriptManager>

.aspx page

<telerik:RadAjaxManagerProxy ID="radAjProxy" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="fiscalGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="fiscalGrid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>

thanks and regards

shanker.B
shanker bangari
Top achievements
Rank 1
 asked on 19 May 2010
7 answers
548 views
I have been working with this issue for a couple of days now with not much success. I have an application that keeps tracks of permits for municipalities. I have different tabs/pages for the different parts of the permit. On the Site tab, I have RadNumericTextBox set up for the Area, the issue I am having is this say I enter 245.0123, then go to a different tab so it will save it into the database. I come back and everything is the same. I navigate to different tab again, and when I check the database it has now saved it as 245.1230. It only seems to do it if there is a 0 next to the decimal, if there is any other number there it works fine and it doesn't change the number. Any help would be greatly appreciated.

    function stripNumbersAfter4Decimals(sender, args)
    {
        var val = String(args.get_newValue());
        if (val.length - val.indexOf('.') > 4)
            args.set_newValue(val.substr(0, val.indexOf('.') + 5));
    }

<telerik:RadNumericTextBox ID="rnumArea" runat="server" MinValue="0" Type="Number" Width="140px" ClientEvents-OnValueChanging="stripNumbersAfter4Decimals">
                            <NumberFormat DecimalDigits="4" KeepNotRoundedValue="false" />
</telerik:RadNumericTextBox>
Dimo
Telerik team
 answered on 19 May 2010
1 answer
112 views

 

Hi, 

      I am using RadDock. I am using this like as follows...

<
telerik:RadDock ID="RadDock1" DefaultCommands="ExpandCollapse" runat="server" Title="Parts" Pinned ="true" Width="820" DockHandle="TitleBar">

 

 

 

<ContentTemplate>

 

 

 

<table>

 

 

 

Using control hare like "Grid Control" and other control in itemtemplate of the grid like this "radUpload:RadUploadProgressArea"

</table>

 

 

 

 

</ContentTemplate>

 

 

 

</telerik:RadDock>

But this is giving me error on design time :- 

Error Creating Control- RadDock1
The control collection cannot be modified during DataBind,Init,Load,PreRender or Upload Phases.

And one more think When i am making 

 

Collapsed

=true  This is giving javascript error on run time.

Please help me in the case


Thanks,

Ted.

 

 

Pero
Telerik team
 answered on 19 May 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?