Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
1.0K+ views
Good day.
I try use Client Side of RadTextBox. I need take text from one radtextbox, do changes and set new text into the second radtextbox during user press any key in the first radtextbox.
But behavior is little strange. I use get_value and set_value methods to get and set text from/into radtextbox.
But first, I can't take full text from textbox (last symbol is always missing)
Second, set_value doesn't always update text into radtextbox.
Third, it causes validation error.

Could you please advise how I can make it?

Thanks.

P.S. I can't attach zip file, so I've inserted my code below

<telerik:RadCodeBlock ID="dfg" runat="server">
    <script type="text/javascript">
        function KeyPress(s, e) {
            var v = s.get_value();
            var l = v.replace(',','');
            var ctrl = $find("<%=txtSecond.ClientID %>");
            ctrl.set_value(l);
        }
    </script>
</telerik:RadCodeBlock>
<div>
    Enter some text here <telerik:RadTextBox ID="txtFirst" runat="server" EmptyMessage="Message">
        <ClientEvents OnKeyPress="KeyPress" />
    </telerik:RadTextBox>
    <asp:RequiredFieldValidator ID="wer" runat="server" ControlToValidate="txtFirst" ErrorMessage="*"
        ForeColor="Red" ValidationGroup="gr" SetFocusOnError="true"></asp:RequiredFieldValidator>
    <br /><br />
    Enter some text here <telerik:RadTextBox ID="txtSecond" runat="server" EmptyMessage="Message">
    </telerik:RadTextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSecond" ErrorMessage="*"
        ForeColor="Red" ValidationGroup="gr" SetFocusOnError="true"></asp:RequiredFieldValidator>
    <br /><br />
     
    <telerik:RadButton ID="btnPostBack" runat="server" Text="Postback" ValidationGroup="gr"></telerik:RadButton>
</div>
Evgeniy
Top achievements
Rank 1
 answered on 16 Aug 2012
1 answer
98 views

Hello,

I have a problem with adding pl-PL Dictionary - downloaded from comunity supplied Dictionaries provided on this forum - here. The version of RadEditor I am using is : 6.3.0.0. I have added in the ToolsFile.xml located in :

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources

the following code:

 

<languages>
<language code="en-US" title="English (United States)" />
<language code="pl-PL" title="Polish (Poland)" />
</languages>

I have also added pl-PL dictionary to :

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources\App_Data\RadSpell

In my web.config file I have added:

<add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2012.1.327.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2012.1.327.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

in httpHandlers section.

According to the documentation that should do, still I am receiving an error in javascript dialog when trying to check spelling using Polish language saying that application error has occured, suggesting that I should set customErrors to Off, to see details. Unfortunatly my customErrors setting is currently set to Off so I cant enable more details with this error. Searching for this error on this forum however led me to possible reason that might be proble with inability to load the dictionary file I am providing. Therefore my question is, if I should do anything else to configure the AjaxSpellCheck feature correctly?


Rumen
Telerik team
 answered on 16 Aug 2012
1 answer
95 views
Hi.
I'm using AsyncUpload in Project . I put it in a userControl and load it dynamically in webpage .
there is a problem when load usercontrol dynamically , after I try to Upload a file the asyncUpload doesn't work . in Firebug show an error that says " Access is Deny to the path ".
when I load the UserControl statically I don't have any Problem .
how can I do ?
thanks .
Peter Filipov
Telerik team
 answered on 16 Aug 2012
1 answer
90 views
HI,

 My requirement
I have radGrid with Edit form templte in mode == PopUP
In Template I need asp.net file uload control to upload the file  and datlist to show the uploaded file.
after upload as shown in image




Datalist control having the remove button also if user want to remove that.
I am literlly strugling to create this scenario any body from telerik please give solution quickly.

Thanks.
Kostadin
Telerik team
 answered on 16 Aug 2012
3 answers
102 views
I'm not getting a calendar control when clicking the down arrow on End by recurrence option. Don't see it on your demo either. Is this intentional?
Helen
Telerik team
 answered on 16 Aug 2012
2 answers
120 views
Hi,
I want a tooltip to appear whenever you hover over a row in my radgrid to tell you to "double click the row for more info". I've got this working simply by setting the TargetControlID of a tooltip to the radgrid - great!

However I have a nested template view so each row expands to show more detail. When they expand the row I don't want want the tooltip to appear. It does. The nested view template has a div in which I tried to add a mouseover event to hide the tooltip but that doesn't work.

Any suggestions how I can do this please?

thanks

Karl
Karl
Top achievements
Rank 1
 answered on 16 Aug 2012
4 answers
311 views
I set the code is as below, the question is that why I still can see other file type while open file dialog?
  <FileFilters>
                        <telerik:FileFilter Description="Microsoft Office Document" Extensions="doc,docx" />
 </FileFilters>
Peter Filipov
Telerik team
 answered on 16 Aug 2012
1 answer
458 views
I want to add a custom objects to the RadListView from the server in a way that I will add some items initially, do Response.Flush and then continue adding some other. This is to improve the initial load time of the items. Does ListView provide this feature out of the box ?
Tsvetina
Telerik team
 answered on 16 Aug 2012
4 answers
204 views
What is the right way to implement timed updates of web user controls in dynamically created docks?
Every web user control is loaded in it's own dock and the dock/user control should be updated with a specific interval.
Every dock/user control should have various update intervals.

Any ideas?

Thanks.

/Thomas
Thomas
Top achievements
Rank 1
 answered on 16 Aug 2012
4 answers
247 views
I'm using a RadTreeList which has AllowLoadOnDemand set to true.  Everything works as expected.  On top of this functionality, we would like the ability to programmatically expand certain items in the RadTreeList depending on the situation.  For example, a user would come into the screen, start expanding nodes, and then save the state of the expansion.  Currently, I am able to retrieve the ID's for the items expanded and store them appropriately, but cannot figure out how to force that specific expansion back to the RadTreeList when the user returns.  It seems that the RadTreeList always starts with only top items and I am unable to programmatically expand to the corresponding ID's since they do not exist yet within the RadTreeList until the user manually expands (calling OnChildItemsDataBind) again to the same state.

Example:
User comes to the screen, alters RadTreeList to expand only certain nodes.  User clicks save (I capture the IDs of the items expanded and store in the db),  Later, user returns to the screen (I retrieve previously expanded nodes) and user expects to see the same expansion when save was clicked. 

Thanks!
Patrick
Top achievements
Rank 1
 answered on 16 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?