Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
146 views
is it possible to set 100% height on the panelbar for MultipleExpandedItems. I want a UI style in which i have a panelbar occupying 100% height with multipleexpandeditems mode. There can be 2-3 panelitems inside that and inside each panelitem there would be a treeview control which should also occupy 100% height of that panelitem. In such a way that scrollbars of treeview are visible and not of the panelitem. I tried but somehow 100% was not working. Is this a known limitation or any workarounds exists?
Peter
Telerik team
 answered on 05 Apr 2012
4 answers
183 views
Hi!

We customized the button by modifying the ButtonSprites file with the below CSS. Everything seems to work for the most part, but we can't seem to get access to the image at the right. CustomizedSearchButton.PNG shows the result of the CSS change (using the file ButtonSprites.png as the background.) We did attempt to see where the button is pulling from in the file ButtonSprites2.png -- however, it appears that the right side of the button does not use any part of this file. We did skin the app with the Windows 7 theme, but we want to override the background image.

Is this possible? Where is it pulling the right side of the button from?

Thanks!
Michael

.button .rbSkinnedButton,
.button .rbDecorated,
.button .rbVerticalButton,
.button .rbVerticalButton .rbDecorated,
.button .rbSplitRight,
.button .rbSplitLeft
{
    background: #EBEFF3 url('/Images/ButtonSprites.png') no-repeat 0px !important;
}
Bozhidar
Telerik team
 answered on 05 Apr 2012
1 answer
140 views
Hi,

we evaluate the use of the RadEditor in our SharePoint-Site. How can I set the localization to German? I've seen many code snippets how to set the language in aspx-files, and tried to mimic this in the config files, but adding the following line to the ListConfigFile and the ConfigFile did not have the indended result:

 <property name="Language">de-DE</property><BR>

Is there another way for setting the localization?

Thanks for your help.

Phil
Rumen
Telerik team
 answered on 05 Apr 2012
2 answers
168 views
Hi. I am currently using the following version of the Telerik Asp.Net Ajax Controls.
Latest Version: 2008.1 619 (Jun 19, 2008)

We have developed a site for a number of customers, which has been running with no problems that we are aware of. Our largest customer has decided to opt in to an extra feature of the site which was developed with Ajax and the Ajax tools, and are not having any luck.

They are a large financial institution and all of their web access is through IBM's Tivoli Access Manager and WebSEAL.

We have ascertained that if they access the site directly and do not go through WebSEAL, the site will run fine. We are struggling to assist because we do not have any environment to replicate this, and we cannot replicate the error.

I am hoping that perhaps someone in Telerik or another client will have had an issue similar to this in the past and may be able to offer assistance either for something we could change in our code, or they could change in Tivoli, which would enable the Telerik controls to work ok.

The specific error they are encoutering is as follows (I have had to doctor some information out).

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.4506.2152; InfoPath.2)
Timestamp: Thu, 14 Jan 2010 02:12:34 UTC


Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
Line: 2315
Char: 38
Code: 0
URI: https://(url)/scorecards/ScriptResource.axd?d=R0bFhK1fXkO_u_1ND_MnI5zGjo6qe9AMiWiYcDgZMvcQqcFKSMcWnN6Rg15M424TRdoMj3jGo0oG1Klx1GKwh4XtmtKTKJU_AonPyESlIck1&t=29b7d1be


Message: Sys.ScriptLoadFailedException: The script 'https://(url)/ScriptResource.axd?d=-CpKS_w9Jn52W9DEhyeaJlJbUB34Wy82Vmu1hMRS_hkCWRHHuhZJnVMIMw2AQuSC0&t=344eddc1' failed to load. Check for:
 Inaccessible path.
 Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
 Missing call to Sys.Application.notifyScriptLoaded().
Line: 1266
Char: 13
Code: 0
URI: https://(url)/scorecards/ScriptResource.axd?d=R0bFhK1fXkO_u_1ND_MnI5zGjo6qe9AMiWiYcDgZMvcQqcFKSMcWnN6Rg15M424Twx3LUtPeER_Er6qayxuF1YZzRzExihQwafjYTIDKizqHvytkxF1Dmlxk-efuErtS0&t=29b7d1be

Kind Regards,
Mike
Erik
Top achievements
Rank 1
 answered on 05 Apr 2012
1 answer
126 views

Hi,

For many grids in our project, there are around 40 columns, so we were trying to use the gridpersister to save the settings for individual user, so that the user can customize the number of columns they want to see everytime.
Saving and loading grid setting works fine. The problem is when the user tries to hide thie column from the header contextmenu, the arrangement of the columns are lost. I have used wrap="false" for Column header and Item properties in the gid. After hiding 1 or 2 column, most of the headers and coluns are wrapped.
The problem is very prominent in IE7, almost all the columns and all the row data are wrapped. I am using the following code for columns. I cannot use fixed width header as my coulmn values vary from 40 to 400 characters and I don't want white space in the column.



