Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
I want to reuse/replicate the little X icon at the right side of the texbox when editing the datevalue of RadMonthYearPicker

I will implement my own onclick event for it

anyone know how to reuse/replicate the little X icon ?
Konstantin Dikov
Telerik team
 answered on 01 Dec 2014
1 answer
134 views
I just implemented a RadTreeView that has checkboxes on Parent Nodes, but no checkboxes on Child Nodes.  I achieved this by handling the NodeDataBound event and setting the child node checkboxes to display='none';.

Works great.

The problem I have is that there's another treeview on the same page and my checkboxes re-appear when I expand nodes in the other treeview.
Bozhidar
Telerik team
 answered on 01 Dec 2014
6 answers
157 views
Hi all,

I'm using ExportStructure to export the grid to Excel.
I create a Table named tb and use tb.Cells to write contents.

However, tb.Rows.Count is always zero, even when data is there. Export happens as expected though.

Any idea?

I have to know how many rows a given Table (of ExportStructure) has.

Thank you!
Kostadin
Telerik team
 answered on 01 Dec 2014
1 answer
119 views
I am using Telerik Grid inside the Asp.net Ajax Update Penal.

To make my grid settings persistent based on Users , using Telerik GridSettingsPersister framework in my code.

Issue is :
1. Rearrange the Grid columns for 'user1' (dont  save the settings)
2. Select 'user2' , it should load the grid based on user2 settings which is saved in db inseated of it is loading grid as step1 grid .

bjGspSavedGridSettings.LoadSettings(objGspSavedGridSettings.Settings.ToString());
PageGridView.Rebind();

This behavior is happening sometimes not all the times .


Viktor Tachev
Telerik team
 answered on 01 Dec 2014
2 answers
266 views
How to find the sum of columns of a radgrid and show it on the footer






Radoslav
Telerik team
 answered on 01 Dec 2014
3 answers
499 views
Hi,

I'm new to the Telerik community, and have been trying to get the Sales Dashboard demo working in my environment.

I started by downloading the ZIP archive from <http://demos.telerik.com/aspnet-ajax/salesdashboard/SalesDashboardSource.zip>, then looked at the "README.txt" file, which lead to me installing the Telerik Data Access product (free product). I suspect the source of my problems may have begun here, as I was not able to find a download link for "Telerik Data Access Q3 2013". I could only find, and hence install, "Telerik Data Access Q3 2014".

Thereafter, did everything suggested in README file, but I cannot get solution to build in VS 2012. The build is failing because of following:

1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018: File name: 'Telerik.OpenAccess.SDK, Version=2013.3.1014.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Telerik.OpenAccess.Tools.OpenAccessEnhancer.Execute()
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

It looks like the enhancer included in the Sales Dashboard demo is expecting an older version of OpenAccess?

I would be grateful for any guidance on how I might be able to fix this problem?

One other thing I've noticed is the Telerik Control Panel reports Data Access is "PARTIALLY INSTALLED"? Although I have tried reinstallation and repair, cannot change this situation, which I guess might be affecting my ability to build a solution.

Many thanks in advance.
cynthia
Top achievements
Rank 1
 answered on 29 Nov 2014
1 answer
115 views
I'm trying to plot a 2nd Y axis with the associated scale on the right of the graph.  When I plot the 2nd value though, it seems to be using the scale on the left.  What am I doing wrong here?  You can see from the attached graph snapshot that the plotting isn't what I'd expect.

Dim lineMonthlyProfits As New LineSeries
Dim lineTotalProfits As New LineSeries
Dim yAxisTotalProfits As New AxisY
 
 
Do While ChartingMonth < Now()
    GrossProfit = 0 : Fees = 0
   'Code here that pulls values from db
    TotalProfit += GrossProfit - Fees
    lineMonthlyProfits.SeriesItems.Add(CInt(GrossProfit - Fees))
    lineTotalProfits.SeriesItems.Add(Int(TotalProfit))
    chartMonthlyProfits.PlotArea.XAxis.Items.Add(CStr(Month(ChartingMonth)) & "/" & Right(CStr(Year(ChartingMonth)), 2))
    ChartingMonth = DateAdd(DateInterval.Month, 1, ChartingMonth)
