Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
204 views
Hi,
I have RadTextBox in my aspx page & i want to restrict user to enter any char except aplhabet. But when user enter any other char i want to display error prompt in radtextbox same like it will display in radNumericTextBox when user alphabets.
how can i implement like this?
Martin
Telerik team
 answered on 24 Aug 2011
1 answer
92 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
83 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
316 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
313 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
75 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
283 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
87 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
209 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
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?