Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
Hi,

I have a radgrid to display data along with an edit link to pop up radwindow to update data however the radmenu from the master page in my radgrid still floats in the radwindow .I will be very thankful to you if you could help me out not to see the floating radmenu from the radgrid in my radwindow pop up.


Thanking you in advance.


Shinu
Top achievements
Rank 2
 answered on 13 Mar 2009
0 answers
101 views
Is there a way to register the client side JS event mouseout on a combobox?  I'm using the checkbox examples I've found on here.  They handle perfectly keeping the dropdown open when an item is checked, but once your done the only way to close the dropdown is to click somewhere else. This is rather odd behavior, to me it seems as though the dropdown should go away when the user mouse's out.

Thanks,
Stephen
Stephen
Top achievements
Rank 1
 asked on 13 Mar 2009
3 answers
95 views
Hello,

I have a Radgrid control on a webpage where I have defined EditFormType="Template" for the MasterTableView. There are few controls in this template for which I want to set the visibility to false depending on some conditions. I can set the visiblility of these controls to false in ItemDataBound Event but in these case the datasource associated with the control is still executed. i.e. even though the control is invisible the stored procedure associated with that control is still executed.
 
How can I set the control in the edit form to invisisble and not have the datasource associated with that control to be executed.

Please help.

Thanks,
Rajiv
Shinu
Top achievements
Rank 2
 answered on 13 Mar 2009
1 answer
127 views
Hi
      I called the user control with in the grid. when i click the edit mode the data's are showing properly. I can write the retrieve code in Code behind C#.  my problem is... in usercontrol some fields are required ok.. I change some data in Edit mode.. but i cannot type the two required fields... When i Click the Update Button... that time the required filed message is  not showing and also  the old data is showing... currently modified data's is not showing..


Princy
Top achievements
Rank 2
 answered on 13 Mar 2009
1 answer
115 views
Hi
       i called the user control rad grid Edit mode... The user control retrieve code for code behind in C# with Asp.Net. the usercontrol to have some dropdown with postback for example if u choose the country.. in another dropdown showing state... my problem is when i change the some data in usercontrol textbox after i change the dropdown country that time the modified record is disapper and old record is showing... simply i told the page is post back how can i solve this problem

Regards
G. manikandan
Princy
Top achievements
Rank 2
 answered on 13 Mar 2009
1 answer
186 views
I have a GridClientSelectColumn with the Checkbox in the header that selects the row in the grid.  The question I have is how do I tell if the checkbox in the header is checked.  The problem I am having is that my grid is paged and the SelectedItems collection only contains the current page of items.  I need to know if they header checkbox was selected so I can delete all the records in the grid.

Thanks,

Jason
Shinu
Top achievements
Rank 2
 answered on 13 Mar 2009
1 answer
172 views
Hello,

I have a simple problem that seems really hard to solve (for me !) :

To make it simple, imagine that I have a RadGrid displaying a list of customers. One of my columns ('language') can contain only predefined values stored in XML file.

For example:

<?xml version="1.0" encoding="utf-8" ?>
<Items>
  <Item Text="English" Value="0" />
  <Item Text="German" Value="1" />
  <Item Text="French" Value="2" />
  <Item Text="Italien" Value="3" />
  <Item Text="Chinese" Value="4" />
  <Item Text="Russian" Value="5" />
  <Item Text="Other" Value="6" />
</Items>


If I use GridDropDownColumn, I can display data, no problem. But I need to setup a custom filter.

I need a dropdown control (like MS DropDownList or RadComboBox) populated with my XML file, where user can chosse one OR MORE languages he wants to display (for example German AND French). So this control has to implement checkboxes, for example.

It looks like a very common scenario. So I'm really surprised that it seems so hard to implement. I can't get it work ... Can anybody give me a simple working example that I can adapt ?

Thanks a lot !
Princy
Top achievements
Rank 2
 answered on 13 Mar 2009
2 answers
104 views
i downloaded the trial version of asp.net ajax rad controls dlll of version 2008.3.1314.35. it is very helpful and user friendly control. but a lot more to work for the browser compatiability.