<HeaderStyle VerticalAlign="Bottom" HorizontalAlign="Left"  />
<ItemStyle Wrap="False" VerticalAlign="Top" HorizontalAlign="Left"/>
Please suggest what to do.
kachy
Top achievements
Rank 1
 answered on 05 Apr 2012
1 answer
143 views
Hi i am looking for the functionality on the client side for the Editor from which i can get the exact character count of the Characters if its in HTML mode (i.e mode = 2).
i have used

var

oValue = Editor.get_html(true).trim();    ----(a)
-In this case oValue.length is showing the result which is a count of text entered by user as well as the html tags included.
also i have tried var oValue = Editor.get_text(true).trim();     ----(b)
-In this case we are getting the plain text count text count    

eg: if i enter: B
                b
(text is bolded just to distinguish)I shud get count = 3 as we get in MS word if we check. but from (a) and (b) we get diffrent result. This is creating trouble with our QA as we are not getting things approved due to this :(. Can anybody help me on this.
  
Thanks.

 

Rumen
Telerik team
 answered on 05 Apr 2012
3 answers
138 views
Hi,
I have a RadGrid which has NestedHierarchy set up. I also have edit functionality associated to grid rows.

<Columns>
    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" EditText="Rename Favourite" HeaderStyle-Width="15px">
        <ItemStyle CssClass="edit-grid-controls" />
    </telerik:GridEditCommandColumn>
    <telerik:GridTemplateColumn HeaderText="Name" UniqueName="Name">
        <ItemTemplate> 
<%# Eval("Name") %> </ItemTemplate>
        <EditItemTemplate><asp:TextBox ID="txtFavouriteName" runat="server" Text='<%# Eval("Name") %>' Width="100%" MaxLength="256" />
        </EditItemTemplate>
    </telerik:GridTemplateColumn>
    ... more columns ...
</Columns>

1. Since the time this grid was converted to a nested self referencing hierarchy table, the Name is displayed twice!
2. If I remove UniqueName attribute, the data wont show up.
3. If I remove ItemTemplate, things are fine until I attempt for an edit thru "GridEditCommandColumn".
4. Please have a look at the attached images. Image ending with right is for "normal" radgrid. Image ending with "wrong" is for nested hierarchy grid. When in edit mode, I don't want to display values twice.
Andrey
Telerik team
 answered on 05 Apr 2012
1 answer
121 views
So I'm trying to use a RadWindowManager in conjuction with an appointment insert. So far I have the following:

VB Code-Behind:
Protected Sub RadScheduler1_AppointmentInsert(sender As Object, e As Telerik.Web.UI.AppointmentInsertEventArgs) Handles RadScheduler1.AppointmentInsert
            RadWindowManager1.RadConfirm("Server radconfirm: Are you sure?", "confirmCallBackFn", 330, 100, Nothing, "Server RadConfirm", Nothing)
End Sub

Javascript functions:
<script type="text/javascript">
    function schedulerFormCreated() {
            $telerik.$(".rsRecurrenceOptionList li:eq(4)").hide(); 
    }
      
        function confirmCallBackFn(arg)
    {
         return arg;
    }
      
    function OnClientAppointmentInserting(sender, eventArgs)
  {
    if(confirmCallBackFn())
        {
         eventArgs.set_cancel(false);
        }       
            else { eventArgs.set_cancel(true);
        }
  }
  
</script>

The problem I seem to be having is that the radconfirmation window isn't even being called upon appointment insert, therefore the javascript function is returning a null or undefined value. If the radconfirm is not even being displayed, I can't pass the true or false value on to the inserting client event in order to go ahead and insert or cancel the insert. Anybody have any insight or have a working version of this? Any help would be greatly appreciated!
Plamen
Telerik team
 answered on 05 Apr 2012
6 answers
232 views
Hi,

We have noticed the following behaviour:
Scenario:
1) Set the new line mode to paragraph
2) Enter some line, for example "First Line", and press Enter
3) Go to HTML view
Perform this actions in IE and Chrome.
HTML view in IE:
<p>New Line</p>
<p>&nbsp;</p>
HTML view in Chrome:
<p>New Line</p>
<p><br />
</p>

Why is the mark-up different in this browsers? Is this the expected behaviour or such kind of a bug?

Best regards,
Roman
Rumen
Telerik team
 answered on 05 Apr 2012
2 answers
1.5K+ views
Hi guys, I was hoping you could provide some advice on setting the value of a RadNumericTextBox.

I have another control (dropdown) that when changed needs to update the RadNumericTextBox.

The javascript is firing and returning the current value as per below.

var txtTypeSelected = window["<%=txtOffsetPeriod2.ClientID %>"];
alert(txtTypeSelected.value);

However when I then try to set a new value this doesn't appear on screen as the control has had its id set as txtOffsetPeriod2_text.

txtTypeSelected.value = 1;

Is there another way I can set the RadNumericTextBox value when the function is called by another controls change event?

Thanks for the help.
Jibber4568
Top achievements
Rank 1
 answered on 05 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?