Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
106 views
Hello in my radgrid grid sorting not working proper

my column value likes this
99
88
65
888
8
94
now sorted reslut
99
94
88
888
8
65
its wrong i need output likes this
888
99
94
88
65
8

don't know why this happened, Here i attached screen shot for this
 
Jayesh Goyani
Top achievements
Rank 2
 answered on 11 Feb 2011
1 answer
111 views
Hi,

I wanted to pass RadSchedulerRecurrenceEditor's recurrence rule to into the RecurrenceData field of a sharepoint's calendar list item. RecurrenceData Field expects a XML format of Recurrence rule.  Could someone help me to resolve this. It would be great if someone shares the code. Its really urgent.

Thanks, Mulagundla
Veronica
Telerik team
 answered on 11 Feb 2011
3 answers
102 views

Hi

I have a RADGrid with one button column and rest bound columns as follows;

<telerik:RadGrid ID="DocsList" runat="server" AllowPaging="True" GridLines="None"
    OnNeedDataSource="DocsList_NeedDataSource">
    <MasterTableView AutoGenerateColumns="False">
        <Columns>
            <telerik:GridBoundColumn FooterText="Document" UniqueName="Document" SortExpression="ContactTitle"
                HeaderText="Document" DataField="Document" Resizable="true">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn FooterText="Index" UniqueName="Index" HeaderText="Index"
                DataField="Index" Display="false">
                <ItemStyle Width="0px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn FooterText="MediaURL" UniqueName="MediaURL" HeaderText="MediaURL"
                DataField="MediaURL" Display="false">
                <ItemStyle Width="0px" />
            </telerik:GridBoundColumn>
            <telerik:GridButtonColumn FooterText="View" ButtonType="ImageButton" UniqueName="View"
                HeaderText="View" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                CommandName="Select" DataTextField="CustomerID" ImageUrl="~/Resources/Images/submit.png">
                <ItemStyle Width="20px" />
            </telerik:GridButtonColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

I have a few questions;

1. How can I attach an onclick event to the buttons in the button column so when a button in a row is clicked then value of one of the bound columns in the same row is returned?

2. The button images' seems to have an annoying shadow (image1.jpg attached). How can this be removed?

3. When this web page is being viewed in browser and browser window is scaled down the buttons start to crop instead of grid rescaling to allow the button to remain fully visible (image2.jpg attached). How can this be fixed?

Many Thanks

Regards

 

Mira
Telerik team
 answered on 11 Feb 2011
1 answer
62 views
It looks like the usage of global resources isn't fully implemented yet in the latest version 2010.3.1317.40. For example the GridPagerItem still contains quite a few hardcoded texts. Furthermore I think it would be nice if the item commands would support globalization too. Is there any chance of an ETA for the completion of globalization support for RadGrid?
Mira
Telerik team
 answered on 11 Feb 2011
2 answers
81 views
Hello,
     I have a problem with the RadGrid. I can't grouping draging a header to group panel. If I group by code like the following, it works. When the page is loaded the grid appears grouped, but if I remove the group draging it out from the group panel the grid is ungrouped and then I can't to group again draging a header or even reorder headers draging them.

<MasterTableView>
        
       <GroupByExpressions>
       <telerik:GridGroupByExpression>
       <GroupByFields>
       <telerik:GridGroupByField FieldName="Usuario.Login" />
       </GroupByFields>
       <SelectFields>
       <telerik:GridGroupByField FieldName="Usuario.Login" />
       </SelectFields>
       </telerik:GridGroupByExpression>
       </GroupByExpressions>
       </MasterTableView>

I have GroupingEnabled property set to true and also ShowGroupPanel. I was looking for a solution in the forum and I haven't found anybody with the same issue.

Can anybody help me.  Thanks in advance.





Tajes
Top achievements
Rank 1
 answered on 11 Feb 2011
1 answer
164 views
 I had the latest ver. (trial) of asp.net telerik, then my computer died and Dell come over and replaced my motherboard!

After that the ASP.NET AJAX Telerik will not run in localhost.
I run it in Visual Studio 2010 and run it there from!

If I copy the project to another computer it will work but no longer in my project!

