Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views
I am having issues where the Navigation bar is showing on PageLoad, but the rest of the calendar is not showing.  I have EnableViewState set to true.   The RadScheduler is inside a .ascx control.  If I click on anything in the calendar's Navigation Bar, I get the rest of the calendar to pop up.  Is there something else that I need to do?  Below is how I have the UpdatePanel defined and how the RadScheduler is defined...

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <telerik:RadScheduler Width="850" Height="600" ID="VMDSCalendarEvents" runat="server" FirstDayOfWeek="Sunday" SelectedView="MonthView" 
                                              WorkDayStartTime="7" EnableAdvancedForm="true" AllowInsert="true" TimelineView-ReadOnly="true"
                                              OnAppointmentDataBound="VMDSCalendarEvents_OnAppointmentDataBound" OnAppointmentCommand="VMDSCalendarEvents_OnAppointmentCommand" 
                                              OnAppointmentInsert="VMDSCalendarEvents_OnAppointmentInsert" OnAppointmentDelete="VMDSCalendarEvents_OnAppointmentDelete" 
                                              OnAppointmentUpdate="VMDSCalendarEvents_OnAppointmentUpdate" OnFormCreated="VMDSCalendarEvents_OnFormCreated" >
Adam
Top achievements
Rank 1
 answered on 30 Aug 2011
8 answers
132 views
Hi,

I am using RadAjaxPanel and inside that panel I have one radcombobox in which I am displaying All Countries. I want to ask that is it possible to show a flag of a country as a loading panel image when user selects a country from radcombobox ? and I would like to set that image URL from server-side.

