Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
104 views
Is there a place where we can upload/download styles that we have created to share with others? It would be great to see what other people are creating.
Alex Gyoshev
Telerik team
 answered on 19 Nov 2009
1 answer
93 views
I have requirement where I want to hide menu when user click on any sub menu item.
Shinu
Top achievements
Rank 2
 answered on 19 Nov 2009
6 answers
218 views
Hello,

I have a radwindow manager in a control added to the master page. After that I place another radwindow in the page I am working on (a page that uses the master page): Default.aspx.
In this new rad window manager (RadWindowManagerSearch) I have 3 rad windows: one that I open from this page and the other two that will open as popups from the first popup window.
Basically, I want to open a search window and from that one be able to open different windows. From these last windows I want to return data to the first window. When clicking a button in the first button I want to return data to the initial page (Default.aspx).

To open the first popup window (RadWindowSearch) from Default.aspx page I used:

var managerC = $find("<%= RadWindowManagerSearch.ClientID %>");  
managerC.open("search.aspx", "RadWindowSearch"); 

Then I opened a second popup window from the first one and when returning the values, tried to find the first popup window with:

GetRadWindow().get_windowManager().getWindowByName("RadWindowSearch"); 

It didn't work (returns null) beacuse it was finding as radwindow manager the first one rendered in the page (the one in the control in the master page) instead of the radwindow manager in Default.aspx

To solve this I removed the radwindowmanager (and kept the radwindows) from Default.aspx and now open the first popup with:

 

var oWnd = radopen("search.aspx", "RadWindowSearch"); 

 

 

 

 

And to open other popups from RadWindowSearch:
var parentPage = GetRadWindow().BrowserWindow;  
 
var parentRadWindowManager = parentPage.GetRadWindowManager();  
 
var oWnd2 = parentRadWindowManager.open("clients_filter.aspx", "RadWindowSearchClients");  
 
window.setTimeout(function() {  
 
oWnd2.setActive(true);  
 
}, 0);  
 

 

Now I can return data from second popups to first popup (RadWindowSearch) by using the previous line:
 

 

GetRadWindow().get_windowManager().getWindowByName("RadWindowSearch"); 

However, now I can't return data from the first popup (RadWindowSearch) to Default.aspx because it doesn't execute the OnClientClose function. This function was fired when using a radwindomanager in Default.aspx.

How can I now return data from the first popup to the page?
Or, how can I keep the radwindowmanager in Default.aspx and make the second popups find the first one (RadWindowSearch)? Is there a way to do get_windowManager() but by name?

Thank you,


Ainhoa Larumbe
Top achievements
Rank 1
 answered on 19 Nov 2009
0 answers
105 views

On the scheduler demo page if you add an event using the details shown in the attached screen shot, you'll get a validation error when you try and save it saying that the start date should be before the end date.

However, if you correct this and leave the finish date for the "Recurrence" period as it is, then the event will be saved without any error (and without, naturally enough) any recurrences.

-- 

Stuart

Stuart Hemming
Top achievements
Rank 2
 asked on 19 Nov 2009
1 answer
77 views
Hi,

I have a start page which contains a WindowManager. I open a modal RadWindow from that page, and I would like to show a radalert window from the modal executing javascript code located on the start page and using the WindowManager also located on the start page.

When I do this the radalert does not show on top, but behind the modal window. Is it possible to show the alert on top in order not to create a new WindowManager into the modal window?

Thanks in advance.
Georgi Tunev
Telerik team
 answered on 19 Nov 2009
1 answer
164 views
Hi,
How can we make ensure that radchart bubble size are automatically scaled on x,y dimensions.
I made it working for me but for that i had to calculate maximum Z scale for each bubble with respect to Xmax,Xmin and Ymax,Ymin values.
Is there any straight forward method/property in radchart where it can give me autoscaling of bubbles for x,y,x2,y2 values?
Understand this problem with given values.
 x=10,20,30,40,50
