Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
220 views
Hi folks,

I really like the show/hide columns functionality built into the context menu (EnableHeaderContextMenu). However, I can't count on users to right-click to open the menu.

To cover myself, I'd like to put a button in the command area that will open the header context menu so they can see it.

As an alternative, I'd be interested in seeing sample code to implement the show/hide column checkboxes in a regular menu or dropdown. 

Thanks!

Ken
Andrey
Top achievements
Rank 1
 answered on 11 Jan 2012
1 answer
120 views
I have a RadGrid loaded in a dynamically created ModalPopup when doing a filter on the columns from the HeaderContextMenu
snippets shown below
AllowFilteringByColumn="True" AllowAutomaticDeletes="True" CellSpacing="0" DataSourceID="theGridViewSqlDataSource" CssClass="gridview" Width="780" AutoGenerateColumns="False" EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" ShowStatusBar="true"
<MasterTableView DataSourceID="theGridViewSqlDataSource" BorderStyle="Solid" Width="100%" DataKeyNames="ID" IsFilterItemExpanded="false" GridLines="Both" ShowGroupFooter="true" >

With some versions of Chrome, IE9 but not Firefox and IE8 the Filtering action invokes a full Postback. The ModalPopups are in an UpdatePanel all by themselves on the MasterPage. When using developer tools in Chrome and IE9 I can see that the Async Postback is cancelled and it is then followed by a full page postback.

All other functions on the RadGrid work as expected, paging, grouping, adding and deleting records etc.

Any ideas???

Tsvetina
Telerik team
 answered on 11 Jan 2012
3 answers
133 views
Hello all,

I'm having an issue with the footer on a grid. We have a column that displays total information. In Firefox, the footer perfectly aligns with the column data but in IE8 (in both compatibility view and not) it's shifted to the left slightly. I used the IE Web Developer toolbar and it seems as if most of the footer columns are slightly smaller than their data column counterparts. I have attached an image that has the column highlighted to show it's positioning. It should line up perfectly with the Hours column.

Any clue how I can get this to line up properly? I am using 2009.3.1314.35.

Thanks in advance!

*edit* Sorry I realize the column headers aren't in that image. The footer should be shifted to the right slightly.

I have tried explicitly setting the FooterStyle Width property for each column but that didn't seem to help any.
Antonio Stoilkov
Telerik team
 answered on 11 Jan 2012
2 answers
198 views
hiiii,
            I m a begginer so plz help me where i learn telerik controls easily ...
Tsvetina
Telerik team
 answered on 11 Jan 2012
1 answer
104 views
Help me Please.
hello
 I have a radgridview with editformtemplate in which I have a radcombobox multiplecolumns,I want to do is select a record and pass it to a data radtextbox with radcombobox. example:

RadcomboBoxItem = ID, ItemName, Price
RadtextBox = Price 
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2012
2 answers
168 views
I have the follow script to disable a button in the toolbar , I switch edit modes pragmatically based of some conditions the section for preview mode works fine but the section for design mode does not any help is appreciated. 

<script type="text/javascript">
        function OnClientModeChange(editor, args) {
            var mode = editor.get_mode();
            switch (mode) {
                case 1:
                    //Design MODE
                    setTimeout(function () {
                        var tool = editor.getToolByName("ChangeRequest");
                        tool.setState(-1);
                    }, 0);
                    break;
                case 2:
                   //HTML
                    
                    break;
                case 3:
                    
                    break;
                case 4:
                   setTimeout(function () {
                        var tool = editor.getToolByName("ChangeRequest");
                        tool.setState(0);
                    }, 0);
                 
                    break;
            }
        }
    </script>
Rumen
Telerik team
 answered on 11 Jan 2012
1 answer
122 views
hi,

I was trying to do something similar like this: http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/templates/defaultcs.aspx in my website,


now the problem is that I got the page stuck and component is not working, here is my page:
http://82.178.17.30/en/contact.aspx

so any help would be greatly appreciated
Bozhidar
Telerik team
 answered on 11 Jan 2012
1 answer
118 views
Hello Team,

Here is one scenario


I have used a grid for above scenario. Records in grid are dynamically changes on drop down selection.
In above if I select Date and focus lost of Date, Requirefieldvalidator should display the message that start time and end time should be entered for selected date.
At the same time I want add one another validator that checks the End time should be greater than start time.

Please help me to do this.

Thanks,
Santosh

Shinu
Top achievements
Rank 2
 answered on 11 Jan 2012
1 answer
54 views
Hiiiiiiii,
          I have in prob like i want enable the menu on left click on specifice column only seprately on  radgrid......          

                                   plz reply me soon                                                  
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2012
2 answers
120 views
Hi Admin,

I am using RadTreeView
as:-

<telerik:RadTreeView Runat="Server" ID="RadTreeView1" Skin="Vista" OnNodeExpand = "Rad_NodeExpand" >

 

</telerik:RadTreeView>
Code:

protected void Rad_NodeExpand(object sender, RadTreeNodeEventArgs e)
    {
        if (e.Node.Nodes.Count == 0)
        {
            switch (e.Node.Level)
            {
                case 0:
                    FillTerritories(e.Node);
                    break;
                case 1:
                    FillOrganizations(e.Node);
                    break;
                case 2:
                    FillOffices(e.Node);
                    break;
            }
        }
    }

Now the problem is when I am building the code I am getting following error:
 'ASP.dyanamictreeview3_aspx' does not contain a defiantion for  'Rad_NodeExpand', as shown in the attached file.

This is really frustating. Please throw some light on what is going wrong.

thanks a lot
Xorv


Xorv
Top achievements
Rank 2
 answered on 11 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?