<telerik:RadCodeBlock ID="radcodeblock" runat="server">
    <script language="javascript" type="text/javascript">
        function OnClientSelectedIndexChanged(sender, eventArgs) {
            var ajaxManager = $find("<%= rapPSMain.ClientID %>");
            var item = eventArgs.get_item();
            ajaxManager.ajaxRequest(item.get_text());
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadAjaxLoadingPanel ID="alpProductionSechduleMain" runat="server" Height="75px"
    MinDisplayTime="5" Width="75px">
    <asp:Image ID="imgAjaxImage" runat="server" AlternateText="Loading..." />
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="rapPSMain" RequestQueueSize="5" runat="server" Width="100%"
    OnAjaxRequest="rapPSMain_AjaxRequest" EnableOutsideScripts="True" HorizontalAlign="NotSet"
    ScrollBars="None" LoadingPanelID="alpProductionSechduleMain">
    <b>Order Destination :</b>  
    <telerik:RadComboBox ID="rcbCountry" runat="server" Skin="Vista" Height="100px" Width="200px"
        DataTextField="CountryName" DataValueField="CountryKey" AllowCustomText="true"
        AutoPostBack="true" MarkFirstMatch="True" HighlightTemplatedItems="True" DropDownWidth="200px"
        OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" EmptyMessage="- Select Country -">
    </telerik:RadComboBox>
</telerik:RadAjaxPanel>




Muhammad
Top achievements
Rank 1
 answered on 30 Aug 2011
1 answer
144 views
Unable to set Image of content menu item, will display first image of sprite (WebResource.png)

Using:
<%@ Register Tagprefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>

<telerik:RadEditor ID="_radEditor" runat="server" ...
                    <ContextMenus>
                        <telerik:EditorContextMenu TagName="FONT">
                            <telerik:EditorTool Name="MyCustomAction" Text="Properties" ImageUrl="~/images/siteIcon.png" />
                        </telerik:EditorContextMenu>
                        <telerik:EditorContextMenu TagName="SPAN">
                            <telerik:EditorTool Name="MyCustomAction" Text="Properties" ShowIcon="false" />
                        </telerik:EditorContextMenu>
                    </ContextMenus>
Rumen
Telerik team
 answered on 30 Aug 2011
1 answer
66 views
We upgraded Telerik Web UI from 2010.3.2015 to  2011.2.712 in our project.(Also other dlls,reporting , openaccess ... to latest versions)
Project is GIS base application and contains javascript files like: http://openlayers.org/api/OpenLayers.js , Jquery and special JS's.
Master pages contains RadScriptManager,RadAjaxManager and no problem with other pages or other projects , but on GIS pages including these javascript files giving following error.

In Telerik.Web.UI.WebResource_3.axd....
  //Microsoft JScript runtime error: 'propertyName' is null or not an object
in
_onInputPropertyChange:function(){if(!event.propertyName){event=event.rawEvent;
}if(event.propertyName=="value"){var c=this.get_text();  

//Microsoft JScript runtime error: 'type' is null or not an object
in
b=this.type=a.type.toLowerCase();   
and so on.
Also in openlayers and other javascript files getting null reference errors like this.


Web.config configuration is OK
<httpHandlers>
   <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false"/>
</httpHandlers>

<
system.webServer>     
<handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" 
       path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
 </handlers>
</system.webServer>

After these error occured I rereference old telerik.web.ui.dll 2010.3.2015. But problem is still going

These errors occures at internert explorer 8. Firefox and chrome dont gives error but maps are not working properly.
I recognize that,
Internet exporer 8 accepts global javascript defines null like :
var event = []; //global
when pass event to a function exporer 8 accepts null but other browsers accepts initialized as empty not null.

Is it possible a conflict telerik and other javascripts.All the system as same before upgrade process.It had been working properly but now we are in stuck , we didnt find any solution.


Thanks.
Maria Ilieva
Telerik team
 answered on 30 Aug 2011
1 answer
50 views
Hi,

I'm currently converting a big range of old MS Access databases based on SQL 97 to a web based interface. As upgrading/changing the SQL 97 server is out of the question, Linq (as well as entity framework etc) seems to be out of the question (unless you know any way to get this working?).

As we will need a large range of reuse, like simple editable tables, we wanted to make generic configurable controls. However it seems to me that the editable columns are a bit tedious and error prone to parse.

As for parsing the values of the editable column, the best (and only) example I found in your demos was this : http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editmodes/defaultcs.aspx

What I ideally would have wished for, was an easy way to access SQL rowtype, rowname and the new and old values as objects, such that I could easily insert everything chosen as old and new values in parametrized SQL, and leave the rest up to the SQL server.

However, it doesnt seem that I can find the SQL datatype, and parsing and ensuring no failure for all possible datatypes, will end up prooving quite tedious for a generic web control.

Do you have any experience, guides or ideas on how to best create generic dataupdating without the use of Linq?
Morten
Top achievements
Rank 1
 answered on 30 Aug 2011
1 answer
212 views
Hi,

Assume end user is trying to copy content from MS word and pasting into rad editor.

When he Right clicks and choose From MS word or use Ctrl+V , how to prevent him from copying

1.Any inserted files or any other objects from MS Word.
2.Tables in MS Word
3.Forecolor/backcolor information
4.Any hyperlinks

But he should be able to copy
1.Text with Fonts specific to what can be chosen from the RAD editor dropdown.
2.Text with Font size specific to what can be chosen from the RAD editor dropdown.
3.Normal formatting like Bold/Italic/Underline,alignment,bulleting etc.

Please help with this as this is very urgent.

Thank you.



Rumen
Telerik team
 answered on 30 Aug 2011
2 answers
96 views
Hi

I am evaluating RADGRID for my client who needs a plugin table/grid where he can insert/delete/edit rows and columns. He don't to do any coding. He just want to drag and drop the control with standard properties enabled which should allow him to do these operation binding to the database.

I thought RADGRID may be good fit but when I see examples it seems there are lot of code binding needed in both client and server side. At the same time I also saw some things about codeless insert/delete/update but I tried addig properties like below without any code and nothing happens. I don't get any edit functionality in the grid. What am I missing on codeless operations? 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" AllowPaging="true" PageSize="25" ShowStatusBar="true">

<PagerStyle AlwaysVisible="true" />

 <MasterTableView AutoGenerateColumns="true" EditMode="InPlace" />

 </telerik:RadGrid>

I check out the below articles and everything needs big chunk of code to make the manipulation work.
http://www.telerik.com/help/aspnet/grid/grdeditmodeinplace.html
http://www.telerik.com/help/aspnet/grid/grdinsertingvaluesinplaceandeditforms.html


I need a plug and play kinda of control for client to work without any big coding.

Vijai

 

Vijaianand
Top achievements
Rank 1
 answered on 30 Aug 2011
1 answer
75 views
Hello,

I just wanted to bring this to your attention if it has not been already. It appears that when you apply Text Alignment to the text within your RadEditor, it will work until you switch Content Modes. After switching to say, HTML mode and back to Design mode, highlight the same portion of text(or all of the text, does not matter) and click any of the Text Alignment buttons again, and you will notice that nothing will happen.

You can easily reproduce this on your Editor Demo page: Telerik RadEditor Demo

So is there a fix out for this? or some type of workaround? It seems kind of silly to only be able to align text prior to switching Edit Modes and then being unable to afterwards.

Thanks in advance!

-Andrew

PS: This has been reproduced in Firefox 5.0+ & IE 8+
Rumen
Telerik team
 answered on 30 Aug 2011
7 answers
226 views
I have a RadEditor set up. Is there a way to insert a sort of five spaces into an area which is a bullet point? Whenever I try to accomplish this it always creates the secondary bullet point and the spaces. I need the line's point to stay the same, but the spaces inserted. Posted below is the editor itself, and the javascript function I've found on the forums to insert five spaces.

editor
                    Product Description: <br /> 
                    <span style="font-family: Arial; font-size: 12pt;"
                        <telerik:RadEditor id="ProductDescription" runat="server" Width="700px" Height="800px" 
                            Skin="WebBlue" ToolsFile="~/Includes/BasicTools.xml" OnClientLoad="OnRadEditorClientLoad" 
                            EditModes="All"
                            <SpellCheckSettings AllowAddCustom="true" DictionaryLanguage="en-US" DictionaryPath="~/App_Data/RadSpell" SpellCheckProvider="EditDistanceProvider" /> 
                            <CssFiles> 
                                <telerik:EditorCssFile Value="~/Includes/EditorContentArea.css" /> 
                            </CssFiles> 
                        </telerik:RadEditor>  
                    </span> 
                    <br /> 
 
 
 


javascript
         function OnRadEditorClientLoad(editor, args) { 
             //attach to the onkeydown event, check whether the tab key is pressed and paste &nbsp; in the editor 
             editor.attachEventHandler("onkeydown"function(e) { 
                 if (e.keyCode == '9') { 
                     editor.pasteHtml("&nbsp;&nbsp;&nbsp;&nbsp;"); 
                     if (!document.all) { 
                         e.preventDefault(); 
                         e.preventBubble(); 
                         e.stopPropagation(); 
                     } 
                     else { 
                         e.returnValue = false
                         e.cancelBubble = true
                     } 
                 } 
             }); 
         } 


Any help is appreciated...
ranganadh
Top achievements
Rank 1
 answered on 30 Aug 2011
3 answers
97 views
Hello,
I would like to change the color of the grids to black.
In the picture attached, the grids are unvisible...

Can you help me?

Thank you in advance.


Cordialy,
Françoi.
Evgenia
Telerik team
 answered on 30 Aug 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?