Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
166 views
I have a tree view and I dynamically add textboxes to some nodes. See the code below. I have upgraded to the latest Q3 release thinking that might fix it, no dice.

The tree and textboxes render fine. The problem is a user cannot use the mouse or any other method of selecting all the text in the text box. It appears the tree intercepts the events the textbox is firing, I'm not sure.

How do I allow a user to select text in the text box?

public void InstantiateIn(Control container) {

var 

 

factTextBoxControl = new TextBox {

 

ID = container.UniqueID +

"RadTextBox",

 

 

SkinID =

"treeTextBox",

 

 

Width =

Unit.Pixel(FactGridTemplateBuilder.Width),

 

 

Text = node.Value,
EnableViewState =

false

 

 

 

};

 

 

 

 

factTextBoxControl.Text = Context.FactValue.Value;

node.Controls.Add(factTextBoxControl);

}

Yana
Telerik team
 answered on 19 Dec 2008
4 answers
142 views
We are using RadEditor Provider (Telerik.DNN.Modules_2008_3_1125_dev.zip) in DNN 4.9.0.
When we try in IE to Paste Plain Text in the middle of some edited text it always put pasted text in the start of edited text. So in wrong place. Not in the position where the text cursor was.
Normal Paste is putting pasted text in expected place.
Please advise?
Kind regards
Tonci
Tonci
Top achievements
Rank 2
 answered on 19 Dec 2008
5 answers
173 views
Hi,

I have just installed the latest full featured MOSS editor solution, activated the list feature on my web and editing standard lists is all working fine. However, I do have a number of DataView webparts on my site that use the "Show edit item links" option from the "Editing" tab on the "Data View Properties" window in SharePoint Designer. While clicking the edit button on these sites correctly shows the RadEditor, whenever you click save or cancel, a script error is produced at the following line (taken from debuggin with VS 2008):

(Error Message: Microsoft JScript runtime error: 'null' is null or not an object)

Line:
Sys.Application.add_load(function() {var editor = $find('ctl00_m_g_a7b17821_65b3_4247_857b_aa304dd6fef4_ff2_1_ctl00_ctl00_RadTextField1');editor.add_submit(OnSubmit_ctl00_m_g_a7b17821_65b3_4247_857b_aa304dd6fef4_ff2_1_ctl00_ctl00_RadTextField1);});

I should add that when clicking save, it does actually save the field properly and cancel does nothing as you'd expect. On most client machines script debugging would be disabled so in theory the problem wouldn't be that noticeable, but I'd like to understand and prevent this from happeing if possible...

Dan.
Stanimir
Telerik team
 answered on 19 Dec 2008
1 answer
92 views
My company bought the Telerik controls for asp.net ajax I believe and I was curious how we can get the full featured rad editor for MOSS or is this a seperate purchase?  I downloaded the trial version to test out in a MOSS environment and it worked nicely and also curious if the developer version is deployed in the same manner the trial is via a wsp file. 

Thanks,
Michael

Edit:  Talked to the guy who purchased it and tracked down the download.
Stanimir
Telerik team
 answered on 19 Dec 2008
9 answers
184 views
Hi,

We are using a treeview inside combobox and it is working such a way that the child nodes will be populated only on click of parent nodes. That is working fine. What we need is we want the treeview to be populated only on combobox click. How we can acheive that?

Regards,
Jincy
Simon
Telerik team
 answered on 19 Dec 2008
4 answers
195 views
Hi,
I seem to be missing intellisense in the asp.net markup. The Telerik dll and xml files are in the bin directory and a RadScriptManager is on the page. I don't even see $find() until I add an MS ajax manager to the page.

