Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
103 views
Hi all,

I have web site to be localize (English and Arabic)
in radcombobox i add this property dir=rtl
and it work switching between ltr and rtl
but the drop down list can not switch from ltr to rtl in all skins except Default skin

in other words
rtl work for Default skin  only
Mohamed
Top achievements
Rank 1
 answered on 03 Jun 2008
1 answer
410 views
Hello,

I was wondering if someone could attach an example of how I can change the icon of a radalert object. I have looked at the WIndow_DynamicTemplate example project, but for the life of me, I can't even get it to run.

I am using the method to call my radalert from within an AJAX.NET update panel if that helps anyone.
I am also calling radalert from my code-behind as such:
Dim scriptstring As String = "radalert('<b>" + Message + "</b>!', 200, 210, '" + messageType.ToString + "');" 
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "radalert", scriptstring, True) 

And the error messages I get when trying to run the sample project are as follows:
Error 2 Could not load type 'RadWindow1.Window_DynamicTemplate._Default'. C:\Documents and Settings\walkem\Desktop\057032_Window_DynamicTemplate\Window_DynamicTemplate\Default.aspx 2 

Error 3 Could not load type 'RadWindow1.Window_DynamicTemplate.AlertTemplate1'. C:\Documents and Settings\walkem\Desktop\057032_Window_DynamicTemplate\Window_DynamicTemplate\AlertTemplate.ascx 1 

And 1 warning:
Warning 4 Attribute 'Codebehind' in the @ Page directive is no longer supported. Convert this page to the new code-behind model by opening the Web site (project) containing the page in Visual Web Developer. C:\Documents and Settings\walkem\Desktop\057032_Window_DynamicTemplate\Window_DynamicTemplate\Default.aspx 2 24 C:\...\Window_DynamicTemplate\
Georgi Tunev
Telerik team
 answered on 03 Jun 2008
1 answer
79 views
I've got a Textbox within a Radtoolbar for a search functon... almost exactly the same as this example here:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Toolbar/Examples/Functionality/FirstLook/DefaultVB.aspx

Now, if you type in say:

'ggoogle', then decide you have one too many 'g's there.... just press the left arrow and watch what happens....!!

Atanas Korchev
Telerik team
 answered on 03 Jun 2008
1 answer
151 views
How can I disable resize editor from client, in order to user cannot resize editor?
Rumen
Telerik team
 answered on 03 Jun 2008
4 answers
146 views
Strong reprodusing of crash during submiting data
If I removing RadAjaxManager - everything goes ok. when it using  - application crashing.

RadControls for ASPNET AJAX Q1 2008


           <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="rgEditGrid">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="rgEditGrid" />
                            <telerik:AjaxUpdatedControl ControlID="phError" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>

<

telerik:RadGrid ID="rgEditGrid" ........ </telerik:RadGrid>

<

asp:PlaceHolder ID="phError" runat="server"></asp:PlaceHolder>


Error description:
 

Server Error in '/' Application.

Value cannot be null.
Parameter name: key

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: key

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: key]
   System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) +41
   System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +2667593
   System.Collections.Generic.Dictionary`2.ContainsKey(TKey key) +4
   Telerik.Web.UI.RadAjaxControl.CreateUpdatePanel(Control initiator, String eventName, Control updated) +582
   Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object sender, EventArgs e) +1478
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +2117788
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Sergey
Top achievements
Rank 1
 answered on 03 Jun 2008
2 answers
326 views

Hi everyone,

I have a problem with ServerSideCallback. I want to modify some properties of the node which fired the NodeExpand event in the same one.

        protected void RadTreeView1_NodeExpand(object sender, RadTreeNodeEventArgs e)  
        {  
            IList<EntityTypeDataContract> list = GetList(e);  
 
            if (list.Count > 0)  
            {  
                foreach (EntityTypeDataContract type in list)  
                {  
                    RadTreeNode treeNode = new RadTreeNode(type.DisplayName, type.Value);  
                    treeNode.Expanded = false;  
                    treeNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;  
                    e.Node.Nodes.Add(treeNode);  
                }  
            }  
            else  
            {                  
                e.Node.Expanded = false;  
                e.Node.ExpandMode = TreeNodeExpandMode.ClientSide;  
            }  
        } 

The problem is until there will be a postback on the page, the state of the triggering node is not change (Expanded = true and ExpandMode = ServerSideCallback). It seems there is no refresh of the already created node during the callback ?

This sample of code works well with ServerSide expand mode but I really need the ServerSideCallBack mode.

Thanks for helping me to solve this problem.

Regards,
Sebastien
VANDENBERGHE
Top achievements
Rank 1
 answered on 03 Jun 2008
1 answer
121 views
When i preview the code in the editor i can see that the code is XHTML compliant eg: <br /> However when i look in SQL Server the code is as it used to be preinstallation of the editor, non-XHTML compliant eg: <br>.

Has anyone experienced this or have any ideas as to how i can ensure that the code i see in the editor is stored what will be written to the Sharepoint database. Are there any settings i may need to set up.

Setup : MOSS 2007, SQL Server, editing on an Announcement List
George
Telerik team
 answered on 03 Jun 2008
1 answer
63 views
When i preview the code in the editor i can see that the code is XHTML compliant eg: <br /> However when i look in SQL Server the code is as it used to be preinstallation of the editor, non-XHTML compliant eg: <br>.

Has anyone experienced this or have any ideas as to how i can ensure that the code i see in the editor is stored what will be written to the Sharepoint database. Are there any settings i may need to set up.

Setup : MOSS 2007, SQL Server, editing on an Announcement List
George
Telerik team
 answered on 03 Jun 2008
2 answers
173 views
I have a WebUserControl with a RadGrid (Prometeus) in it, and I set the ScrollHeight to 100%. But, didn't occupied the 100% of the container. In the webpage that include my webusercontrol, I have a Asp:Panel that contain the ebUserControl. I tried several codes I've found in the forum and the Code Library, but nothing works for me. 
Also, I have set a fixed ScrollHeight and its works, but I would like to set this property to a variable dimension.

What can I do?
Thanks in advance. 
Sebastian
Top achievements
Rank 1
 answered on 03 Jun 2008
2 answers
114 views
Hi

I am using a RadTextbox, mode set to multiline

<telerik:RadTextBox ID="keywordBox" runat="server" Height="85px" InvalidStyleDuration="100" 
                            MaxLength="299" OnLoad="keywordBox_Load" Text='<%# Bind("Keywords") %>' TextMode="MultiLine" 
                            Width="200px"> 
                        </telerik:RadTextBox> 

Problem is that it still allows me to type in text above the MaxLength value of 299,

Any help would be appriciated
Dimo
Telerik team
 answered on 03 Jun 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?