Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views
Hello Telerik Team,
          I have a RadTreeView in which i want to trigger an event in Expand and Colapse
         i tried lot of jquery code but i cant access
jQuery('li.rtLI div > span:eq(2)').live('click', function () {
    //xyz
});
jQuery('li.rtLI div > span.rtPlus').live('click', function () {
    //xyz
});
 I hope this helps.

Regards,
saad
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
60 views
since topic titles can't be edited:

Change itemtemplate depending on number of items in datasource



Hello

If my datasource contains less than 10 entries, the listview needs to display the items in a tiled way (divs with float left), but if I get more results, it should be an ordinary list (just divs).

What would be the best way to accomplish this?
Iana Tsolova
Telerik team
 answered on 24 Aug 2011
7 answers
267 views
I use the following javascript to create a radalert :
<script language='JavaScript'> function f(){var oWnd=radalert('The record is successfully saved!',300,100,'RecordSaved',null);oWnd.add_close(function () {returnToParent();});Sys.Application.remove_load(f);}; Sys.Application.add_load(f); </script>

The issue is at times it throws an error like :Unable to get value of the property 'toLowerCase': object is null or undefined" on 
if(d&&d.tagName.toLowerCase()!="body")
Please see attached jpeg for exact description.
Also, sometimes it throws no error but don't display radalert at all.
These are random errors and do not happen every-time and has not particular pattern of occurrence.

Can anyone please tell me why it happens and how can I fix this. This is a very important part of my project as I use the same script on various pages and get same error on each.

Thanks,
Swati
Marin Bratanov
Telerik team
 answered on 24 Aug 2011
2 answers
271 views
Hi,

I need some charting controls for the application I'm developing ( an asp.net webforms application ) and it's required that "parts" of the chart (e.g  a "slice" in a pie chart ) are clickable ( have click events ). For example, a user clicks a slice of a pie chart and the page displays some relevant information.

I want to know if the RadChart control has this sort of event handling where the "OnClick" event reports the "part" of the chart that has been clicked.

Seabus
Evgenia
Telerik team
 answered on 24 Aug 2011
1 answer
109 views
  1. ASP.NET 3.5
  2. OS:  Code runs on Windows Server 2008. IE 8 is on Windows 7 Professional.
  3. Browser:  IE 8
  4. Telerik product version:  RadControls for ASP.NET AJAX Q2 2011.
  5. Preferred programming language:  VB.NET

 
We are using RadListView (and RadDataPager) to list records of data. Each record that we display has a checkbox for the user to select the record(s) (to perform some action on it, like edit or delete, which we handle.)

My questions is, in the RadListView control (or RadDataPager), is there a way to "persist" the checkboxes' values across pages, as the user goes from one page of records to another?

Iana Tsolova
Telerik team
 answered on 24 Aug 2011
2 answers
55 views
I use rad window

<

 

 

telerik:RadWindow runat="server" Width="300px"

 

 

 

Left="300px" Top="300px" ID="RadWindow_NavigateUrl" NavigateUrl="Sample.aspx"

 

 

 

Modal="true" InitialBehaviors="Maximize" RestrictionZoneID="NavigateUrlZone">

 

 

 

</telerik:RadWindow>

i call this from java script

 

function

 

 

RadCheckinSamp_ClientClicked(sender, eventArgs) {

 

$find(

 

'ctl00_ContentPlaceHolder1_RadWindow_NavigateUrl').show();

 

}

my output screen comes like this


give the solution pls

Marin Bratanov
Telerik team
 answered on 24 Aug 2011
1 answer
218 views
Hi,

I am using radgrid. i want to avoid paging when data has been modified. i am using onCommand method i have stopped redirect. but the current page image changed. i want to fix that background also not changed.

  function rgPayTxn_OnCommand(sender, args) {                   
                    alert('Please save or discard the changes');
                    args.set_cancel(true);                                        
            }

This is code. it is working fine. please let me know how to stop current page image.

please check the attached image. please see the attached image

Please let me know,

Thanks in Advance,
Dhamu.
Radoslav
Telerik team
 answered on 24 Aug 2011
1 answer
62 views

Hello!

I saw the demo

Grid / Tooltipified RadGrid

and start to use it. the problem is that I can't get tooltip after 10 rows when I changed my page size to 50.

I used the same code. the only difference is that I use databind in codebind and master page (but all rad controls are in content page).

I changed the demo size and get an error from demo.

Please help and thanks.

Amy

Marin Bratanov
Telerik team
 answered on 24 Aug 2011
2 answers
164 views
Dear all,

   SelectionOnFocus="SelectAll" is not working. See the below code for reference. Amusing onblur and onfocus for multiply into 100 and divide by 100

thanks 
vinoth
<telerik:RadNumericTextBox ID="txtId" runat="server"  NumberFormat-DecimalDigits="8" NumberFormat-NegativePattern="-n%" NumberFormat-PositivePattern="n%"
                                        MaxLength="16"  NumberFormat-GroupSeparator="" SelectionOnFocus="SelectAll" Width="100px" EnabledStyle-HorizontalAlign="Right" >
                                        <ClientEvents OnBlur="Blur" OnFocus="Focus" />
                                      </telerik:RadNumericTextBox>
vinoth sansar
Top achievements
Rank 2
 answered on 24 Aug 2011
3 answers
111 views
 Hi,
 i am D.Srinivasa

              in my project i have a Radtree View  for Select Different operations. it works fine but i have a problem in Radtreeview,  when the page Loads Radtreeview Displays in the Following attachment-1, when i am expand the Tree parent node it doesn't fires any event. But it fires an event when click on the Radtree Node successfully, 

 Here i have an events for RadTreeView  

1.   RadTreeView1_NodeExpand
2.   RadTreeView1_PreRender
3.   RadTreeView1_NodeClick
4.   RadTreeView1_NodeCheck

     
 but it doesn't fire any event at the Initial Time ( First Time) i expand the radtreeNode.

Please try to Login into Site..

http://tpg.avvasinfotech.net/

User Id= kapil
Password : kapil1234
next click on Update Schedule button in Menu Bar and Expand the RadTreeView Node but it doesn't work. Please Check It once.  



Thank you
D.Srinivasa
Ivan Zhekov
Telerik team
 answered on 24 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?