Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
885 views
Hi,
    Recently, I found an issue that when an image is corrupted, and we try to assign it to RadBinaryImage, we get error "Parameter is not valid". Thats OutOfMemory exception, seems .NET can't load image properly then. However, this cause ASP.NET application to throw an "unhandled" exception.

   I wonder, if it was possible for telerik component to validate the image as it was assigned to it (like DataValue property) and throw an exception to indicate that assigned value is NOT a valid image. Currently, I have to load image, and if loads successfully, then I use my routine to convert the image to bytes and assign to DataValue property. 

   Though I see many threads on this topic "Parameter is not valid", as per I know, its "mysterious" ASP.net message and most of the time, caused by OutOfMemory exception. I wonder if this "check of validity of image" should be implemented in other controls of telerik, like reporting etc.

   Thanks,
   Sameers
Mira
Telerik team
 answered on 11 Feb 2011
1 answer
66 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
92 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
87 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
47 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
68 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
141 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
94 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
28 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
85 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?