Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
Im trying to calc PV/Margin in the Group footer.  I have a CalcField that Calcs the PV/Margin correctly but now I want to get the total for their groupings.

I tried the SUM aggregate but it doesnt come out correct.  I didnt see any examples with a Custom aggregate.

        <telerik:GridCalculatedColumn DataType="System.Double" DataFields="DayFig,ExtCost" HeaderText="PV"   
           UniqueName="PV" Expression="(({0}-{1})/{0})" DataFormatString="Avg : {0:p}" Aggregate="SUM">  
        </telerik:GridCalculatedColumn> 
bradley baker
Top achievements
Rank 1
 answered on 11 Nov 2009
4 answers
205 views
Hi Telerik Team,

I have a issue with radgrid.

i have a radgrid inside a radajaxpanel and the pagestyle mode=slider,
the pagenavigation works fine with ajax enabled.

but if i change the mode to any other options available then the ajax is not working
but page navigation works fine.

can u plzz help me in this issue aspd..

Thanks
K²
kiran
Top achievements
Rank 1
 answered on 11 Nov 2009
1 answer
85 views
Hello,

 I am looking for a way to make a button in an individual row visible/invisible based on the row contents.

For example:

Column1(Location Type) Column2(Location) Column3(Delete)
P                                       Airport                    <Delete Button>
S                                        Hotel                        <Delete Button>
D                                           Restaurant            <Delete Button>

If the Location Type is P or D, I want to make the delete button invisible. How can this be done?

Thank you,
Derek
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2009
10 answers
339 views
hi...
i want to open calender popup of rad date picker on top side...how can i do this?????plz reply..... 
Harry
Top achievements
Rank 1
 answered on 11 Nov 2009
6 answers
123 views
Hi There,

I have annoying issue with the radComboBox.
I'm using radCombox inside the radgrid and I'm using Ajax Update Panel.
The combo box data is using late binding.
RadComboBox oCombo = (RadComboBox) RowItem.FindControl("radComboBox1");   
oCombo.Visible = true;   
oCombo.DataSource = dt;  
oCombo.DataTextField = "Text";   
oCombo.DataValueField = "Value";   
oCombo.DataBind();  
 

When I submitted the page, I can see an extra thin line under the combo box. Please refer to the attached screenshot.
How to eliminate the extra line?
For initial load, calling the same function, the combo box doesn't have an extra line.

Thanks,
Sxin
First
Top achievements
Rank 1
 answered on 11 Nov 2009
0 answers
53 views
Nevermind, I realized the child should not have access to the parent. I found another way of doing what I needed. Please delete this thread.
Thomas Frohe
Top achievements
Rank 1
 asked on 11 Nov 2009
2 answers
225 views
I'm trying to add/remove different sections from the NestedView details section based on some user selection made outside the grid.

The MasterTableView.NestedViewTemplate property does not seem to be stored in ViewState so I'm currently trying to set the MasterTableView.NestedViewTemplate in the PreRender with no success.

Does anyone have an idea how this might be possible?

PS. For efficiency my child data needs to only be databound when expanded.
Enigma
Top achievements
Rank 1
 answered on 11 Nov 2009
1 answer
635 views
HI, I got this error when I try to disply a image in the listview:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: The RadListView control does not have an item placeholder specified.

here the listviews
                                <telerik:RadListView runat="server" ID="RadLVPhotos" Enabled="false" 
                                    AllowPaging="true" PageSize="10" DataKeyNames="Id" OverrideDataSourceControlSorting="true" 
                                     OnNeedDataSource="RadLVPhotos_NeedDataSource" ItemPlaceholderID="ProductsHolder">  
                                    <EmptyDataTemplate> 
                                        <legend>Photos</legend>Aucune photo...  
                                    </EmptyDataTemplate> 
                                    <ItemTemplate> 
                                        <fieldset style="float: left; margin: 5px 5px 5px 5px; padding: 2px 2px 2px 2px;  
                                            background: #eeeeee" class="myClass" onmouseover="containerMouseover(this)" onmouseout="containerMouseout(this)">  
                                            <telerik:RadBinaryImage Style="cursor: pointer;" runat="server" ID="RadBinaryImage1" 
                                                DataValue='<%#Eval("Fichier.Content") %>' Height='60' Width="60" 
                                                ResizeMode="Fit" /> 
                                            <br /> 
                                        </fieldset> 
                                    </ItemTemplate> 
                                </telerik:RadListView> 

here the databinding:
    Protected Sub RadLVPhotos_NeedDataSource(ByVal source As ObjectByVal e As Telerik.Web.UI.RadListViewNeedDataSourceEventArgs)  
        Dim radLVPhotos As RadListView = DirectCast(source, RadListView)  
 
        If radLVPhotos.Enabled = True Then 
            Dim scope As IObjectScope = ScopeFactory.GetPerRequestScope(HttpContext.Current)  
            Dim nID As Int32 = Convert.ToInt32(hfID.Value)  
 
            radLVPhotos.DataSource = From ProdFich In scope.Extent(Of ProduitsFichier)() Select ProdFich Where ProdFich.ProdID = nID And ProdFich.EstImage = True 
        End If 
    End Sub 

any suggestion?
Thanks
Pierre
Top achievements
Rank 2
Iron
Iron
 answered on 10 Nov 2009
1 answer
224 views
The data format string on my calculated columns is not functioning. I've tried a variety of different format strings, including the same dataformatstring I use on the data bound columns, "{0:N0}", but on the calculated column ( a simple ratio of two of the data bound values) the grid displays all the decimals.

Any special trick for assigning a data format to a calculated column?
Jay
Top achievements
Rank 1
 answered on 10 Nov 2009
2 answers
172 views
I want to implement only spell checker in the radeditor. When I use the attribute 

ToolsFile

 

="~/App_Data/ToolsFile.xml", everything toolbars work except the spell checker.
I get an error that "spell check command not implemented yet. Let me know if I have to use a different toolsFile.xml.
Thanks
Anil

 

Ken Gunderman
Top achievements
Rank 1
 answered on 10 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?