Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views
I have a grid having the first column as the hyperlink type which navigates to the detail page for that record.

But when i try to filter the record by this column it does not working only for th first time and works fine after that.
 Please give suggestions what may be the reasons and what can be fixes if any.
Thanks in advance ..:)

Here is th column i had used as mentioned below :-

<telerik:GridHyperLinkColumn UniqueName="CustomerID" DataTextField="CustomerID" DataNavigateUrlFields="CustomerHeaderSK"
                        DataNavigateUrlFormatString="~/Modules/SP/CustomerRecordView.aspx?Mode=Edit&ID={0}"
                        HeaderStyle-Width="80px" HeaderText="Customer" SortExpression="CustomerID" CurrentFilterFunction="StartsWith"
                        ShowFilterIcon="False" AutoPostBackOnFilter="True" FilterControlWidth="60px">
                        </telerik:GridHyperLinkColumn>
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
7 answers
142 views
Hi,

I have a hierarchical grid with 2 layers (parent level: customer, child level: orders) with a delete column for orders (using Grid_DeleteCommand). When a customer is expanded, and every order of that customer is deleted, instead of the grid showing the expanded customer with "No child records to display.", I'd like that customer deleted.

I can handle this logic in the datasource backend (every time the user deletes an order, I check if there are orders for a left for the customer, if not, delete the customer from the database), but the problem is after Grid_DeleteCommand, Grid_DetailTableDataBind is called and the grid still tries to expand the non-existent customer (ie. the grid still behaves normally, the customer is still shown with the children "No child records to display". The deleted customer only disappears from the grid after a call to Grid_NeedDataSource. How would I get the grid to not call Grid_DetailTableDataBind after the parent has its last child deleted? (and then refresh the parent grid)? Any help would be appreciated.

Thanks,
Donald
Donald
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
81 views
I want to expand/collapse nodes by clicking on the plus-minus graphic on the client side (Javascript). When I try to do it I can only click on the text of the node.

How do I do this?
Tree definition bellow:

<telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" MultipleSelect="True"
    EnableViewState="true" ShowLineImages="False" EnableEmbeddedSkins="False" Skin="tree_2"
    OnNodeClick="RadTreeView1_NodeClick" OnNodeDataBound="RadTreeView1_NodeDataBound" >
    <NodeTemplate>
        <small>
            <asp:Label ID="lblnodeText" Text='<%#Eval("Title") %>' runat="server" /><asp:Label
                ID="lblCatId" Text='<%#Eval("Id") %>' runat="server" Visible="false"></asp:Label><asp:Label
                    ID="lblisCustomer" Text='<%#Eval("isCustomer") %>' runat="server" Visible="false"></asp:Label><asp:Label
                        ID="Description" runat="server" Text='<%#Eval("description") %>' Visible="false" /><asp:HiddenField
                            ID="DescriptionVisible" runat="server" Value='<%#Eval("descriptionVisible") %>' />
            <a href="javascript:Popup_Window('category_detail','<%# Eval("id") %>')" style="text-decoration: none;">
                <span style="color: #BBBBBB">e</span></a></small></NodeTemplate>
</telerik:RadTreeView>

Princy
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
93 views
Hi there,

The worksheet is always changed based on the file name when I try to export an excel from RadGrid. How do I make sure that the worksheet will always be "Sheet 1" regardless of file name it is?

Regards,

Below is the code for exporting.

            rg.MasterTableView.GroupByExpressions.Clear(); 
            rg.ExportSettings.ExportOnlyData = true;
            rg.ExportSettings.IgnorePaging = true;
            rg.ExportSettings.FileName = "Sheet1";// dtToday.Year.ToString() + " " + dtToday.Month.ToString() + " " + dtToday.Day.ToString() + " " + customer;
            
            if (rg.MasterTableView.Items.Count != 0) rg.MasterTableView.ExportToExcel();

Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
48 views
i am binding a  sp directly with radgrid and i wannt total on foooters in some of them ,, since the data is  dynamic i dont know wat would i get
like sometimes

name blockvale blocktype 1  2   3  4   5 6 7 8 9  10 

name blockvale blocktype 1  2   3  4 5   if i select till 5

name blockvale blocktype 1  2   3  till 3

i want total belows 1,2,3 

i have seen the telerik grid footer url but not helping 
please dont give me again the same url ...@telerik admins 

please teme a solution plzzzz plzzz ........



Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
83 views
Hi, 

I am getting Error: 'Telerik' is undefined.
It happened after I installed debugbar.
It is happening in only IE but not in Chrome and FireFox.
I have uninstalled debugbar still I am getting same error.
Any solutions?

Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
65 views
How can I select rows in RadGrid through the up / down arrows?Sorry for bad english .. Help please...  
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
2 answers
63 views
I create the RadEditor in CodeBehind and setup the properties as required. On the output page the Editor appears and all looks fine.However when I click inside the Editor (set to ShowOnFocus) I get a Javascript error and a blank Toolbar. This happens in IE8 and FireFox 8.0.1

Using VS2008 debugger I can see that there are tools added to the EditorToolGroup

I am using v.20011.3.1305.35 of Telerik

Attached are the screen snippets of the output in IE, the text of the Javascript error and a section of the code that establishes the RadEditor.
In the code "re" is the RadEditor.

Hope this is enough for some assistance.
Arthur
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
68 views
I think this is an easy question, and I'm a little perplexed that I am having a problem with it.  Here is the issue:

This code grabs the DataKeyValue from a RadGrid row onRowMouseOver with no problem:

function onRowMouseOver(sender, eventArgs) {
    var rowID = eventArgs.getDataKeyValue("PartyExperienceID");
    document.getElementById("<%= HiddenLabel.ClientID %>").innerHTML = rowID;
}  

Works like a dream.  Now, I want to grab the changed HiddenLabel value server side (any way is fine, even a button click).  I can see that the label has changed on the page, but the server cannot see the change.  I'm wondering if I can solve the problem via RadAjaxManager.  Here is my current config:

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="HiddenLabel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadTreeView1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="HiddenLabel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Any other ideas?   I feel I am missing something obvious (not a JS guy).

Thanks so much!

Jim
James
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
93 views
I'm attempting to mimic the Sharepoint 2010 look using the RadRibbonBar.  Is there a way to change the look of the RibbonBar outside of the skins (I've not found a skin that matches up quite right).

Richard
Top achievements
Rank 1
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?