y=15,25,35,45,50
x2=100000,200000,150000,400000
y2=100000,200000,150000,400000 (even i don't know why we need y2 values in chart,why z axis has not been introduced here:(..)

So if we draw a bubble chart with given series,bubbles will be very-very large,radchart is not intellignet to scale x2 values with x and y dimensions.
Giuseppe
Telerik team
 answered on 19 Nov 2009
3 answers
161 views
Instead of grid.getDataKeyValue("ColumnName")
Is there a way for me to retrieve the value using integer, like 0 for the 1st column, 1 for the 2nd column?
My grid data is dynamic, hence the column name is not static.
Princy
Top achievements
Rank 2
 answered on 19 Nov 2009
2 answers
231 views
Hello,

I have some problems with the telerik scheduler. I get the following error message in a javascript alert box:
"Object variable or With block variable not set"

This is happening after adding an appointment. I have confirmed that what is triggering the error message is the DataItem("resurs_farg") on line 3 in this codebehind:

    Protected Sub RadScheduler1_AppointmentDataBound(ByVal sender As ObjectByVal e As Telerik.Web.UI.SchedulerEventArgs) Handles RadScheduler1.AppointmentDataBound 
        Dim strFarg As String = "" 
        strFarg = e.Appointment.DataItem("resurs_farg").ToString() 
        e.Appointment.BackColor = System.Drawing.ColorTranslator.FromHtml(strFarg) 
        e.Appointment.BorderColor = Color.Black 
        e.Appointment.BorderWidth = Unit.Pixel(1) 
    End Sub 

I use this to put different colors on appointments belonging to dirrerent resources and it works great when i load the calendar but not when adding a new appointment. However, the appointent is added and it shows up after a reload.

All help is appreciated!

Thanks
Micke83
Top achievements
Rank 1
 answered on 19 Nov 2009
4 answers
225 views
Hi,

I've a RadToolbar placed in the Master Page which contains the logic to draw Dynamic RadMenus depending upon the page.
e.g. I need Download Menu on some application pages, and Filters Menu on some other page, but no Menu on most of the pages.
So, in the Master Page, there is a logic to check the page URL and create a RadMenu and its required SubMenus.
All this logic is outside the Page.IsPostBack, as I need to redraw the same Menus if there is a page-postback.

Now I try to bind a server-side event on the RadMenu Item Click. Event-binding is done properly and code compiles.
But when the Item is clicked, there is a postback and the Menu is redarwn but the event is not fired.
Can you please direct me why? This is really urgent as this is the central logic to be used for pages and is not working :(

I'd like to mention here that the ToolBar and Dynamic Menu logic was wrapped inside an UpdatePanel to have the possibility to fire a server-side event to reload only the ToolBar and the Dynamic Menu without having a complete page refresh.
So is there an issue with the approach, the implementation or the RadMenu?
Veenu
Top achievements
Rank 1
 answered on 19 Nov 2009
1 answer
106 views
Hi,

I am using telerik for some time, but due to some posts on stackoverflow site I was curious to see how much rad components
contribute(overhead) to request size. So i made a test project with simple telerik page and standard asp.net page:

Telerik(q3, trial)
- first request size: html + 93k resources(2 requests made only once)
- default empty aspx page = 550b
- 10 telerik empty grids: 17k
- 20 telerik textboxes 34k,10 telerik textboxes 18k, 20 standard textboxes 2k
- 20 telerik textboxes + 20 empty grids 48k, standard 2k
- 1 item scheduler - 22k

If web config is changed with:(http://www.telerik.com/help/aspnet-ajax/disabling_embedded_resources.html)
 <appSettings>
  <!-- Disables the embedded scripts and skins for all RadControls -->
  <add key="Telerik.EnableEmbeddedSkins" value="false"/>
  <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false"/>
  <add key="Telerik.EnableEmbeddedScripts" value="false"/>         
</appSettings>

- first request size: html + 85k resources(2 requests)
- the rest ramain aprox the same(scheduler ->21k)

1. Is there a list of comparing tests or info about telerik components transfer(contribution to request) size; (only for component, not the axd resources once requests). Also it would be nice if I could see a compare between 2 pages one with standard controls and
javascript with jquerry, and the same features done with telerik.
2. The difference seems quite large vs standard.Have I missed something in the tests?


Veselin Vasilev
Telerik team
 answered on 19 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?