Loop
lineMonthlyProfits.Name = "Monthly Profit"
lineMonthlyProfits.LabelsAppearance.DataFormatString = "{0:c0}"
lineTotalProfits.LabelsAppearance.DataFormatString = "{0:c0}"
chartMonthlyProfits.PlotArea.Series.Add(lineMonthlyProfits)
chartMonthlyProfits.PlotArea.YAxis.MaxValue = 20000 'Not needed but in place for testing purposes
yAxisTotalProfits.Name = "Total Profits"
chartMonthlyProfits.PlotArea.AdditionalYAxes.Add(yAxisTotalProfits)
chartMonthlyProfits.PlotArea.XAxis.AxisCrossingPoints.Add(0)
chartMonthlyProfits.PlotArea.XAxis.AxisCrossingPoints.Add(lineTotalProfits.SeriesItems.Count)
lineTotalProfits.Name = yAxisTotalProfits.Name
chartMonthlyProfits.PlotArea.Series.Add(lineTotalProfits)
chartMonthlyProfits.PlotArea.YAxis.LabelsAppearance.DataFormatString = "{0:c0}"
chartMonthlyProfits.PlotArea.YAxis.MinorGridLines.Visible = False
chartMonthlyProfits.PlotArea.XAxis.MinorGridLines.Visible = False
chartMonthlyProfits.PlotArea.XAxis.MajorGridLines.Visible = False
chartMonthlyProfits.Legend.Appearance.Visible = False
Brian
Top achievements
Rank 2
 answered on 29 Nov 2014
1 answer
56 views
I have the exact similar scenario which is descrbed in the below thread. 
http://www.telerik.com/forums/problem-working-with-dynamically-created-radgrid-s

The solution suggested by Telerik Team in this thread is given below

1) To drop the resizing and reordering features from this grid.
2) To disable the ViewState of the whole placeholder where you load the RadGrid control. In this scenario have in mind that the SqlDataReader binding may not works, as each postback in the page will make the grid try to rebind and if the reader is currently closed, you will get an exception.

Unfortunately I cannot use the above suggestion as my customer is so particular on the ReOrder functionality.

As it an old thread(2011) My query here is there any solution available for this issue in latest Telerik Controls?

PS: I am posting this issue in a new thread again as I didn't get the solution from my previous posts.

Thanks,
A2H
Konstantin Dikov
Telerik team
 answered on 29 Nov 2014
2 answers
77 views
Hi,

We are using Sitecore 6.6 which is using RadEditor v7.2.0.0, when we insert an image using 'Insert media item' it creates duplicate 'width' and 'height' attributes.

<img width="200" height="200" alt="Award" src="~/media/D4FCA204AE3940F3959DA208A7157D48.ashx" width="200" height="200" />

How we can fix this issue ?

Thanks for help

Regards
Piotr
Piotr
Top achievements
Rank 1
 answered on 28 Nov 2014
6 answers
634 views

Hello,

I noticed that when I click the Cancel button or the 'X' on a radConfirm dialog box, the radConfirm window closes without doing a postback of the original page.  I would like to duplicate this with my own radWindow.  If the user is canceling, there's no need for the postback.

My Cancel button calls the below CloseOnReload function (the same one I've seen throughout this site for closing a radWindow):

 
 
function GetRadWindow() {  
 
var oWindow = null;  
 
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog  
 
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz az well)  
 
return oWindow;  
 
}  
 
function CloseOnReload() {  
 
GetRadWindow().Close();  
 
}  
 

Is there any way to stop the postback when the user clicks the Cancel button or the 'X'?

Thanks.

Steve

Ahmed
Top achievements
Rank 1
 answered on 28 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?