Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views
Hi.

The "Whats New" list for the just released Q2 2010 SP2 controls says...

"Added: selectItems/unselectItems and checkItems/uncheckItems methods for quick selection(unselection)/check(uncheck) of multiple items" for the RadListBox yet I can't seem to find or access these methods.

I've tried some of my own guesses such as...

                var lb = $find("<%= myListBox.ClientID %>");
                lb.checkItems();

and other variations but no luck.

I used a .net analysis tool to browse all elements lf the Telerik.Web.UI.RadListBox namespace and I can't seem to find any new methods such as these.

Please let me know what you think and if I'm doing something wrong.

Thank you.

Nikolay Tsenkov
Telerik team
 answered on 04 Oct 2010
0 answers
67 views
Hi,

     I am new in Rad chart control how can bind the values in Dynamic way (Code behind).
Please Help me.


Regards,
Tamilselvan.S
Tamilselvan
Top achievements
Rank 1
 asked on 04 Oct 2010
7 answers
136 views
Hi,

Can we do googlelike filtering on dataset. In the example you guys are doing filtering in sql query ( IN list_ItemsRequested Method). I ma using stored procedure to get the data. So i cant use stored procedure. So is there any way to do filtering on dataset. If yes how to do it. Please Let me know.

Thanks.
Iana Tsolova
Telerik team
 answered on 04 Oct 2010
1 answer
118 views
Is it possible to show an expanded MonthView to show 6 or more weeks at a time, such as a view displaying dates from 8/15/2010 - 10/9/2010? I don't see much use for this but it was a request from one of my clients. Thanks.
Veronica
Telerik team
 answered on 04 Oct 2010
6 answers
243 views
From the content page we open a radwindow in which we have a radGrid. OnRowDoubleclick of that radGrid we have a function which makes an Ajax call to the server side through the RadAjax manager. Now in the function onAjaxRequest end we have code to close the opened RadWindow. which is giving me this error.

function CloseRadWindow()
            {
                var oManager = parent.GetRadWindowManager();                     
                var oWnd = oManager.getActiveWindow();
                if (oWnd != null)
                {                    
                    oWnd.close();                    
                }
                return false;
            }

RadWindowManager is present on the parent page.

This code works fine (closes the radWindow if we do not make any AjaxRequest to searver side).
Do we have any work around to fix this Issue?
Georgi Tunev
Telerik team
 answered on 04 Oct 2010
3 answers
151 views
Hi Team,
                   I'm using Rad Grid. I want to create Link buttons in RadGrid on alternate columns. I'm not using ItemTemplate. I'm just giving DataSource of RadGrid is DataTable. 

Please help me on this... We need the solution urgently... plz plz help me soon....


My desired output need to be like below. and i need to fire a event hander whenever i click on the link buttons
the I need to Assign the FormatString dynamically to all the Columns like below...

My Requirements:
1) when ever i click the Name column: then the (Header_Click) event handler has to fired. 
2) when ever i click Salary column Link button then (Linkbutton_Click) 
event handler has to fired.
3) I need to assign my custom Format String to all the columns
Example for 3rd Requirement
we are giving Input  like below:
Data                  : 15000
Format String    : $##,##,###.00

we need the Output like below:
$15,000.00

Name

2007

2007

2007

2008

2008

2008

2009

2009

2009

 

Salary

PF

HRA

Salary

PF

HRA

Salary

PF

HRA

 

Alexis

$5000

5%

10

$6000

6%

15

$7000

7%

20

 

Michael

$4000

 

4%

80

$4500

 

4.5%

10

$5500

 

5.5%

15

 

Smith

$3000

 

3%

50

$4000

 

4%

10

$5000

 

5%

15

 

Jessica

$4500

4.5%

10

$5500

5.5%

15

$6500

6.5%

18

 

 

 

 

 








Thanks in advance
Alexis
Martin
Telerik team
 answered on 04 Oct 2010
3 answers
305 views
Hi,

i have this "JSON primitive" error in runtime upon clicking a button in the usercontrol inside the radgrid. i dont know what control causes this, since i only have a radgrid in parent control, an update panel and rad tabstrip and two radeditor inside a user control.

any ideas why this is happening?

Thanks.
Pavlina
Telerik team
 answered on 04 Oct 2010
1 answer
90 views
I have a styling issue in the TitlebarTemplate with fire fox:
<telerik:RadDockZone ID="RadDockZone1" runat="server" Width="99%">
    <telerik:RadDock ID="rdSystemInfo" runat="server" Width="99%" Skin="Web20">
        <Commands>
        </Commands>
        <TitlebarTemplate>
            <div>
                <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="true" Font-Size="Medium"></asp:Label>
            </div>
        </TitlebarTemplate>
        <ContentTemplate>
            test
        </ContentTemplate>
    </telerik:RadDock>
</telerik:RadDockZone>

this renders like this: http://img245.imageshack.us/img245/3931/withoutlineheight.gif

So I added a style to the div:

<div style="line-height:25px;">
    <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="true" Font-Size="Medium"></asp:Label>
</div>

then it comes out like this: http://img375.imageshack.us/img375/716/withlineheight.gif

I have tried to analyze the styles in firebug to make sure it isn't conflicting with existing styles on the page but there isn't anything else affecting the radDock.

The control works fine in IE.

We're currently using 2009.3.1103.35
Steven
Top achievements
Rank 1
 answered on 04 Oct 2010
2 answers
155 views
I have a page where It is possible to luanceh more than one radwindow, I am creating these windows in the following way,
var popup = window.radopen(Url, null);
The user can click a button which will open window 'a', they can then do something else that will cause window 'b' to open.  When in window 'b' I would like to get hold of window 'a' to refresh the content.  I would guess a way to find this is to find the window which is not selected, which would be window 'a'.  I have no idea on how to do this, I can only seem to get hold of the current window when using GetRadWindow()
function GetRadWindow() {
    var oWindow = null;
    if (window.radWindow) oWindow = window.radWindow;
    else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
    return oWindow;
}
Any suggestions would be much appreciated.
Georgi Tunev
Telerik team
 answered on 04 Oct 2010
3 answers
222 views

Hi. We have a user control that has a rad window and rad window manager. The control accepts a couple of parameters (used to build the url to display) and has a few custom events – like window closed that are exposed to the calling page.

 

We now have a requirement to use this control upto 20 times on a single page. I am sure that having the user control on the page 20 times, with 20 different radwindow managers and 20 different radwindows is probably not the best way to do this.

We still want it as a user control as the exact same functionality is required on multiple different pages,  and like wise multiple times on some pages.

What is the best way to achieve this? can you have a single window and manager and share it between all instances of the user control for example?

Georgi Tunev
Telerik team
 answered on 04 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?