Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
134 views
How do you get the enter key to submit from a radcombobox, like in the below sample, typing in the box and hitting enter doesnt submit the page...

http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/autocompleteclientside/defaultcs.aspx

Ryan Grossman
Top achievements
Rank 1
 answered on 24 Mar 2010
2 answers
226 views
Hello.  I'm using the jQuery BlockUI plugin.  It was working with Q3 2009.  Last week I upgraded to Q1 2010 and I noticed BlockUI is no longer working in Firefox.  It's also not working with hotfix 2010.1.316.35.

By "not working", I mean that when trying to show the BlockUI window, it doesn't appear.  I tried to debug the plugin with Firebug, and the code runs all the way thru, so I can't pinpoint the problem.  Normally, however, BlockUI will append 3 DIVs to the <body> tag.  When it's not working, only 1 DIV gets appended, and that DIV is not appearing.

When I revert back to Q3 2009, it works again.  It works in IE8 with Q1 2010.  It's just Firefox that isn't working.  I've tried other Firefox browsers as well with the same result.  So I know my particular Firefox installation isn't the problem.

Even just trying to display a simple message like the following doesn't work:

$telerik.$.blockUI({ message: 'test' })

Any help or information is appreciated.  Thanks.
Ben Amada
Top achievements
Rank 1
 answered on 24 Mar 2010
4 answers
283 views
Hi,

I've got a problem whereby when I have a combobox that has a parent the required field validator ends up on a new line on the second combobox.

I've really cut down the code to the bare minimum to function and have the code shown at the bottom of this post.  If it is executed then you'll see on the second combo box there is an extra line below it.  Remove the combo boxes from the AJAX manager and this issue disappears (but obviously the functionality is lost).

Having stripped down the code the only difference between the two is that the second combobox gets wrapped in a div called uxCompanyContactControl_uxContactIDPanel - it's this div that seems to throw the required field validator onto a new line.  I'm guessing that this is the content that will be replaced when the Company changes.

How do I fix this?

Also I really like the way that the radnumerictextbox shows bad data with the ! icon inside the field.  I've made my code so that the error icon goes over the top of the combo box.  Is there any intention of having a built in validator for the combo box?  Finally have you a link to the icon that is used for the numerictextbox as that one is nicer than the one I use.

Code follows below.

Best Regards,

Jon

<telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager> 
<telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager> 
 
<telerik:RadAjaxManager ID="uxRadAjaxManager" runat="server">  
    <ajaxsettings> 
        <telerik:AjaxSetting AjaxControlID="uxCompanyID"  > 
            <updatedcontrols> 
                <telerik:AjaxUpdatedControl ControlID="uxContactID" /> 
            </updatedcontrols> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="uxSaveButton">  
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="uxSaveButton" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </ajaxsettings> 
</telerik:RadAjaxManager> 
                                  
<table cellpadding="0" cellspacing="0" > 
    <tr> 
        <td>Company:</td> 
        <td> 
<telerik:RadComboBox ID="uxCompanyID" Runat="server" EmptyMessage=" - Select an Company - " AllowCustomText="true" DataTextField="Name" DataValueField="CompanyID" CssClass="halfWidthComboBox" MarkFirstMatch="True" DropDownWidth="300" CausesValidation="false" AutoPostBack="True" SelectedIndexChanged="uxCompanyID_SelectedIndexChanged"></telerik:RadComboBox> 
<asp:RequiredFieldValidator ID="uxCompanyIDReq" runat="server"  ControlToValidate="uxCompanyID" ErrorMessage="RequiredFieldValidator" Text="<img src='/blank.gif' alt='Required field' class='errIconCombo' />" Width="0"></asp:RequiredFieldValidator> 
        </td> 
        <td>Contact:</td> 
        <td> 
<telerik:RadComboBox ID="uxContactID" Runat="server" EmptyMessage=" - Select a Company - " AllowCustomText="true" DataTextField="Name" DataValueField="ContactID" CssClass="halfWidthComboBox" MarkFirstMatch="True" DropDownWidth="300"></telerik:RadComboBox> 
<asp:RequiredFieldValidator ID="uxContactIDReq" runat="server"  ControlToValidate="uxContactID" ErrorMessage="RequiredFieldValidator" Text="<img src='/blank.gif' alt='Required field' class='errIconCombo' />" Width="0"></asp:RequiredFieldValidator> 
        </td> 
    </tr> 
</table> 
 
<asp:Button ID="uxSaveButton" runat="server" Text="Save" /> 


Jon
Top achievements
Rank 1
 answered on 24 Mar 2010
1 answer
107 views
I want to export Radgrid to excel in a particular location,instead of opening it an a new window.

Please Suggest.

Regards,
Ashwin
Daniel
Telerik team
 answered on 24 Mar 2010
1 answer
122 views
How can I show the Edit Column only if the RadGrid is Editable?

I'm using DotNetNuke and only a few users have permission to edit the grid.

<telerik:GridEditCommandColumn ButtonType="ImageButton"
                        UniqueName="EditCommandColumn" Visible="false"/>
Foenix
Top achievements
Rank 1
 answered on 24 Mar 2010
4 answers
154 views
Hi,

I am trying to get client-side caching so that my grid doesn't have to contact the server when paging number is clicked..
On the example, what is the Location property? Do I have to have a webservice to be able to use client-side caching?
<ClientSettings> 
    <DataBinding Location="~/Grid/Examples/Client/DeclarativeDataBinding/WebService.asmx" 
        SelectMethod="GetDataAndCount" EnableCaching="true" /> 
</ClientSettings> 
 

Thanks..
Fred
Top achievements
Rank 1
 answered on 24 Mar 2010
3 answers
162 views
Hi there, we are using the standard ColorPicker with the color box showing next to an arrow to bring up the palette options. We have tried changing the style of the button to increase the height but it does not work as expected. We would like the color box and button to be taller so ti matches our forms better. Is there a way to do this? The button seems like it might be an image which is not sizable?
 Thanks for any help you guys can provide!
Stephen Holland-Chang
Top achievements
Rank 1
 answered on 24 Mar 2010
2 answers
190 views
I am using quite often GridNumericColumn and in some cases I would like to disable mouse wheel scrolling feature.
When in edit mode, the mouse wheel increases or decreases the content number.  I want to disable that feature.  I want users explicitly enter the number through the keyboard only.  Can someone help me how?

Thanks,
Chris
Christopher Borys
Top achievements
Rank 1
 answered on 24 Mar 2010
2 answers
158 views
I have need to update the ClientDataKeyNames on ItemDataBound.

My Aspx page has:

<MasterTableView ClientDataKeyNames="MyName" >

My Code behind has:

protected void grdMasterList_ItemDataBound(object sender, GridItemEventArgs e)
{
  //  Need to update ClientDataKeyNames here
}

How can I update ClientDataKeyNames so it gets reflected in the aspx page?

Thanks.
Steve
Top achievements
Rank 1
 answered on 24 Mar 2010
5 answers
524 views
Our client want data from radeditor is store in database (sql)
then read that data from sql into microsoft word??

How can we read data from sql to msword.??

If any tool for that then,
 please can you tell me what tool i have to use for it?


Fikret
Top achievements
Rank 1
 answered on 24 Mar 2010
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?