Now i am using the rad upload control of teh dll. but i am facing a small issue in ie7. i am attaching the screenshot of that. when i mose over the rad upload control it will display as in the screenshot attached.
please help me to get out of this problem

Thanks & Regards
Anju
anju
Top achievements
Rank 1
 answered on 13 Mar 2009
3 answers
104 views
I am using a button column to select to edit a detail record. I have set the HorizontalAlign="Center" as shown below. The FIRST row comes out centered, but all subsuquent rows are left justified.

Any ideas why this is not working?

 

<Columns>

 

 

<telerik:GridButtonColumn

 

 

    CommandName="Select" ButtonType="ImageButton"

 

 

    ImageUrl="~/Images/EditInfo.BMP"

 

 

    UniqueName="Select" HeaderText="Edit">

 

 

    <ItemStyle Width="15px" HorizontalAlign="Center" />

 

 

</telerik:GridButtonColumn>

 


Shinu
Top achievements
Rank 2
 answered on 13 Mar 2009
4 answers
120 views
Hi,

Im using treeview in combobox.

URL with AJAXPanel: http://www.ximnet.com.my/aspnet35/telerik/treeview/

URL without AJAXPanel: http://www.ximnet.com.my/aspnet35/telerik/treeview/noajax/Default.aspx

Basically when user select language, the treeview will load the correct sections for selected language.

In the ajax version, when we select English, and select Sub Section B, we will get Section ASection BSub Section BSection C in the combobox, compared to the correct value in the non-ajax version.

My ASPX code:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="telerik_treeview_Default" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<script type="text/javascript">  
    function comboLoad(sender, eventArgs) {  
        sender.set_text(sender.get_items().getItem(0).get_value());  
    }  
    function nodeClicking(sender, args) {  
        var comboBox = $find("<%= cbSection.ClientID %>");  
        var node = args.get_node()  
        comboBox.set_text(node.get_text());  
        comboBox.trackChanges();  
        comboBox.get_items().getItem(0).set_value(node.get_text());  
        comboBox.commitChanges();  
        comboBox.hideDropDown();  
    }  
    function StopPropagation(e) {  
        if (!e) {  
            e = window.event;  
        }  
        e.cancelBubble = true;  
    }  
    function OnClientDropDownOpenedHandler(sender, eventArgs) {  
        var tree = sender.get_items().getItem(0).findControl("TVSection");  
        var selectedNode = tree.get_selectedNode();  
        if (selectedNode) {  
            selectedNode.scrollIntoView();  
        }  
    }  
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server">  
    </asp:ScriptManager> 
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">  
        <div> 
            <telerik:RadComboBox ID="cbLanguage" runat="server" ShowToggleImage="True" Skin="Default" 
                Width="300px" AutoPostBack="True" CausesValidation="False">  
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            </telerik:RadComboBox> 
        </div> 
        <div> 
            <telerik:RadComboBox ID="cbSection" Text="Please select section" AllowCustomText="true" 
                runat="server" Height="140px" Width="300px" ShowToggleImage="True" Skin="Default" 
                OnClientLoad="comboLoad" OnClientDropDownOpened="OnClientDropDownOpenedHandler">  
                <ItemTemplate> 
                    <div id="div1">  
                        <telerik:RadTreeView runat="server" ID="TVSection" OnClientNodeClicking="nodeClicking" 
                            Skin="Web20" /> 
                    </div> 
                </ItemTemplate> 
                <Items> 
                    <telerik:RadComboBoxItem Text="" /> 
                </Items> 
                <CollapseAnimation Type="None" /> 
                <ExpandAnimation Type="None" /> 
            </telerik:RadComboBox> 
 
            <script type="text/javascript">  
                var div1 = document.getElementById("div1");  
                div1.onclick = StopPropagation;  
            </script> 
 
        </div> 
    </telerik:RadAjaxPanel> 
    </form> 
</body> 
</html> 

Is there something I did wrong ?


HSLaw
Top achievements
Rank 1
 answered on 13 Mar 2009
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?