Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
221 views
this is a strange case i have.

i have a textbox an ajaxpanel with the textchanged event fired when the textbox is filled through code.

the strange thing is that it works fine, but if i use validation, and the validator fails, then the next textchange will not fire the ajaxpanel!!! i even tried calling the ajaxRequest explicitly, and still it didnt fire nor called the ClientEvents-OnRequestStart event, if however i re-change the textbox again to another value without validating again, it fires normally !!!!

i tried to trace this for to no avail.

unfortunatly, i cannot post code here, but i can provide you with a link (PRIVATLY) so that you can see what i mean.

Phil
Top achievements
Rank 1
 answered on 10 Oct 2012
1 answer
82 views
Hi Guys,

I am facing one strange issue , my client requirement please let me know this is possible or not

in tree grid below one sample

A - Node
   A1 Subnode of A
       A1  Items
       A1  items
   A items 1
   A items 2
  A2 Subnode of A
       A2 items
In the above example
A has A1 and A2 subnode
A has two items

If a folder(A) has subfolders… the items associated with the folder(A) show up BELOW the subfolder

My client need tree like below

A - Node
   A items 1
   A items 2
   A1 Subnode of A
       A1  Items
       A1  items
  A2 Subnode of A
       A2 items

means all items of A should come below A node and all sub node should come next to A node items
Is this possible?

Karthik.K
Eyup
Telerik team
 answered on 10 Oct 2012
1 answer
44 views
Hi Telerik Support Team,

Can we enable Rad Editor Toolbar in HTML view? Please get back to me on this.

Thanks,
Vimlesh
Rumen
Telerik team
 answered on 10 Oct 2012
1 answer
121 views
I'm trying to ajaxify a button placed in the content template of notification. I use notification to check if there're new post in the thread being viewed by user and display a nofication with a button that will update listview with ajax call when user click button.

<telerik:RadNotification ID="notifyMessage" runat="server"
        LoadContentOn="TimeInterval" Width="250"
        Animation="Fade" EnableRoundedCorners="true" EnableShadow="true"
        Title="Message" OnClientUpdated="OnClientUpdated" Height="90" ContentIcon="none"
        OffsetX="-20" OffsetY="-20" TitleIcon="none" UpdateInterval="10000" AutoCloseDelay="0"
        KeepOnMouseOver="true" ShowCloseButton="true"
        oncallbackupdate="notifyMessage_CallbackUpdate">
       <ContentTemplate>
 
            <div class="center">
                <p>New Message Have Been Posted.</p>
                <p class="paddingBottomLite">Show It?</p>
                 
                <telerik:RadButton ID="btnNotifyView" runat="server" Text="View"
                  onclick="btnNotifyView_Click" Width="75px"></telerik:RadButton>
            </div>
 
        </ContentTemplate>
        <NotificationMenu ID="TitleMenu"></NotificationMenu>
</
telerik:RadNotification>

I have added these ajax settings to AjaxManagerProxy

<telerik:AjaxSetting AjaxControlID="btnNotifyView">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="listMessages" />
                <telerik:AjaxUpdatedControl ControlID="notifyMessage" />
            </UpdatedControls>
</telerik:AjaxSetting>

Now, everything work perfectly fine. The first time user clicks on button it makes a proper ajax call, but after that button looses ajax functionality and cause full page postback on click.

Any ideas what might be killing ajax functionality of button after initial successful ajax call?
Marin Bratanov
Telerik team
 answered on 10 Oct 2012
4 answers
273 views
Hi,
      I am using one RadTreeview control with CheckBoxes. I want to show the CheckedNodes in another RadTreeview control.

Can someone please help me out ASAP?

Thanks,
Mahesh
Princy
Top achievements
Rank 2
 answered on 10 Oct 2012
1 answer
104 views
Hi,

I need generate programmatically a chart like this

http://demos.telerik.com/aspnet-ajax/chart/examples/newfeatures/autolayout/defaultcs.aspx

How i can show the labels in the left side 
Petar Kirov
Telerik team
 answered on 10 Oct 2012
19 answers
440 views
Hello,

I am having a problem with both the RadToolTip or the RadToolTipManager not working on a page that inherits from a master page.  Nothing happens on mouseover or onclick on the element in this scenario (i.e. the RadToolTip fails to appear).  I have created a test project to illustrate and have attached the code.  The problem is independent of where the ScriptManager resides (Master page versus child page).

When I have a single page, the tooltip shows.  How do I get this to work for the case of a master page?

Thanks,

Master Page:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Tool.master.cs" Inherits="Tool" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
    <asp:ContentPlaceHolder id="head" runat="server">  
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
    <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">  
      
    </asp:ContentPlaceHolder> 
    </form> 
</body> 
</html> 

Child Page:
<%@ Page Title="" Language="C#" MasterPageFile="~/Tool.master" AutoEventWireup="true" CodeFile="ToolTip1.aspx.cs" Inherits="ToolTip1" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">  
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">  
    <table> 
        <tr> 
            <td><asp:Image ID="img" runat="server" ImageUrl="~/images/button_i_blue.gif" /></td>  
        </tr> 
    </table> 
    <telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="img"   
        ManualClose="True" IsClientID="True"   
            Height="300px" Width="300px" Text="test123" ShowEvent="OnClick"   
        HideEvent="ManualClose" /> 
</asp:Content> 
 
 


Marin Bratanov
Telerik team
 answered on 10 Oct 2012
2 answers
79 views
Hi Guys,

I was hoping someone might be able to point me in the right direction with a grid edit issue. I need to use a grid where all rows are always in edit mode, and then be able to retrieve the values within each rows columns.

I tried setting all rows to edit within the pre render event but this would only ever set the last row to edit mode. I managed to get all rows into edit mode as follows:

Dim i As Integer
For i = 0 To rgDbValues.PageSize - 1
    rgDbValues.EditIndexes.Add(i)
Next i

When I then need to retrieve the values in each row I am having trouble accessing the edit items.

I've tried the following code, however the editItem always returns nothing. Any ideas in what I'm doing wrong in trying to obtain the values?

For Each item As GridDataItem In rgDbValues.EditItems
       Dim editItem As GridEditFormItem = DirectCast(item.EditFormItem, GridEditFormItem)
       If editItem.IsInEditMode Then
           Dim str1 As String = TryCast(editItem("dbValue").Controls(0), TextBox).Text
 
       End If
   Next


Thanks
Jibber4568
Top achievements
Rank 1
 answered on 10 Oct 2012
14 answers
843 views
Hello i have a rad grid insert edit form popup with a asp.net upload in it. I have made it so that on the button click it makes postback but when the postback returns back the temporary data is lost. How can i from codebehind close all insert/edit forms so i can open the popup from the prerender event? with this code:

            RadGridCardDetails.MasterTableView.FindItemByKeyValue("CardDetailsID", new Guid(HiddenShowCardDetailID.Value)).Edit = true;
            RadGridCardDetails.Rebind();
Rohan
Top achievements
Rank 1
 answered on 10 Oct 2012
1 answer
111 views
Hi,
     I have a requirement to cancel the edit/insert mode on an external button click. How can I fulfill this. Can anybody suggest something helpful
Thanks
Savyo
Shinu
Top achievements
Rank 2
 answered on 10 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?