Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
128 views
Hi Telerik Support,

I need your help. I using RadAjaxLoadingPanel in my project. Everything is fine except progress image inside RadAjaxLoadingPanel doesn't show up on very first request. It appears properly on subsequent requests. I am using RadAjaxLoadingPanel along with RadAjaxManager. Here is the code:
 
<telerik:RadAjaxLoadingPanel runat="server" ID="RadLoadingPanel" IsSticky="True" EnableViewState="true" Enabled="true">
       <img id="imgLoader" src="loading.gif" height="20px" width="70px" />
</telerik:RadAjaxLoadingPanel>
                                               

<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
       <AjaxSettings>
              <telerik:AjaxSetting AjaxControlID="ibMoveToFolder">
                          More Code follows....


Can you guys help me out what property I am missing. I have tried many things but it didn't work.

- Just to let you know that it is just the loading panel which doesn't appear, the async request successfully goes to server and corresponding controls get updates without problem.

Any help would highly be appreciated.


Irfan
Pavlina
Telerik team
 answered on 19 Jan 2011
1 answer
102 views
Hi,

I'm using a Rad Grid which has templated edit / insert forms.
I want to select a value in a combobox for business unit name but when i save the record i want the "business unit name" to be the value of the combobox but i have another field called Business code which i would need to assign a value to based on the "business unit name" combobox value selected. How do i do this as i can't seem to find an "Item_Inserting" event the Rad Grid (only has ItemInserted but i need to assign the value before i insert). This also goes for the update of a record.

Can anyone suggest how i can do this?

Regards,

Shuja
Shinu
Top achievements
Rank 2
 answered on 19 Jan 2011
6 answers
524 views
Hi,

I have created a custom skin for RadUpload and have replaced the ruButtons with a custom image buttons. the custom image button has the text 'Browse' placed on it.

I have made the required changes to the css file to accrdng to the new skin. But the text 'Select' still gets displayed over the custom button.

Is there a way to remove that text or to make it not visible?

Rgds
Shuchi
shruthi
Top achievements
Rank 1
 answered on 19 Jan 2011
1 answer
34 views
the WebControl that I have made as edit-form in grid?

I need to pass it some parameters about what buttons to show for the item according to some usersettings. Ofc I can use session/viewstate etc to send it but it feels more correct to send parameters bec this edit-form is also used outside-grid.

//h
Mira
Telerik team
 answered on 19 Jan 2011
1 answer
76 views

Hi,

I have used Telerik_AJAX_controls_2010_3_1215_for_SharePoint_2010_Trial.msi  on my environment for Enhanced Rich Text Editor. My Environment is Sharepoint Foundation 2010 and Windows 7 64 bit. I installed this installer on my environment and my site has three features now available for RADEditor

  1. Use an accessible UI in RadEditor.
  2. Use RadEditor to edit HTML fields.
  3. Use RadEditor to edit List Items.

I activated all the feature over my site and saved my list data,However, the rich text fields data are not saving.
Note: If I deactivate "Use an accessible UI in RadEditor" feature from my site, then saving works perfectly and view displays data.

what would be the reason behind it? Please suggest. 

 

Stanimir
Telerik team
 answered on 19 Jan 2011
1 answer
338 views
I am using RadEditor as textbox and don't want any html tag to be added when Editor's content is saved. I set the attribute
StripFormattingOptions="All"
in the editor. It's not working. I still see the content being saved in my Table in the DB as
"TestContent<BR>"
I want the content to be saved as plain text like "TestContent" and not with the break tags and p tags.
What is the solution to this? Please help. Thanks.

My Editor is as follows:-
<telerik:RadEditor ID="Editor1" EditModes="Design" DialogsCssFile="~/Skins/Default/DialogCSS.css" SpellCheckSettings-AjaxUrl="~/Telerik.Web.UI.SpellCheckHandler.axd" Font-Bold="false" ToolsWidth="360px" Content='<%#Eval("Content") %>' TabIndex="18" Height="30px" Width="100%" BorderWidth="0px" ContentFilters="ConvertCharactersToEntities" runat="server" StripFormattingOptions="All" ToolbarMode="ShowOnFocus" ToolsFile="~/Skins/BasicTools.xml" Language="en-GB" SpellCheckProvider="EditDistanceProvider" SpellEditDistance="2" OnClientSelectionChange="OnClientSelectionChange">
 
