Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
43 views
Hi everybody !!

I faced an issue during rad grid control, exactly dont know that existing issue is a bug or built in feature. Actually scenario is in this way : I have used a rad grid during Add Record click event a new pop - up form opens...its fine here but if I click edit link too without closing this new one pop-up window , a edit window pop- up also opens... so right now I'm getting both window Insert & Edit mode...

I want to open one window at a time only...either Insert window or Edit window...If I'll click Edit link then automatically Insert window shoud be closed....or should give any message....is there any feature regarding this.



Please suggest me...with the help of an example ....its urgent!!
thanks in advance !!

rajendra
Princy
Top achievements
Rank 2
 answered on 10 Oct 2008
3 answers
150 views
I am using the RadEditor for ASP.NET AJAX within an Ajax Toolkit Modal Popup Extender, which is within an UpdatePanel - basically:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
     <ContentTemplate>
          <div style="display: none" runat="server">
               <telerik:RadEditor ID="reText" runat="server" Skin="Telerik">
               </telerik:RadEditor>
          </div>
          <cc1:ModalPopupExtender ID="mpeText" runat="server" >
          </cc1:ModalPopupExtender>
     <ContentTemplate>
</asp:UpdatePanel>

The editor works flawlessly, except when I want to select or edit an image.  Initially, when I clicked the Image Manager button the Image Manager displayed behind the modal poup containing the RadEditor.  I fixed this with some information I found in another post by adding the following style tag to my page:

.radwindow.radwindow_Telerik.normalwindow.transparentwindow
{
     z-index:13000 !important;
}

However, if I click on an image and select SetImageProperties, then click the Call Image Manager Button (...), the Image Manager Dialog box appears behind the Set Image Properties Dialog. 

Is there a way to fix this.  Thank you.
Rumen
Telerik team
 answered on 10 Oct 2008
1 answer
88 views
I would like to create a menu that is bound to a sitemap.  I would like to be able to have some menu items styled differently than others.  Some of the customizations I am interested in are:

One root menu item with a different background color than all the others.

One root menu item's children to all be prefixed with an image.

One root menu item as an image.

The rest of the root menu items and children can be formatted the same way.

What is the best way to code this so that I can still bind everything dynamically from the sitemap? 
Princy
Top achievements
Rank 2
 answered on 10 Oct 2008
1 answer
120 views
Hi,

I am having a grid with 5 columns. Out of which i have 3 columns with Display=true and other 2 columns as false.

I want to filter grid on Column which are hidden. For this i am showing list of Columns in a drop down. and text box to enter search criteria.

I need to filter grid on click of Search button as per column name selected in drop down and value provided in text box.

Any help will be appreciated.
Yavor
Telerik team
 answered on 10 Oct 2008
1 answer
96 views
Hi.

all the other controls works fine with moss development
but my ajax does not work with sharepoint environment.
simply, I used RadAjaxpanel but still does the normal postback.
I am using custom aspx page instead of webpart.
I tried ajaxmanger and it seems to be nothing works in terms of ajax.
I am trying to use RadGrid ajax with loading panel.
older version of radcontrol has EnableAjax property but not on new version.

any help?

Thanks
Sebastian
Telerik team
 answered on 10 Oct 2008
3 answers
139 views
Hello
I'm using the RadEditor on some pages (a lot, actually) that I later assemble to build a text. Trouble is, I don't want the content filters, especially the one which changes <b> in <span style="blablabla>, because I have manual treatments after that fail once the tags have been changed. I wanted to know which what was the quickiest way to get rid of the filters; I only have one solution in mind : to manually put in each page load "editor.contentfilters=none"

Thanks
Rumen
Telerik team
 answered on 10 Oct 2008
1 answer
233 views
Hello. I have this code to change image icons in the TreeView by client-side.
When I press button - icons are changes (to "image.gif"), but when I select row 1, 2 or 3 there icons are change back to "folder.gif". What I need to do to stay icons "image.gif" after selecting TreeView row?
Thanks


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="treeViewSetImage.aspx.cs"
    Inherits="treeViewSetImage" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div>
            <telerik:RadTreeView ID="tvwUserWorkout" runat="server">
                <Nodes>
                    <telerik:RadTreeNode Text="node1" ImageUrl="Images/folder.gif" />
                    <telerik:RadTreeNode Text="node2" ImageUrl="Images/folder.gif" />
                    <telerik:RadTreeNode Text="node3" ImageUrl="Images/folder.gif" />
                    <telerik:RadTreeNode Text="node4" />
                    <telerik:RadTreeNode Text="node5" />
                </Nodes>
             </telerik:RadTreeView>   
        </div>
        <input type="button" onclick="OnNodeEdited('new text','Images/image.gif')" value="Change image and text" />
    </form>

    <script type="text/javascript">
        function OnNodeEdited(nodetext,imageurl)   
        {
            var tree = $find("<%= tvwUserWorkout.ClientID %>");    
            tree.trackChanges();        
            for (var i = 0; i < tree.get_nodes().get_count(); i++) {   
                var node = tree.get_nodes().getNode(i);        
                node.set_imageUrl(imageurl);         
                node.set_text(nodetext);            
                  
            }                
            tree.commitChanges();         
        }   
    </script>

</body>
</html>
Yana
Telerik team
 answered on 10 Oct 2008
1 answer
155 views
Dear All,

Can we have the Filters to be expandable and collapsible in the RAD Grid?

Kindly let me know the possibility.
Vlad
Telerik team
 answered on 10 Oct 2008
7 answers
452 views
Hi,

I need to perform radgrid client side binding with hierarchy.  Right now I am using NestedViewTemplate but I am having problem implementing a custom expand collapse button.

What I need is to have 2 sub grids on the same level, basically a 2 level hierarchical grid, but with their individual expand/collapse buttons (therefore a total of 3 expand collapse buttons including the parent).

--> parent
--> child a
--> child b

where --> denotes the expand/collapse image.

Please advice.
Cheers,
Josh
Vlad
Telerik team
 answered on 10 Oct 2008
1 answer
86 views

<

targets>
<

telerik:ContextMenuControlTarget ControlID="RadGrid1" />

 


sets the target of context menu to the whole radgrid but i just want to add target to the header columns of the radgrid.
which telerik target should be made and how??
Shinu
Top achievements
Rank 2
 answered on 10 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?