Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
319 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
316 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
150 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
77 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
284 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
92 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
213 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
143 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
6 answers
395 views

Hi,
I have a situation where i have RadUpload inside a UserControl and the usercontrol is wrapped inside an update panel on the aspx page. The aspx page needs the update panel so that it can render different user controls based on a radMenu selection.

In the Usercontrol -> for Radupload I have setup automatic file saving to a TargetFolder, also the button on the page generates full postback, still the image is not getting saved. There is no update panel in the usercontrol, but on the aspx page.

Can you suggest why this could be happening ? Your help is much appreciated.

Thanks,
Jeeva
Peter Filipov
Telerik team
 answered on 24 Aug 2011
1 answer
210 views
Hi,
i want to open rad confirm by condition on the server side.
means.
suppose below is the server side code.
if(i=6)
{
 //Rad Confirm should be opened
}

and after opening Rad confirm on the clicking OK and cancel button
server side event should be trapped.

please reply soon.
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?