Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 views
Hi!!!

I Will explain this with your demo http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/validation/defaultcs.aspx
in this,
1.click on the add new record button.(don't close and don't enter any values)
2.After that edit any one of the items in the Grid.
3.try to update the edited item.
here it will not update that row,instead it will show the " required field " for the add new record template.

this is my problem,how to overcome from this ......

I want to close the add new template form ,when we clicked on edit button.

please help me i am new to rad controls....

thanks...
Eyup
Telerik team
 answered on 10 Oct 2012
10 answers
611 views
Hi,

How do you change the row colour on a mouse over - as per the Office2007 skin?

Thanks

Indy
Sajida
Top achievements
Rank 1
 answered on 10 Oct 2012
10 answers
179 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
61 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
32 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
112 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
234 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
88 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
340 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
63 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?