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

we are having a small problem with the ClientSideSelectColumn in combination with Keyboard Navigation in InternetExplorer.
When you click on the checkbox in the ClientSideSelectColumn the desired row is selected (as expected). However, IE seems to have a special quirk where checking a checkbox also gives that checkbox focus and all further keyboard input is caught by this checkbox.
That means you can still use the Ctrl + arrow keys  to navigate to a different row in the grid, but when you press 'Space' to select the highlighted row, the first row that you clicked with your mouse is deselected/selected instead.

Do you have any tips for us on how we can fix this behaviour?.

Thanks,

Constantin
Milena
Telerik team
 answered on 27 Jul 2012
2 answers
100 views
Hi,
I have 4 classes:
Seminar
Debate : Seminar
Break : Seminar
Normal : Seminar

I wanted to use IEnumerable<Seminar> as a datasource for RadGrid but it keeps trying to cast them to Normal. Is there a way to stop grid from casting the types to child type (I'm guessing its taking the typeof first element in the array) or manualy specify the type it should use?

Krzysztof
Top achievements
Rank 1
 answered on 27 Jul 2012
1 answer
106 views
I would like to have the ability to have two icons on a menu item, but not always.  I generate my entire menu with three levels programmatically.  I put it in a control so all I have to do is drop it on a page and it works.
What I would like is the have two items possibly on a menuitem.  One on the left that would be a graphical prepresentation of what the menuitem does such as print, maintenance, etc and the another on the right that says NEW or Revised.  That way if a menuitem is new within the last 90 days I can display NEW or if the program behaviour has changed it can say REVISED.

Is this possible?

Thanks
Princy
Top achievements
Rank 2
 answered on 27 Jul 2012
1 answer
506 views
Hi,
     I have this problem with removing the underline of hyperlink column. Can anybody help me with this.
thanks
Savyo
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2012
1 answer
86 views
Hi All,
I have a page designed with RadPanel as main placeholder for all controls.
The Page design and all works fine. but after completing every thing when I check the my website in different browsers
I had face one issue that the Height of RadPanel is not adjusting Automatically to Browser Height.
I have added a JS function to achieve this functionality.Its just calculate the size and assign to the RadPanelbar.

But the real problem come now
Since I don't specify the RadPanelbar Height in design section for first time Radpanel bar appear as small( Refer Image RadPanelonFirstTime) and then after a flickering it occupy all space(Refer ImagePanelAfterFlickering).

I dont want to display my panel bar small for first time, I want my panel bar to display like the second image always(PanelAfterFlickering).

Thanks,
A2H
Princy
Top achievements
Rank 2
 answered on 27 Jul 2012
1 answer
58 views
Is it possible to make the radgrid command item toolbar seen here vertical along the left hand edge of the grid?

http://demos.telerik.com/aspnet-ajax/toolbar/examples/applicationscenarios/gridcommanditem/defaultcs.aspx?product=toolbar  
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Jul 2012
9 answers
385 views
Hi all...
this is probably a really basic question...

what i'm trying to do is to validate whether the user has specified any files to be uploaded.  I'm using just a single text box and a browse button.

I figured on using OnClientFileSelected to go to a function which will see if the file input string is zero length.

However, the event doesn't seem to be firing.  Here is the RadUpload declaration:

<telerik:RadUpload InputSize="40" Width="300" ID="RadUpload1" runat="server"

ControlObjectsVisibility="None" OnClientFileSelected="checkInputFilePath" />

<telerik:RadProgressArea ID="progressArea1" runat="server" Skin="" />

The function looks like this:

function checkInputFilePath(radUpload, eventArgs)

    {

        alert(

'here we are');

    }

The alert never happens, though an alert downstream of this, in another function, does.
Anything additionally have to be set?

Thanks in advance
david

Princy
Top achievements
Rank 2
 answered on 27 Jul 2012
3 answers
140 views
Hello,

I am using both onvaluechanging and onerror client side events of RadNumeric Textbox

If user enter non-numeric values, it is only executing onerror. If you user enter numeric value but which is invalid(lets say -10), I am handling that error but after that onvaluechanging is also executing. I dont want onvaluechaing triggers after error handler.

TIA
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2012
1 answer
150 views
Greetings Telerik,
For one of our clients we need to develop a custom control for displaying conference / agendas more like
https://developers.google.com/events/io/agenda
OR
http://sesconference.com/sanfrancisco/agenda.php similarly...

So instead of we developing we have recommended telerik controls...
It will be nice to if you can share any previous implementation on similar lines.... or let us know if its possible with Telerik or not...
What our options ??? we are open to suggestions

Thanks
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2012
7 answers
1.0K+ views
Im trying to implement a file download function in a grid.  The grid is controlled by an ajax manager.  In the grid i have a GridButtonColumn

<telerik:GridButtonColumn ButtonType="ImageButton"
                                        CommandName="ImageDownload" Text="Download" UniqueName="ImageDownload" ImageUrl="~/images/dnn.gif">
                                        <HeaderStyle Width="20px" />
                                        <ItemStyle HorizontalAlign="Center" />
                                    </telerik:GridButtonColumn>

I then have this function that should initiate the file save dialog for users to save the selected file to their file system

protected void RadGridImages_ItemCommand(object source, GridCommandEventArgs e)
        {
                         
            if (e.CommandName.Equals("ImageDownload"))
            {
//commandargument has the physical path on the server of the selected file
                DownloadImage(e.CommandArgument.ToString());
            }
        }
 
        private void DownloadImage(string imagePath)
        {
            FileInfo file = new FileInfo(imagePath);
            if (file.Exists)
            {
                Response.ClearContent();
                Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
                Response.AddHeader("Content-Length", file.Length.ToString());
                Response.ContentType = Studio1BusinessLayer.Helpers.ReturnExtension(file.Extension.ToLower());
                Response.TransmitFile(file.FullName);
                Response.End();
            }
        }

The DownloadImage method generates this error

Could not complete the operation due to error c00ce514.

Can anyone show me how to achieve a simple file download function in a radgrid ?
Radoslav
Telerik team
 answered on 27 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?