Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
828 views
What we're trying to do is block all keyboard input into the combobox. Currently, when the user presses a key, it will attempt to index to the first person that has a name beginning with that letter despite MarkFirstMatch being set to false. When I create a new page and use this against the combobox:

$("input[name='cboSelection']").keydown(function (event) {
         event.preventDefault();
         return false;
     });
});

It works fine, as it should. The problem is that as soon as I add it to a master page, it stops working. We can't find anything that might directly conflict with it such as another keydown event, but it APPEARS to be a hierarchical problem. For instance, when I set an AlertBox to fire on the keydown event, what happens is that the combobox makes the selection THEN my event handler fires. When we don't use a master page, it happens the other way around; my event handler fires, then the combobox makes the selection

In the Silverlight version of the control, there's a property that disables keyboard input, but I have not found anything with the AJAX control that is comparable. Any insight or solutions would be appreciated. Thanks.
Jeremy
Top achievements
Rank 1
 answered on 28 Jun 2012
1 answer
120 views
Hi, I have trouble with updating excel-like radgrid on my end. After updating telerik binaries from 2010 to 2012, it gives me this error:
NullReferenceException was unhandled by user code.

on this line:
textBox.ReadOnly = true;

textBox becomes null for some reason.

// Attach the event handlers to the client side events of the TextBoxes.
        foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
        {
            if (item is GridDataItem)
            {
                columnsCount = 0;
                for (int i = 2; i < RadGrid1.MasterTableView.RenderColumns.Length; i++)
                {
                    GridColumn column = RadGrid1.MasterTableView.RenderColumns[i];
                    TextBox textBox = (item[column.UniqueName].Controls[0]) as TextBox;
                    if (textBox != null)
                    {
                        textBox.Attributes.Add("ondblclick", "cellDoubleClickFunction('" + textBox.ClientID + "');");
                        textBox.Attributes.Add("onclick", "cellClick('" + textBox.ClientID + "');");
                    }
                    if (i == 2)
                    {
                        textBox.ReadOnly = true;
                        textBox.Attributes.Add("class", "readOnly");
                    }
                    columnsCount++;


The type of column is Telerik.Web.UI.GridColumn {Telerik.Web.UI.GridBoundColumn}.
However compiling same code with telerik 2012 binaries, it becomes Telerik.Web.UI.GridColumn {Telerik.Web.UI.GridNumericColumn}. I'm not sure if it's really releated with the problem, since I'm new to telerik.

You can get the file in Here from code library and same problem occurs after updating telerik binaries. Any help will be appreciated.
Pavlina
Telerik team
 answered on 28 Jun 2012
9 answers
654 views
Hi,

I'm using RadButtons and would like to turn off the rounded corners and make the buttons look more like RadDocks with corners turned off and the RadToolBar, am I missing a property somewhere or is this going to be a CSS fudge?

<telerik:RadButton ID="uxCancelButton" runat="server" CausesValidation="False"  UseSubmitBehavior="false"
 Text="Cancel" OnClientClicked="CloseAdhocPopup" AutoPostBack="False"  >
<Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="6px"></Icon>
</telerik:RadButton>

Regards,

Jon

Bozhidar
Telerik team
 answered on 28 Jun 2012
4 answers
265 views
I am using custom advanced form to maintain appointment. The database thorows an exception if the validation fails. The validation is complex that I cannot bring it to the client side. Currently the application shows "Server error in '/<app>' Application" with the error message returned by the database. How can I catch the exception and show in RadAlert? Any help is appreciated.

Thanks, E.Z.
Plamen
Telerik team
 answered on 28 Jun 2012
3 answers
122 views
I have a situation where I am creating a RadPanelBar during the OnLoad event of my page. When I do it this way, the panel bar ends up entirely expanded, even when I set each RadPanelItem.Expanded to false.

Previously, this panel bar was loaded after being triggered by a menu, but I wanted to change it so it starts preloaded based on some data. Any ideas?

Thanks,
Chris
Kate
Telerik team
 answered on 28 Jun 2012
1 answer
249 views
Hello,
it seams to be a problem with the radTabStrip on ScrollChildren = true active. There appear to be an internal width issue that breaks the design on browser resize. Here's the scenario:

I have this in a page:
<telerik:RadTabStrip  runat="server" ID="radTabStrip" PerTabScrolling="true" ScrollChildren="true" SelectedIndex="0" Width="100%" style="padding-top:2px;">
    <Tabs>
        <telerik:RadTab runat="server" Text="Customer Details" Value="0" />
        <telerik:RadTab runat="server" Text="Practice Info" Value="1" />
        <telerik:RadTab runat="server" Text="Customer & Case Alerts" Value="6" />
        <telerik:RadTab runat="server" Text="Calls & Notes" Value="2" />
        <telerik:RadTab runat="server" Text="Cases" Value="3" />
        <telerik:RadTab runat="server" Text="Accounting" Value="4" />
        <telerik:RadTab runat="server" Text="Sales" Value="5" />
        <telerik:RadTab runat="server" Text="Attachments" Value="7" />
        <telerik:RadTab runat="server" Text="Education Courses" Value="8" />
        <telerik:RadTab runat="server" Text="Personal Notes" Value="9" />
    </Tabs>
</telerik:RadTabStrip>

Here is the issue i found out:
Considerring all the tabs i have in the ASPX, when i resize the browser it works as it supposed. That is, the scroll button appears and the tab strips are correctly displayed in one row.
Now, if you remove the last RadTab ("Personal Notes"). The page loads correctly, but when you try to resize a few pixels the browser, the scroll buttons appear correclty, but the last TAB (and only the last tab) is displayed on a second row..and this is not as it supposed to work.
My guess is that is not the number of tabs, but the total width of the tabs, because if i dont remove the last tab ("Personal Notes"), but
insterad i rename the 3rd tab from "Customer & Case Alerts" into "Alerts", the design breaks again, placing the last tab on a second row.

This behavior was found in IE9 and is working as intended in FF

I have the last Q2 2012 version and i also attach two snapshots for error 1: (last tab removed) and error 2: (dont remove lat tab, instead rename the 3rd tab to shorter name)
Kate
Telerik team
 answered on 28 Jun 2012
0 answers
182 views
hi all,
  I have a table which have ID, Name, Value as columns. I have 12 records in the table which needs to be bind in the grid. The grid shows the data like below


Name      Value     Name   Value    Name Value

So the same set of columns need to be repeated 3 times so totally 4 rows shows the full data. In the footer i need to show the total of each value column. How can i achieve this? Any other control better than grid. I already the read the following threads

http://www.telerik.com/community/forums/aspnet-ajax/grid/repeate-columns-on-radgrid.aspx
http://www.telerik.com/community/forums/aspnet/grid/4-by-4-grid.aspx

But i didn't get the clear about of my requirement.

Akhil Raj
Top achievements
Rank 1
 asked on 28 Jun 2012
1 answer
109 views
All I am trying to do is set tooltip to say "This is to check spelling for user Input". But radspell shows  "Spell Check" but but when I hover outside the radspell it show my tooltip but thats not how its supose to work. I would appreciate if I can get exactly what i need to do to get tooltip on control .
Princy
Top achievements
Rank 2
 answered on 28 Jun 2012
3 answers
328 views
Hi there,
I am using telerik RadEditor like this in asp.net web application.
ASPX
<telerik:RadEditor ID="message" runat="server">                      
</telerik:RadEditor>
ASPX.CS
Had set Image Paths from server side.
string[] imagepath = { "../Images" };
message.ImageManager.ViewPaths = imagepath;
message.ImageManager.UploadPaths = imagepath;
message.ImageManager.DeletePaths = imagepath;
message.ImageManager.EnableImageEditor = false;

WEB.CONFIG
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2010.2.713.20, Culture=neutral, PublicKeyToken=########" verb="*" validate="false"/>
<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=########"></add>
<add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=########"></add>

TELERIK  ASSEMBLY VERSION : Version=2010.2.713.20

Giving me exception as Using themed css files requires a header control on the page. (e.g. <head runat="server" />). when clicked on Image Manager on editor. With web.config error message as

Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction


Kindly help me to resolve the issue.

Regards,
Swapnil
Rumen
Telerik team
 answered on 28 Jun 2012
3 answers
111 views
I'm using timeline view. The previous and next navigation arrows move the range by the number of shown slots.
I would like to be able to decide the pace of navigation.
Let's say the range is one month (30 slots) I would like to move 1 day ahead each time I click on next arrow.

I guess I could do something in the RadScheduler_NavigationComplete event.

Can you help me?
Thanks
Peter
Telerik team
 answered on 28 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?