Here is the web config for sample:
<?xml version="1.0"?>  
<configuration> 
    <configSections> 
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>  
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                </sectionGroup> 
            </sectionGroup> 
        </sectionGroup> 
    </configSections> 
    <appSettings/> 
    <connectionStrings> 
  <add name="DatabaseConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" 
   providerName="System.Data.SqlClient" /> 
 </connectionStrings> 
    <system.web> 
        <!--   
            Set compilation debug="true" to insert debugging   
            symbols into the compiled page. Because this   
            affects performance, set this value to true only   
            during development.  
 
            Visual Basic options:  
            Set strict="true" to disallow all data type conversions   
            where data loss can occur.   
            Set explicit="true" to force declaration of all variables.  
        --> 
        <compilation debug="true" strict="false" explicit="true">  
            <assemblies> 
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies> 
        </compilation> 
        <pages> 
            <namespaces> 
                <clear/> 
                <add namespace="System"/>  
                <add namespace="System.Collections"/>  
                <add namespace="System.Collections.Generic"/>  
                <add namespace="System.Collections.Specialized"/>  
                <add namespace="System.Configuration"/>  
                <add namespace="System.Text"/>  
                <add namespace="System.Text.RegularExpressions"/>  
                <add namespace="System.Linq"/>  
                <add namespace="System.Xml.Linq"/>  
                <add namespace="System.Web"/>  
                <add namespace="System.Web.Caching"/>  
                <add namespace="System.Web.SessionState"/>  
                <add namespace="System.Web.Security"/>  
                <add namespace="System.Web.Profile"/>  
                <add namespace="System.Web.UI"/>  
                <add namespace="System.Web.UI.WebControls"/>  
                <add namespace="System.Web.UI.WebControls.WebParts"/>  
                <add namespace="System.Web.UI.HtmlControls"/>  
            </namespaces> 
            <controls> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            </controls> 
        </pages> 
        <!--  
            The <authentication> section enables configuration   
            of the security authentication mode used by   
            ASP.NET to identify an incoming user.   
        --> 
        <authentication mode="Windows"/>  
        <!--  
            The <customErrors> section enables configuration   
            of what to do if/when an unhandled error occurs   
            during the execution of a request. Specifically,   
            it enables developers to configure html error pages   
            to be displayed in place of a error stack trace.  
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">  
            <error statusCode="403" redirect="NoAccess.htm" /> 
            <error statusCode="404" redirect="FileNotFound.htm" /> 
        </customErrors> 
        --> 
        <httpHandlers> 
            <remove path="*.asmx" verb="*"/>  
            <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
            <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
            <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
            <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1107.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>  
        </httpHandlers> 
        <httpModules> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
        </httpModules> 
    </system.web> 
    <system.codedom> 
        <compilers> 
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
                <providerOption name="CompilerVersion" value="v3.5"/>  
                <providerOption name="WarnAsError" value="false"/>  
            </compiler> 
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
                <providerOption name="CompilerVersion" value="v3.5"/>  
                <providerOption name="OptionInfer" value="true"/>  
                <providerOption name="WarnAsError" value="false"/>  
            </compiler> 
        </compilers> 
    </system.codedom> 
    <!--   
        The system.webServer section is required for running ASP.NET AJAX under Internet  
        Information Services 7.0.  It is not necessary for previous version of IIS.  
    --> 
    <system.webServer> 
        <validation validateIntegratedModeConfiguration="false"/>  
        <modules> 
            <remove name="ScriptModule"/>  
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
        </modules> 
        <handlers> 
            <remove name="WebServiceHandlerFactory-Integrated"/>  
            <remove name="ScriptHandlerFactory"/>  
            <remove name="ScriptHandlerFactoryAppServices"/>  
            <remove name="ScriptResource"/>  
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
        </handlers> 
    </system.webServer> 
    <runtime> 
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>  
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
            </dependentAssembly> 
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>  
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
            </dependentAssembly> 
        </assemblyBinding> 
    </runtime> 
</configuration> 
 

Any ideas?

Thanks, Burl
Ivo
Telerik team
 answered on 19 Dec 2008
1 answer
126 views
We have custom code in the client side OnDayRender event to disable all days except Mondays for certain situations. My problem is that this code runs when a month changes (causing a re-draw of the calendar), but it doesn't fire when the calendar initially loads upon the page loading. So, initially the non-Mondays are improperly enabled. Once I start navigating around, this code gets fired and I'm all good.

Is there a reason why this isn't fired initially. Is there a different event I can tap into to execute this same code for the initial month?

Thanks!

Jeff
Vlad
Telerik team
 answered on 19 Dec 2008
1 answer
204 views
Hi all,
Does anybody know client function of FileExplorer to refresh current folder content.
Please and thanks
Duy
Lini
Telerik team
 answered on 19 Dec 2008
1 answer
140 views
Hi Telerik,
exists somewhere a list of the tags, they are not able to convert to pdf?
For example the <table> tag seems not working.

Thanks and best regards,
Andreas
Rumen
Telerik team
 answered on 19 Dec 2008
3 answers
224 views
Hello,
Is there a way I could naviguate the grid filter menu with my keyboard?

The scenario would be something like this:

- Enter my filtering expression in the filter textbox of the grid
- Press "Tab" so I move focus on the filter button
- Press "Enter" so it opens the filter menu
- Navigate to the desired filtering option using keyboard
- Press "Enter" to perform filtering.

I tryed to move the focus on the filter menu div using javascript but I couldn't do it for some unknown reasons.

Any one have a solution for this ?
Thanks alot!
Iana Tsolova
Telerik team
 answered on 19 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?