See the screen attached file!

I have repaird, and reinstalled the ASP.NET AJAX Telerik, but I got the same problem!

Anybody got a tip of this issue?



Markus
Top achievements
Rank 1
 answered on 11 Feb 2011
1 answer
112 views

Hi,
There is an issue with Rad Upload control not loading File Open dialog box in Fire Fix. Please find belwo Rad Upload markup and Javascript function. This javascript function working perfectly in IE but not in Fire Fox because it doesn't allow File Input control to be clicked. Please provide a workaround for this issue.

Thanks in advance.

Rad Upload markup:

<telerik:RadUpload id="fileUploadImport" OnClientAdded="MakeKeyBoardAccessible"      OnClientFileSelected="validateBrowse" ReadOnlyFileInputs="true" EnableEmbeddedSkins="false" Skin="Default" AllowedFileExtensions=".txt"  ControlObjectsVisibility="None"  ToolTip="Browse"  runat="server">
<Localization Select = "Browse"/>
</telerik:RadUpload>


Javascript function:

function MakeKeyBoardAccessible(radUplaod, args) {

        args._row.all[3].onkeydown = function(e) {

            var keycode;

            if (window.event) keycode = window.event.keyCode;

            else if (e) keycode = e.which;

            else return true;

 

            if (keycode == 13) {

                args._row.all[1].click();

            }

        }

 }



Regards,
Bhaskar
Genady Sergeev
Telerik team
 answered on 11 Feb 2011
1 answer
36 views
I have the following code in my aspx page for the RadTreeViewContext Menu. It is simple code. For some reason when I click on a node and the menu comes up I click on a menu item but the page will NOT submit. The context menu item does nothing when I click it. Any ideas. Please see code below it is simple code ...

<telerik:RadTreeView ID="RadTreeView1" Runat="server">
  
     <ContextMenus>
       <telerik:RadTreeViewContextMenu OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" runat="server" ID="HelpDeskMenu"  ClickToOpen="True" Skin="Vista">
           <Items>
           <telerik:RadMenuItem Text="Add Lesson Component" Value="xyz"></telerik:RadMenuItem>
           </Items>                      
       </telerik:RadTreeViewContextMenu>
   </ContextMenus>
  
   </telerik:RadTreeView>
  
  
// CODE TO POPULATE TREE 
  
  RadTreeNode node = new RadTreeNode("Test Google");
              
                   RadTreeNode node2 = new RadTreeNode("Test Google 2");
                   RadTreeView1.Nodes.Add(node);
            RadTreeView1.Nodes.Add(node2);
Yana
Telerik team
 answered on 11 Feb 2011
2 answers
89 views
Hello,

I have a radtabstrip in my page as a wizard, there is a preview page view at the end of the wizard but the user can go back clicking on the other tabs to edit.

I am looking for client code to only postback the preview pageview (radtab) when it is called and not the other tabs.

Thank you,
Shehab
Lord Vader
Top achievements
Rank 1
 answered on 11 Feb 2011
1 answer
106 views
Hi
i am using grid bound columns and followed this procedure to retrive the values
string strID = string.Empty;
       string UnderLicenseeID = string.Empty;
       string StrType = string.Empty;
       string msg = string.Empty;
       //RadTextBox Users = ((RadTextBox)e.Item.FindControl("txtUsers")).Text;
       ViewState["bound"] = "1";
       if(e.Item is GridDataItem)
       {
           GridDataItem Item = e.Item as GridDataItem;
           if(ViewState["bound"].ToString() == "1")
           {
               foreach (GridDataItem item in RadGrid1.Items)
               {
                   if(item["Users"].Text != null)
                   {
                       strID = item["ClientID"].Text;
                       UnderLicenseeID = item["UnderLicense"].Text;
                       StrType = item["Type"].Text;
                       msg = item["Name"].Text;
                       RadGrid2.Visible = false;
                   }
               }
           }
       }
but what happens is that when i edit and enter a value the item["Users"].text value is &nbsp why i am not getting the value what i have enterd to update?
pl help
Shinu
Top achievements
Rank 2
 answered on 11 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?