<CssFiles> <telerik:EditorCssFile Value="~/css/EditorAsTextBox.css" /> </CssFiles>
<
Tools>
<
telerik:EditorToolGroup>
<telerik:EditorToolName="AjaxSpellCheck"Text="AjaxSpellCheck"/>                                                       </telerik:EditorToolGroup>
</
Tools>
<
Content></Content>
</
telerik:RadEditor>

I added the following script on my page and set RadEditor's attribute OnClientSubmit="OnClientSubmit"..
didn't work..


<script type="text/javascript">
function OnClientSubmit(editor)
editor.fire("FormatStripper", { value: "All" });</script>

Rumen
Telerik team
 answered on 19 Jan 2011
1 answer
89 views
I have a RadComboBox setup to display Checkboxes, like this:

					<telerik:RadComboBox ID="cmbLocation" Name="Location" runat="server" DataTextField="Key" DataValueField="Value" TabIndex="18" Width="214"
OnClientDropDownClosing="OnClientDropDownClosing" MarkFirstMatch="true" AllowCustomText="false">
<ItemTemplate>
<asp:CheckBox runat="server" ID="chkLocation" Text='<%# Eval("Key")%>'/> 
</ItemTemplate>                    
</telerik:RadComboBox>
The ComboBox is then simply bound to a List<KeyValuePair<string,int>> datasource in code behind.

I need to add an item to the top of the list that simply says "ALL". I really don't need a Checkbox in this item, for what it is worth.

I am currently doing this:
            cmbLocation.Items.Insert(0, new RadComboBoxItem(Common.All, "-1"));
This works more or less. When I run the app, the ComboBox reads "All". But there is also a blank checkbox in the first position. I don't want that to be there. But I do need to be able to tell if All is selected.

WHen I look in the generated HTML code, I see that the first item is only an <input> (type of checkbox). All the rest of the items have both a <label> and an <input>.

What's the right way to add a default item here?
Shinu
Top achievements
Rank 2
 answered on 19 Jan 2011
3 answers
134 views

java script error is coming when we are using Telerik Calendar control in a page, and if we use SetFocusOnError="true"

Property.
Moreover we have used the ajax validator extender.
Please refer attachment.
can anyone have idea about any possible solutions?

 

Pavel
Telerik team
 answered on 19 Jan 2011
1 answer
94 views
I need to create a grid that acts like the ms excel. basically the user wants to select several rows from an excel sheet and past on on a radgrid. and when a button is clicked, the code will save those information in the db.  any help will be appreciated.
Shinu
Top achievements
Rank 2
 answered on 19 Jan 2011
1 answer
405 views
Hi all.

I am having problem in rad grid export.When i export the radgrid with ignore paging to word ,excel or pdf alll record gets exported this is finr.But now when i change the page or move to other page than 1 and export grid with ignor paging it give me file with no record to display.

my button code is as follows

   protected void uxBtnWord_Click(object sender, ImageClickEventArgs e)
        {
            try
            {
                if (uxRadGrid.Items.Count == 0) return;
                if (uxIgnorePaging.Checked)
                  // uxRadGrid.PageSize = uxRadGrid.MasterTableView.VirtualItemCount;
                uxRadGrid.ExportSettings.IgnorePaging = uxIgnorePaging.Checked;
               
                uxRadGrid.ExportSettings.OpenInNewWindow = true;
                uxRadGrid.ExportSettings.ExportOnlyData = true;
                isExport = true;
            
                uxRadGrid.MasterTableView.ExportToWord();
            
                
            }
            catch (Exception ex)
            {
             
            }
        }

please help it out
Daniel
Telerik team
 answered on 19 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?